The TCB0 timer of an AVR128DB28 should deliver a low-frequency signal to the associated WO pin A2 (configured as output). Problem: Nothing comes of it, the pin stays on low. The whole thing should be done in Periodic Interrupt Mode (see screenshot of the associated data sheet passage). What's wrong here? The associated timer asm init code looks like this:
;WO enable
ldi XL,$10
sts TCB0_CTRLB,XL
;Load Top Value with 4000
ldi XL,$a0
ldi XH,$f
sts TCB0_CCMPL,XL
sts TCB0_CCMPH,XH
;activate Timer 8/2= 4Mhz::
ldi XL,3
sts TCB0_CTRLA,XL
There is also no pin bent to alternative ports.
Help requested.