Need help with STM32L476RG SDIO + FATFS project
- March 25, 2020
- 5 replies
- 2302 views
I have tried communication through SPI by following a lot of youtube tutorials. As there is no ready made library to take care of this through SPI, I decided to give SD mode a try. I am using the STM32L476RG microcontroller that has the SDMMC peripheral. For now, I am trying a simple mount, open, write and close program. I keep getting a FR_NOT_READY as the return value right at the f_mount function. Also, during code generation from cubeMX, I keep getting the following warning:
- These IPs still have some not configured or wrong parameter values: [FATFS, Verify the Platform Settings Tab]
Also, please confirm the SD card wiring. I am using it in SD 1bit mode and so, I assume the only wires I had to connect were Data0, CMD, CLK and power lines.
I am using a Sandisk class 10 8Gb microSD card and I am using 1.3.0 cubeIDE version. I have attached my project (STM32L476RG_USARTtest) here.
