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.

J721S2XSOMXEVM: A question about the MCAL sample code Pwm_App_Gpt

Part Number: J721S2XSOMXEVM

Hi,

     SDK Version: 8.6

     core    :     mcu2_1

The MCAL example code PwmApp_Gpt fails to generate an interrupt in one-shot mode and has no waveform output in one-shot mode

After modifying PwmApp_Gpt according to the patch provided by TI, waveforms can be output and interrupts can be generated normally in AUTOLOAD mode.

0001-TIMEROI1-output-PWM-on-AG25-ball-to-TP82.zip

But when I changed TIMER_AUTORLD_NOCMP_ENABLE in mcusw/mcal_drv/mcal/Pwm/src/Pwm_Gptimer.c to TIMER_ONESHOT_NOCMP_ENABLE, When TIMER_AUTORLD_CMP_ENABLE was changed to TIMER_ONESHOT_CMP_ENABLE, it was found that GPTimer failed to generate interrupts

Here is the log for one-shot mode

Please ask the experts of TI to help modify the code to verify this problem

Regards,

bingxian