arduino / ArduinoCore-avr

The Official Arduino AVR core
https://www.arduino.cc
1.25k stars 1.06k forks source link

timer3 interrupt jitter #131

Open ErsaFap opened 7 years ago

ErsaFap commented 7 years ago

Using arduino 1.6.1. Board - mega2560 R3. I have some empty project. I try to run 10 us timer interrupts and it is very unstable. It is something disables interrupts for too long. I have empty loop and setup. I am using timer3 compare mode. This affects the timer interrupts. How can I fix this? Im sorry for my rough English.

sandeepmistry commented 5 years ago

Hi @ErsaFap,

Could you please provide a sketch that can be used to reproduce this?