Hello
I intend to generate 4 high resolution(30-50ns) PWMs for a full bridge dual active bridge converter. I want to have dead time between 2 Primary PWMs and in a similar manner between the two secondary PWMs. Additionally, I wanted to have Phase shift between the Primary and secondary PWMs at the same time. I was trying to use Up/Down counter (TD0 & TD1 timers) for generating the controllable Dead time. Now, for generating the phase shift between primary and secondary, I thought of using the TEC module with TD0 as Master and TD1 as Slave. TD1 is reset/cleared externally by using the rising edge of PWM1 from the TD0 timer.
TD0(Master) : PWM1, PWM2
TD1(Slave) : PWM3, PWM4
Duty cycle: 50% for all
This Method allows me only one value of phase shift instead of it being controllable as per need.
Could anyone suggest what could be done so that i have control over both the dead time and phase shift?
Thank you.