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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

3,783件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

3,763件の閲覧回数
eddsanliik
Contributor I

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

0 件の賞賛
返信

3,739件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @eddsanliik 

Sorry I don't think Ctimer PWM can.

 

BR

Alice

0 件の賞賛
返信

3,769件の閲覧回数
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 件の賞賛
返信