Hi,
As all my project has been made with support of STMCubeMX, it comes the time to integrate uSD card but some problems came.
- Well, I enabled SDMMMC1, in some STM video I see DMA tab, for this board only 4 tabs. Just choose SD 1 bit .
- FatFs enabled but no BSP
- FreeRTOS USE_NEWLIB_REENTRANT.
- Generated the code despite some warning
- STMCubeMX, for this board has also a sample project, I opened it and spawn in eclipse, to compare to my project and here comes the questions:
- The sample project calls BSP_SD_Init(0) (which calls MX_SDMMC1_SD_Init) , the STCubeMX calls MX_SDMMC1_SD_Init. After Both calls MX_FATFS_Init. What is the correct things to do? Forget STCubeMX for uSD card and import code from sample project?
- SD_ClockConfig is compatible with clock settings generated by CudeMx?
Thanks for help