I have noticed a strange behavior with fast PWM.
ATmega128.
WGM mode 5
COM1A[1:0]=2
clk/8
The waveform on B[5] behaves normal for all values I have checked,
except for OCR1A=127!
With OCR1A=124, I see a waveform high for 63 usec, period of 126 usec.
With OCR1A=127, I see a waveform high for 3.1`usec, period of 126 usec.
With OCR1A=130, I see a waveform high for 68 usec, perios of 126 usec.
I cannot find an explanation in the datasheet.
What am I missing?
Tom Dean
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat