embassy icon indicating copy to clipboard operation
embassy copied to clipboard

SD card example for rp2040.

Open overheat opened this issue 2 years ago • 1 comments

I found embassy-stm32/src/sdmmc/mod.rs implemention, but not for rp2040. Could we have a SD card example for rp2040?

overheat avatar Jun 19 '23 01:06 overheat

As far as I know, the RP2040 does not have a "native" SDMMC peripheral as opposed to the STM32. Thus support for SD cards would have to be implemented on-top of the SPI peripheral/traits. As far as I am aware, there is a fork of the embedded-sdmmc-rs crate that does precisely that but I am not sure what the current status is.

I toyed around with implementing it myself for the nRF52 based on the official specification here a while back but had issues where some cards would be recognised while others flat out did not work ~~the SD spec is a bit of a nightmare in that regard~~. Performance was not particularly great either.

TilBlechschmidt avatar Jun 19 '23 11:06 TilBlechschmidt