MATLAB: How does the TI C2000 ePWM block work

blockc2000Embedded Coderepwmti

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?

Best Answer

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: