Good to know, thanks for the input!
I've probably missed something simple, but still can't see it in my code snippet.
Good to know, thanks for the input!
I've probably missed something simple, but still can't see it in my code snippet.
Ok, thanks all for verifying approach. I found the issue to be that the resolution of the duty cycle in bits was 9, not 10, (it seems it varies with the PR2 value predetermined by the HPWM command), so with the MSB of the PWMxDCH set at 1 (PWM6DCH=128), the result was "always on" at the output, whereas I was anticipating a 50% duty cycle waveform.
Bookmarks