Set PWM output(using CTimer) to LOW when stopped

cancel
Showing results for 
Search instead for 
Did you mean: 

Set PWM output(using CTimer) to LOW when stopped

Jump to solution
72 Views
hemanthvasista
Contributor IV

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

Tags (1)
0 Kudos
1 Solution
43 Views
hemanthvasista
Contributor IV

The issue got solved when I call below APIs

"CTIMER_Reset" & "CTIMER_Deinit". After these, the pin output goes LOW.

View solution in original post

0 Kudos
2 Replies
57 Views
FelipeGarcia
NXP TechSupport
NXP TechSupport

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

0 Kudos
44 Views
hemanthvasista
Contributor IV

The issue got solved when I call below APIs

"CTIMER_Reset" & "CTIMER_Deinit". After these, the pin output goes LOW.

View solution in original post

0 Kudos