Hi
I’ve been working with eMIOS PWM IP in OPWMCB mode and wanted to understand the practical difference between these two configurations:
To investigate, I created a simple test project and observed the output signals. Surprisingly, I couldn’t see any noticeable difference between the two modes on the waveform.
Here’s my setup:
My questions:
Looking forward to your insights and explanations!
Thank you for your interest in our products and for contributing to our community.
Regarding your questions:
1&2 .- The main difference is noted with deadtime insertion. The trail edge mode increasing high time. Alternatively, by selecting the lead edge mode, deadtime insertion decrease high time.
For more details, please refer to 6.4. OPWMCB example project section of S32M27x/S32K3 – eMIOS Usage.
On the other hand, it could also affect the flag event (I don't remember having tried it.), and therefore the interrupt and triggering support.
For reference consult 6.6. PWM design considerations section. And please test it on your own taking as reference the 6.1 OPWMB example project.
3.- Such topic is addressed in https://community.nxp.com/t5/S32K/Design-Strategy-for-Complementary-PWM-Generation-for-motor/td-p/21...
I hope this information is helpful.