Skip to main content
TDK
January 16, 2020
Solved

DMA transfer complete but interrupt never fires

  • January 16, 2020
  • 2 replies
  • 2564 views

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

This topic has been closed for replies.
Best answer by David SIORPAES

Is the actual DMA interrupt enabled with NVIC_EnableIRQ() ?

2 replies

David SIORPAES
David SIORPAESBest answer
ST Employee
January 16, 2020

Is the actual DMA interrupt enabled with NVIC_EnableIRQ() ?

TDK
TDKAuthor
January 16, 2020

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""."