Clear Filters
Clear Filters

How can I obtain 12 SPWM signals from F28379D Launchpad using epwm blocks?

7 views (last 30 days)
I want to change the ePWM trigger as it is in the attached file I'm sending. I couldn't find where to change the form of the trigger signal inside the block. Do you have any suggestions?

Answers (1)

Alan
Alan on 12 Sep 2023
Hi,
According to my understanding, you want to change the duty cycle of the ePWM block.
You could check out this documentation in which they use DMA to modify ePWM duty cycle: https://www.mathworks.com/help/ti-c2000/ug/modify-epwm-duty-cycle.html.
There is an example for F2837x models (c28x7x_c28004x_dma_epwm, which can be accessed from MATLAB command line), but I am not sure about F28379D.
You could change the “Data store name” parameter in the “Main” section of the Duty Cycle Table block parameters.

Community Treasure Hunt

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

Start Hunting!