2.3.1 Interrupts May Be Lost When Writing the Timer Registers in the Asynchronous Timer (Timer/Counter 2)

The interrupt will be lost if writing one of the registers Timer/Counter 2 Control Register (TCCR2), Timer/Counter 2 Register (TCNT2), or Timer/Counter 2 Output Compare Register (OCR2) when the Timer/Counter 2 Register is 0x00.

Work Around

Always check that the asynchronous Timer/Counter register (TCNT2) neither has the value 0xFF nor 0x00 before writing to the Timer/Counter 2 Control Register (TCCR2), Timer/Counter 2 Register (TCNT2), or Timer/Counter 2 Output Compare Register (OCR2).

Affected Silicon Revisions

ATmega32A
Rev. GRev. IRev. K
XXX