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.
Hi
I'm usind LP-AM243x board with the last released SDK.
Are there any examples in the SDK of Timers used as counter (up counter with Interrupt when overflow happen)?
I need 2 or 3 Timer channel all menaged by interrupt.
Also I need if possible some examples of PWM use for modulate the duty cycle of a single channel.
Thanks
M
Hi Messori,
Are there any examples in the SDK of Timers used as counter (up counter with Interrupt when overflow happen)?
I don't see any examples of this. However, it should be possible to quickly create such an example by following these steps:
Also I need if possible some examples of PWM use for modulate the duty cycle of a single channel.
This example generates a signal for a specified time and duty cycle using the ePWM module:
The EPWM duty cycle is fixed, so you would need to add code to change it dynamically.
Regards,
Frank