Hello,
Im using an AT mega88, and in AVRstudio I dont get a match on CompareB when running in normal mode, if the compare register is 0x0000. Is this the way its supose to be ? - I can se there is some issues in the datasheet when setting TMR1 to TOP or BOTTOM in some of the PWM modes, but in normal mode, there should not be anything special about zero?
I am generating a signal, by interrupts and then add an offset to the TCNT1 value and store it in OCR1B. I do not at any time store in TCNT1
I have only tested in AVRstudio simulations - not on real hadware.
Am I missing a point somewhere ?
Sincerely Per Hansen