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.

Disappointed with crowdfunding projects? Make a lasting, meaningful impact as a Tech Sponsor instead: Visit TechSponsor.io to Start Your Journey!
1 REPLY 1

What's wrong with the timer?

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

JW