stop PWM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

stop PWM

449 Views
Nadia
Contributor III

Hello,
I'm using the microcontroller LPC54616J, and two pins to take out PWM signals and control a motor, I have a problem when I want to change the pin, I don't know how to stop the PWM and activate the other one, I thought that with SCTIMER_StopTimer it would work, but it doesn't.

 

If anyone knows how to do this I thank them for their help.
Thank you very much.
Greetings

0 Kudos
1 Reply

405 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

You can use as reference the examples in the AN11538. The SCTimer/PWM start_stop example can be useful for your application.

 

Let me know if this is helpful, if you have more questions do not hesitate to ask me.

Best regards,

Omar

0 Kudos