i configured pin 4 of NHET1 to generete 50% duty cycle. is it possible to change the duty cycle while program is in running condition?
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 configured pin 4 of NHET1 to generete 50% duty cycle. is it possible to change the duty cycle while program is in running condition?
HI Sarathi,
If you are using HALCoGen, the APIs pwmSetSignal() and pwmSetDuty() can be used to change the duty cycle during runtime.
Thanks and Regards,
Vineeth
No Mr.Vineeth Thomas Alex. i just configured the PWM using halcogen and generated the PWM output with fixed output form the port. is there any sample programs to use in code composer studio directly.