Dear sirs!
I need that timer (for example timer 3 or 4) will generate interrupt each 5 ms very precisely with precision of crystal (20 ppm). In 10 hours I cannot allow deviation more than 1 second.
I cannot reload timer registers in interrupt routine because it will cause unpredictable delays. I need that timer will reset to 0 automatically when arrive compare register value. Or may be there is another way to do it
What is the best way to do it with lower power consumption? Do you have any example?
Unfortunately, I cannot find how to do it.