New answers tagged interrupts
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 ...
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 ...
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 ...
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 ...
Top 50 recent answers are included
Related Tags
interrupts × 888microcontroller × 208
stm32 × 201
pic × 128
avr × 125
c × 107
timer × 101
arduino × 84
uart × 84
atmega × 55
arm × 55
embedded × 42
gpio-external-interrupt × 38
i2c × 30
microchip × 27
msp430 × 25
adc × 24
spi × 23
sleep × 21
pwm × 20
gpio × 20
programming × 16
attiny × 16
serial × 15
assembly × 15