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.

TMS320F280039C: How to modify epwm trigger event prescale on the fly

Part Number: TMS320F280039C

Tool/software:

Hello,

I am trying to update epwm4 period, duty cycle and event prescale value in the CLA task. I can update period and duty cycle correctly, but when it comes to updating trigger event prescale value, it fails. I tried to call the EPWM_setADCTriggerEventPrescale API functions but it does not work. Is there a specific procedure to follow in order to update this value? Thanks much.