How to change CTIMER PWM settings on MCUXpresso? (LPC802)

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

How to change CTIMER PWM settings on MCUXpresso? (LPC802)

748 Views
eddsanliik
Contributor I

Hello everyone,

I am using LPC802 processor to generate PWM signal.  I set CTIMER0 (PIO0_9) to 3kHz %50 duty PWM and also set 600Hz MRT Interrupt for GPIO toggle. But PWM start with low. How can i change it to start with high? I added my signal picture and my main code. 

Thank you.

Eda

0 Kudos
Reply
3 Replies

728 Views
eddsanliik
Contributor I

is there any solution about starting with high level with LPC802?

0 Kudos
Reply

704 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @eddsanliik 

Sorry I don't think Ctimer PWM can.

 

BR

Alice

0 Kudos
Reply

734 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @eddsanliik 

All single edge controlled PWM outputs go LOW at the beginning of each PWM cycle.

Alice_Yang_0-1686215826508.png

 

BR

Alice

 

0 Kudos
Reply