LPC55S28 SC/PWM Dead-Time and complementary mode

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

LPC55S28 SC/PWM Dead-Time and complementary mode

Jump to solution
1,153 Views
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 Kudos
Reply
1 Solution
1,148 Views
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

View solution in original post

1 Reply
1,149 Views
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