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.

AM2434: Timing and PWM

Part Number: AM2434

Hi Team,

Here's an issue from the customer may need your help:

1) The timer is set and interrupts are turned on, but interrupts cannot be triggered. The program is as follows, is it just required to initialize and TimerP_start(gTimerBaseAddr[TIMER0_WU])? 

2) Set PWM interrupt: EPWM_etIntrCfg(epwmBaseAddr, ePWM_et_INTR_EVT_CNT_EQ_ZRO,
EPWM_et_INTR_period_first_EVT); GPIO is asserted when flag==2 is determined in the interrupt service function. 

The behavior is not asserted high at the second PWM and the trigger point is not at the point that counts to 0. 

(Note: the upper part of the figure is the trigger point, while the lower arrow indicates the actual trigger point)

Could you help check this case? Thanks.

Best Regards,

Cherry