TMS320F28335: how to disable epwm module after a certain time in simulink

12 visualizzazioni (ultimi 30 giorni)
Hi, I have generated PWM signals to be used in open loop svpwm control for f28335 in the matlab/simulink environment. However, I want to stop generating these signals after a certain period of time. I have researched this in detail but couldn't find a solution in the simulink environment. The trip zone unit has been suggested to disable the epwm, but I don't know how to use it. I hope you can help. (I am not use any adc module in my system)

Risposte (1)

Shivam Lahoti
Shivam Lahoti il 16 Set 2024
Hi,
I understand you want to disable the ePWM module. You can use the Trip Zone unit to disable the ePWM.
You may select the source of the Trip Zone (TZ) either via the input port or via the dialog for a given ePWM. More details can be found by clicking the Help button in the ePWM configuration pane or by visiting the documentation for the block.
The Trip Zone source can be selected from the ePWM TZ configuration pane alone, and no additional software changes are required. Resetting the Trip Zone is a software call and can be achieved by clearing the TZCLR[OST] flag for One-shot trip mode. For cyclic trips, it happens automatically for every PWM cycle.
I hope this helps you resolve the issue.
Regards,
Shivam.

Community Treasure Hunt

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

Start Hunting!

Translated by