AnsweredAssumed Answered

STM32Cube - SDIO & DMA & FatFs - Not getting interrupts

Question asked by EGol on Apr 2, 2015
I successfully build and run on my target that is based on the STM324x9I-EVAL the FatFS sample project under \STM32Cube_FW_F4_V1.3.0\Projects\STM324x9I_EVAL\Applications\FatFs\FatFs_uSD_RTOS\ after I change the polling mode to DMA (Since I faced writing underrun error before I did this change) so I know my target is working fine with the SDIO in DMA mode.

Now, my problem is that after I integrated the SDIO and DMA into my existing application, that is built under Eclipse, using FreeRTOS and working fine with reading the SDIO before the addition (I need to be able to write to the SDIO as well), the DMA interrupt is not triggered. I can see that the NVIC and DMA registers flags that the writing operation was ended successfully, I checked the handler vectors and it is in place but the handler is not being called.

What could be the problem and how should I trace it?

Thanks,

Eyal 

Outcomes