2024-06-10 04:49 AM
Dear Team,
I am using the STM32F103C8T6 MCU and I am trying to generate PWM signals with dead band.
and according to my configuration dead band is not in sync.
Please let me know what configuration I have to make?
Note: I have gate driver which Lin is INVERTED so, that's why I am generating this type of PWM [ you can say complimentary ]
[ I have attach the c file ]
Best and regards,
Dipak
2024-06-10 06:32 AM
Hi,
you have to set OCx and OCxN complimentary, then you get deadtime on every rising output.
If both active hi , you get, what you see on your pic :
So its for driver with both inputs active hi , not mixed hi/lo.
Use a inverter on the active lo driver input - or other driver.