Generating Push-PULL PWM signals using CCU8

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello,

I would like to generate two Inverleaving (PUSHPULL) PWM signals with same duty cycle.
how can i achieve using PWM CCU8?

see attached picture of waveform.3031.attach
0 Likes
2 Replies
DRubeša
Employee
Employee
First solution authored First like received
Hi,

I would suggest that you check PWM_CCU8_EXAMPLE_XMC45. There you already have something that is very close to your application.

Regards,
Deni
0 Likes
Not applicable
Hi,

I believe you could achieve interleave PWMs by below methods:-

1. Setting CCU80/CCU81 as Edge Aligned, Asymmetric PWM
CCU80 -> CR1=0, CR2= Duty
CCU81 -> CR1=T/2, CR2 = T/2 + Duty

2. Using Phase Shift Control method
Here, you would use CR2 of CCU80 to control the desired phase shift (180 deg) of CCU81 (w.r.t. CCU80).

Please do mention which of the above 2 works for you.

Regards,
--Ashish

PS: I am not mentioning the 3rd method here, as even though you would achieve the 180 phase shift but the passive state would also be 'High' for one PWM.
0 Likes