Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: How to manipulate triangular carrier using Simulink

Part Number: TMS320F28379D

Hi,

I am using Simulink Support Package to code TMS320F28379D in order to generate PWMs using the ePWM module. I am able to edit the TBCLK, CMPA values to get the required period and duty cycle for some basic PWM. However, I am in need of generating an advanced PWM which is related to Level Shifted PWM, where I need to change the amplitude of the carrier wave according to the reference wave. I have included an example showing what kind of PWM I am searching for. I am using a count up-down triangle wave which results in a triangle but I cannot change its amplitude. Any suggestions?