2019-10-25 03:53 AM
I am using CubeMX Version 5.4.0.
I tried MMC 4bit and SD 4bit for SDIO configuration but both did not enable SD card mode for FATFS. What are the exact conditions that need to be fulfilled to allow FATFS using SD card mode?
2019-10-28 06:23 AM
Hello @Erik von Hesse ,
could you please share your ioc file ?
Thanks,
Khouloud.
2019-10-29 01:11 AM
I finally found the reason. I am using FreeRTOS and it seems the SD card mode for FATFS can only be activated if I select CMSIS_V1 interface for FreeRTOS. Once I select CMSIS_V2, SD card mode is no longer vailable for FATFS. Although I can live with that restriction, it would have been nice if CubeMX would have issued a hint or warning.
Anyway, Khouloud, thanks for your care and willingness to investigate this.
2019-10-29 01:15 AM
Dear @Erik von Hesse , with MMC sdio/sdmmc Mode you cannot use the SD card mode for Fatfs, so MMC 4bit will not work.
Only SD modes are considered, so as you said , you have faced a problem also with SD 4bit , so please share your ioc file to now which serie and CubeMX are you using..
Thanks and regards,
Khouloud.
2019-10-29 01:34 AM
2019-10-29 01:48 AM
Already a tooltip (on SD CARD mode) is indicating this limitation (for the moment).
Soon the SD Card mode will be supported even when the CMSIS_V2 is selected.
Best Regards,
khouloud
2019-10-29 01:54 AM
Ah, yes! There is indeed a tooltip :) Ok then the whole thing is a non-issue and I should have read more careful. Thanks a lot for your patience.