embassy
embassy copied to clipboard
SD card example for rp2040.
I found embassy-stm32/src/sdmmc/mod.rs implemention, but not for rp2040.
Could we have a SD card example for rp2040?
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.