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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

3,662 次查看
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,642 次查看
eddsanliik
Contributor I

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

0 项奖励
回复

3,618 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @eddsanliik 

Sorry I don't think Ctimer PWM can.

 

BR

Alice

0 项奖励
回复

3,648 次查看
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 项奖励
回复