2021-01-22 01: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.
2021-01-22 01:28 AM
What's wrong with the timer?
Better solution is to design your system so that you never loose those interrupts.
JW