Using eMMC with an nRF5340 as external storage

Hi,

I want to use an eMMC device (16GB raspikey) with an nRF5340DK to validate if we can use this in our product. To achieve this, I've created a new overlay for the nRF5340DK so I can use it with the littlefs SD card sample. The sample works as expected with a typical SD card, using the raspikey fails with error code 116 (ETIMEDOUT) in  sd_common_init in  sd.c when sd_idle is called. I 've tried replacing CONFIG_DISK_DRIVER_SDMMC with CONFIG_DISK_DRIVER_MMC=y and CONFIG_MMC_STACK=y, and the mmc-entry in the dts with

mmc {
    compatible = "zephyr,mmc-disk";
    status = "okay";
    bus-width = <1>;
};

but the error is unchanged.

The datasheet mentions that version 5.1 of the MMC protocol is supported, but makes no mention of any older protocol versions being supported. I've found several DevZone posts that mention that such recent versions of the eMMC protocol are currently not supported by Nordic. Is this still the case, and if so, does this mean this won't work without writing a custom MMC-driver, or is there something else I'm overlooking?

Thanks in advance!

Parents Reply Children
No Data
Related