SD card reading on the Raspberry Pi Pico

I’m pretty excited because I managed to get an SD card working with the Pico. It is, shall we say, “hacky”. But it actually seems to work, so I’m happy. SD cards are a fussy old things, so getting it to work was rather labourious.

LINK

SD card raw example

Read SD cards on Pico. Compatible with Maker Pico out of the box.

Use spi interface ("spi1") as follows:

SCK  GP10
MOSI GP11
MISO GP12
CS   GP15

Limitations:

  • file systems not supported, only raw data
  • read, but not write, blocks
  • single-block read, not multiblock
  • version 2 cards supported, not version 1
  • hard-coded spi pins

Status

2021-05-25 Functional

2021-05-23 started. Not working

References

About mcturra2000

Computer programmer living in Scotland.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s