2022-04-28 08:56 PM
Hi, Team,
It can running the polling mode function HAL_SD_ReadBlocks successfully in my hardware/software platform. When switching to IDMA mode with HAL_SD_WriteBlocks_DMA, the 1st block data could being read out correctly but without the SDMMC1_IRQHandler being trigged, the software is waiting for the IDMA completion flag and so stopping.
The SDMMC1_IRQn have been set as below.
HAL_NVIC_SetPriority(SDMMC1_IRQn,2,0);
HAL_NVIC_EnableIRQ(SDMMC1_IRQn);
How to slove? Would like to have your advice!
Best Regards,
James