AnsweredAssumed Answered

DMA interrupt suddently does not fire

Question asked by Phataas on Jan 21, 2014
Latest reply on Jan 27, 2014 by waclawek.jan
I have quite a big code, I might post it(part of it) at a later point, but first I wanted to ask if anyone can think of any reason why my microcontroller does not fire a DMA interrupt when the only thing I do is remove the debug print? And when I comment it back in again everything works just great!

Debug output is just a simple printf() that uses UART. DMA had nothing to do with the UART, but with the ADC. The DMA is triggered when x number of samples have been sampled and a timer is triggering the sampling. I can see when debugging that the timer ISR is triggered, but DMA is never. I can also confirm that the ADC samples on the timer ISR is actually sampling (looked at data while debugging).

I know this is very general/abstract, but I have been debugging this for days and need some input on what might cause this..

Outcomes