-
I am using an Adafruit Micro SD SPI or SDIO Card Breakout Board - 3V ONLY with my RPi Pico W! From the Adafruit site:
I have it connected to RPi Pico W:
This is the simple code that I am trying, but I see nothing in the Serial Monitor (unplugging and plugging the board back in).
And, when I say I see nothing - I mean not even the initial Serial.println("Initializing SD card...\n"); Does SPI1 interfere with the Serial? I'm currently using: GP4, GP5, GP6, GP7, GP8 for other purposes. Are there any examples using either SD or SDFS while using SPI1? I basically need open and read (and that's it). Frank |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
You'll need to add a pause of a few seconds, at the beginning of setup(), to give time for the serial output to start working and for the Arduino serial monitor to start responding to it. A popular choice seems to be
Or add a mini blink, running for a set time, to remind you it hasn't got to the good part, yet.
|
Beta Was this translation helpful? Give feedback.
-
Stupidity on my part - I changed the wiring from 3V -> VSYS to 3V -> 3V and everything works as expected. |
Beta Was this translation helpful? Give feedback.
-
Just incase anyone else makes a mistake with this (like I just did) - the following is a working example based on the ARDUINO SD card example but using PICO SPI 1
|
Beta Was this translation helpful? Give feedback.
Stupidity on my part - I changed the wiring from 3V -> VSYS to 3V -> 3V and everything works as expected.