2 votes

Running ADC triggered by TIMER1_COMPB

Timer1 CTC mode requires you to put the CTC TOP value in OCR1A (see Table 15.5 in 328P datasheet). You didn't, so the timer is running all the way from 0 to 0xFFFF. Timer1 ADC trigger mode requires ...
Iris Artin's user avatar
1 vote

Emulating Arduino Uno with QEMU: interrupts do not work

The documentation of qemu-system-avr says: [...] ATmega controller, which model is limited to USART & 16-bit timer devices, enough to run FreeRTOS based applications [...] It means the emulator ...

Only top scored, non community-wiki answers of a minimum length are eligible