How does the TI C2000 ePWM block work?

19 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 15 Nov 2023
Edited: MathWorks Support Team on 12 Jan 2024
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.
For more information about the capabilities of the "ePWM block," run the following command in MATLAB R2018a:
web(fullfile(docroot, 'supportpkg/texasinstrumentsc2000/ref/model-configuration-parameters-for-texas-instruments-c2000-processors.html'))
Please follow the below link to search for the required information regarding the current release:
  2 Comments
SALAH alatai
SALAH alatai on 22 Mar 2022
Edited: SALAH alatai on 22 Mar 2022
@MathWorks Support Team here u meant can use GPIO together with ePWM in same model?
i do not understand what did you mean of (to specify which GPIO pin each PWM signal maps to)
i have inverter implemented it by GPIO using normal pwm but I want to use SPWM pulses so I should use ePWM block and need to know how to start.
this ur example but do not understand

Sign in to comment.

More Answers (1)

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

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!