cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect and count lost interrupts of continuous circular DMA transfers (complete, half complete)?

Georgy Moshkin
Senior II

Currently I implemented it using simple counter

uint32 frameCount=0;
...
halfcplt();
{
 frameCount++;
...
}
cplt();
{
frameCount++
...
}

and compare frameCount value to hardware timer value.

I am in search of better solution without using hardware timer.

1 REPLY 1

What's wrong with the timer?

Better solution is to design your system so that you never loose those interrupts.

JW