LPC804 Leading Edge Aligned PWM

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

LPC804 Leading Edge Aligned PWM

1,069 次查看
mike_katz
Contributor I

Is there anyway to get the CTIMER on the LPC804 to do Leading Edge Aligned PWM (have the active part of the duty cycle before the inactive part)?

My application requires this and just subtracting the desired duty cycle from 100 won't do what I want either.

Thank you...

标签 (1)
0 项奖励
回复
1 回复

965 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Mike,

As you know that PWM output signals from the CTIMER are  trailing edge alignment PWM signals, when the counter begins, all PWM signal are low, when the counter reaches to the match register value, the PWM signal becomes high, it remains high until the PWM cycle is over. There is no way to get the leading-edge alignment PWM signals.

If possible, you can connect an external inverter gate, and you can invert the PWM signals so that you can get trailing edge alignment signals for the multiple PWM signals.

Hope

0 项奖励
回复