Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

It is possible to generate 2 PWM signals from PWM channel of TI C2000 MCU?

0 votes
It is possible to generate from PLECS 2 individual ePWM signals from the channel (1) of TI C2000 MCU  and not complementary signals between ePWM A,B (as shown in the attached picture)?
asked Nov 21, 2020 by efrain ibaceta (36 points)

1 Answer

0 votes
It looks like you tried to include a picture in your post. Unfortunately, it didn't come through.  Could you please try again to add the figure?

Speaking generally, with the TI C2000 Code Generation the PWM outputs will always be a complementary PWM pair on ePWM1A and ePWM1B with the specified blanking time.  To have a truly independent second PWM channel, you can simply use a second PWM output.  That is, use ePWM1A and ePWM2A, and not connect the complementary signals.

You also have the option of modifying the generated code to configure the ePWM Action Qualifier registers as needed, but note there will be a disconnect between your PLECS model and modified code unless you modify the offline model accordingly.
answered Nov 23, 2020 by Bryan Lieblick (908 points)