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.
I couldn't figure out why my PWM code was hanging on warm reset / debugging load.The examples don't follow 12.4.3.4.10 Proper EPWM Interrupt Initialization Procedure, in the technical manual.
Hello Traveler,
I just tested epwm_duty_cycle_am243x-lp_r5fss0-0_nortos_ti-arm-clang and did not find any issue with the example project, can you provide more context here:
Best Regards,
Ralph Jacobi
I adapted the epwm_duty_cycle_sync example (with GPIO and PWM pin selection being the only changes) to a larger test program using 3 processors. This is on a custom board, similar to the EVM. SDK 9.0.0.35. CCS 12.4
The point is that after a long time of debugging why it was hanging randomly, I came across the note in the Technical Manual 12.4.3.4.10 Proper EPWM Interrupt Initialization Procedure. Implementing that fixed the hanging.
It would be helpful if the example PWM code (that used interrupts) and SDK documentation followed the technical manual. Otherwise we can't begin to write reliable code until we read the full 10k pages of the technical manual.
Hi,
Thanks for the feedback. We will surely fix the Interrupt initialization process in the example.
Regards,
Meghavi