cancel
Showing results for 
Search instead for 
Did you mean: 

uSD Card on STM32H7B3I-DK

FMarr.2
Associate III

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:
  1. 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?
  2. SD_ClockConfig is compatible with clock settings generated by CudeMx?

Thanks for help

0 REPLIES 0