SCT0_OUT0 and SCT0_OUT1 PWM control in LPC11U67

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

SCT0_OUT0 and SCT0_OUT1 PWM control in LPC11U67

Jump to solution
1,465 Views
Hari_Royal
Contributor II

Hi i can able to use SCT0 for generating PMW signals of fixed 50% duty cycle on SCT0_OUT0 & SCT0_OUT1 but i cant able to control the outs (On/Off) individually. . Can someone help me how can i Turn ON/OFF the individual output (SCT0_OUT0 & SCT0_OUT1)  independently whenever i want.

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
1,448 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Hari_Royal 

When want to turn off, you can configure the related SCT0_OUT pin as gpio, and configure it pull up/down.

When want to turn on, configure it as SCT0_OUT function.

 

BR

Alice

View solution in original post

3 Replies
1,445 Views
Hari_Royal
Contributor II

Alice , you mean when i need to turn Off the PWM on SCT0_OUT / SCT0_OU1 i need to change the configuration to GPIO with Pullup/down then set Pin to Low ? and then when i need to turn on PWM i need to configure back to SCTO output. 

so each time i need to change the configuration

==> from GPIO->SCT_OUTPUT to Turn ON PWM

==>from SCT_OUTPUT -> GPIO to Turn OFF PWM   ?? is that what you mean 

0 Kudos
Reply
1,428 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Hari_Royal 

1)"so each time i need to change the configuration

==> from GPIO->SCT_OUTPUT to Turn ON PWM

==>from SCT_OUTPUT -> GPIO to Turn OFF PWM   ?? is that what you mean "

->> Yes.

2) Confirm one of my mistake, when change to GPIO, configure it as output, not input, then out put  low or high refer to your requirement. 

 

BR

Alice

1,449 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Hari_Royal 

When want to turn off, you can configure the related SCT0_OUT pin as gpio, and configure it pull up/down.

When want to turn on, configure it as SCT0_OUT function.

 

BR

Alice