How does the TI C2000 ePWM block work?

78 views (last 30 days)
I am presently attempting to generate ePWM pulses for a model that will be deployed onto a TI C2000 board.
I noticed that the ePWM block seems to be designed for this purpose, but I am having trouble understanding how to use it.
Would you be able to explain how this block works?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Sep 2020
Edited: MathWorks Support Team on 20 Sep 2020
Essentially, each ePWM block configures how a particular ePWM module on the F28379D board fires the ePWM signals.
Under Model Configuration Parameters -> Hardware Implementation -> Target hardware resources -> ePWM, you are able to specify which GPIO pin each PWM signal maps to.
I have attached an example of how this block would work, along with an image that provides a high-level overview of the configuration process.
Below is a link with more information about the capabilities of the ePWM block:

Sign in to comment.

More Answers (3)

Zurab Zurab
Zurab Zurab on 4 Jul 2019
TMS320F28377S and TMS320F28377D microcontrollers
in ePWM modules do not work "Set counter to phase value specified via input port"
But "Set counter to phase value via dialog" works correctly
Error.pngHow to fix this problem?

Logeesan Arunachalam
Logeesan Arunachalam on 17 May 2019
Hi Mathworks support,
For the past 2 weeks i am trying to figure out how to generate PWM signal in TI c2000 using Simulink. Can you guys please help me out.
Thanks in advance.
Mathlab v 2015B
TI TMS320F28335

SALAH alatai
SALAH alatai on 22 Mar 2022
Hi Mathworks support,
I am trying to figure out my inverter model by ePWM signal in TI c2000 using Simulink. Can you guys please help me out.
my inverter like full bridge and want to implement it my hardware matlab using a library of F28379D




Community Treasure Hunt

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

Start Hunting!