LPC55S28 SC/PWM Dead-Time and complementary mode

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

LPC55S28 SC/PWM Dead-Time and complementary mode

跳至解决方案
1,152 次查看
ahmedhrabi
Contributor IV

Hello, 

I need to implement two complementary pwm channels on lpc55s28 and change the dead-time using sc timer or ctimer, however in th UM i didn't find a register to do that and in the SDK there's no examples for that use. Does the LPC55 support that ? 

Regards,

HRABI.

0 项奖励
回复
1 解答
1,147 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Regarding your question, I have to say that the CTimer module does not support complementary PWM signals, in other words, the CTimer match channels can not output complementary PWM signal pair.

Of course, you can use SCTimer/PWM module to output complementary PWM pair with programmable dead time, but there is not a deadTime register, we set the different match register to implement the complementary PWM pair output.

Pls refer to section 9. PWM with deadtime in the an11538.pdf, which can be downloaded from the NXP home page:

You can download the an11538.pdf and the correspond code by searching it in

www.nxp.com

Hope it can help you

BR

XiangJun Rong

在原帖中查看解决方案

1 回复
1,148 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Regarding your question, I have to say that the CTimer module does not support complementary PWM signals, in other words, the CTimer match channels can not output complementary PWM signal pair.

Of course, you can use SCTimer/PWM module to output complementary PWM pair with programmable dead time, but there is not a deadTime register, we set the different match register to implement the complementary PWM pair output.

Pls refer to section 9. PWM with deadtime in the an11538.pdf, which can be downloaded from the NXP home page:

You can download the an11538.pdf and the correspond code by searching it in

www.nxp.com

Hope it can help you

BR

XiangJun Rong