Hello ,
I am using LPC54606 controller with PWM using CTimer.
When I stop the PWM using "CTIMER_StopTimer", occasionally the PWM output still remains HIGH.
Is there a way I can force the PWM output to go LOW when stopped?
regards,
Hemanth
已解决! 转到解答。
The issue got solved when I call below APIs
"CTIMER_Reset" & "CTIMER_Deinit". After these, the pin output goes LOW.
Hi Hemanth,
I don’t think so because PWM outputs follow certain rules as you can see in 17.7.1 Rules for single edge controlled PWM outputs section of the UM. An option is that you change alternative of the pin and manually change the output to low using GPIO.
Best regards,
Felipe