arduino / arduino/ArduinoCore-avr

timer3 interrupt jitter

Open
#131 1 comment 0 reactions 0 assignees View on GitHub
waiting for feedback
Dominant language
C
Stars
1.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the report on an Arduino Mega2560 R3 with Arduino 1.6.1 using an otherwise empty sketch, Timer3 compare mode, and a 10 µs interrupt interval. Start by tracing the Timer3 compare interrupt handling and any interrupt masking in the AVR core; done means the interrupt timing is stable and the cause of the jitter is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.