2008-03-22 03:01 AM
ref manual error: Figure 58: Center-aligned PWM waveforms
2011-05-17 03:27 AM
in Figure 58: Center-aligned PWM waveforms (ARR=8), when the counter is counting up and equals 7, for CCRx = 7, OCxREF should be low.
also, the manual doesn't say exactly when the DIR bit changes in the center-aligned modes. this affects OCxREF on the terminal counts. (apparently, in the graph the counter is counting up when its value is 0 and down when its value is 8.)