How to detect and count lost interrupts of continuous circular DMA transfers (complete, half complete)?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-22 1:24 AM
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.
Check my STM32 Bootloader - flash your STM32 with AES-encrypted binaries right from web browser!
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-22 1:28 AM
What's wrong with the timer?
Better solution is to design your system so that you never loose those interrupts.
JW
