It was quite a challenge to follow you. I've read the Notes and Apologies, but still - the waveform depicts the 'event' on channel W, the narrative talks about channel V and the log contained the problem in channel U... It would be hard to make it more confusing, even if you'd try... :)
if anyone knows of a section in the reference manual that I may have overlooked that explains why this extra step is necessary
This one:
Note: In PWM mode, the OCREF level changes only when the result of the comparison
changes or when the output compare mode switches from “frozen� mode to “PWM�mode.Forced Active changes OC_REF to 1, and then mode is changed to PWM, and as the timer is stopped, the output of comparator does not change. And there was no 'frozen' mode (which I assume is mode 000 - the RMs are far from being crystal clear) in between, so the PWM is not taken into account until the next match of counter to the respective CCR.
A brutal gotcha, this one is. And don't ask me about ST's design decisions.
JW
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
