2025-02-04 02:18 AM
Hello everybody.
I bought Riverdi STM32 Embedded Display RVT121HVSNWC00-B
I create my first project using touch GFX.
I generate code and import it in STM32CubeIDE.
I format FAT32 a 128G uSD using custom program.
I plug the uSD into adapter and I write this code.
fresult is FS_NOT_READY and I don't understand the reason.
Here my configuration.
I notice in the main that there is FATFS initialization
but I don't find a call to MX_SDMMC1_SD_Init.
If I force this call after FATFS initlization the code run in ErrorHandler, but if I inpect hsd1.SdCard struct I see that card property are read correctly (I believe).
BlockSize x BlockNbr = 128G !! OK
Can someone help me ?
Thanks in advice