Hello.
Can PWM0A and PWM0B waveform be swapped?
In other words, PWM0A output PWM0B waveform, and PWM0B output PWM0A waveform。
If you can, how to set the register?
Thank you.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello.
Can PWM0A and PWM0B waveform be swapped?
In other words, PWM0A output PWM0B waveform, and PWM0B output PWM0A waveform。
If you can, how to set the register?
Thank you.
I assume you mean DPWM0A and DPWM0B. If that is the case, the answer is yes.
Just put a 3 in THE PWM_A_INTRA_MUX and PWM_B_INTRA_MUX bitfields in the DPWMCTRL0 register. You can move things around a lot with those registers.
For real fun, try the edgegen registers.
Note that when you do this, you lose the high resolution dead time calculations. It goes to 4 nanoseconds, instead of 250 picoseconds. Not generally a big issue on isolated power supplies.