Skip to main content

New answers tagged

1 vote

Atmega328p stops mid instruction when in interrupt

Problem When the Serial module uses a hardware UART on the chip. A println() eventually reaches the ...
Jeroen3's user avatar
  • 24k
4 votes
Accepted

Atmega328p stops mid instruction when in interrupt

An interrupt service routine (ISR) will disable further interrupts during its execution, and re-enable them as it exits, to prevent interruption of the servicing of the interruption. Consequently, you ...
Simon Fitch's user avatar
0 votes

Atmega328p stops mid instruction when in interrupt

You are not telling which libraries you use but you need to know how the libraries you use work. If this was Arduino Serial library, it would return immediately from the Send() method and use UART ...
Justme's user avatar
  • 172k
1 vote

Atmega328p stops mid instruction when in interrupt

Use the interrupt only for what is strictly needed for your real time specs. You need to define how frequent you need the interrupt to be and perform within the interrupt only what is needed within ...
devnull's user avatar
  • 9,639

Top 50 recent answers are included