How do I generate complementary signals on ePWMA and ePWMB with F28335 using Simulink ePWM block?

14 views (last 30 days)
Hello,
I'm using an eZdsp F28335 + Simulink to generate PWM signals.
Whatever the settings of the c2000 ePWM-block in Simulink are, I constantly get the same signal on ePWM1A and ePWM1B. How can I generate a signal on ePWM1B that is complementary with ePWM1A?
Thanks in advance,
Pieter Gervoyse
  3 Comments
Frank Pang
Frank Pang on 6 Aug 2021
can't believe that I'am still facing this issue in 2021, some DSP support this feature in just one click, but 28335 doesn't. btw, document of ePWM block looks unhelpful.

Sign in to comment.

Answers (2)

Venkatesh Chilapur
Venkatesh Chilapur on 29 Jun 2018
Please mention the version of the MATLAB and version of the C2000 hardware support package that you are working with.

Michael Ajazi
Michael Ajazi on 7 Nov 2018
Set "Synchronization output (SYNCO):" in General to "Counter equals to compare B(CTR=CMPB") and that should give you complimentary PWM signals.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!