cancel
Showing results for 
Search instead for 
Did you mean: 

DMA transfer complete but interrupt never fires

TDK
Guru

STM32H745

I'm performing a DMA transfer, the TCIF gets correctly set, but the interrupt never fires. I've ensured the TCIE flag is enabled and interrupts are enabled. What am I missing? What else should I be checking?

Attached is a picture from debugging showing TCIE=1, TCIF=1, interrupts enabled, and yet the cpu is sitting in the main thread.

0690X00000Bw6cBQAR.png

If you feel a post has answered your question, please click "Accept as Solution".
1 ACCEPTED SOLUTION

Accepted Solutions
David SIORPAES
ST Employee

Is the actual DMA interrupt enabled with NVIC_EnableIRQ() ?

View solution in original post

2 REPLIES 2
David SIORPAES
ST Employee

Is the actual DMA interrupt enabled with NVIC_EnableIRQ() ?

That's was the problem. I hadn't enabled the interrupt in NVIC. In my haste moving to the STM32H7 and LL, I missed that part of the initialization. Thanks.

If you feel a post has answered your question, please click "Accept as Solution".