cancel
Showing results for 
Search instead for 
Did you mean: 

Why the SDMMC1_IRQHandler can not trig when in IDMA mode read/write by using HAL lib in my STM32H750 project

13603052469
Associate

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

0 REPLIES 0