Part Number: TMS320F28335
Dear TI support,
I am using TMS320F28335 device. I use Enhanced PWM module in up/down count, complementary mode to drive a three phase motor. When I set EPWM module in complementary mode, first pulse always comes out at 100% duty cycle even though I programmed counter compare registers with approximately 50% duty cycle. After the first cycle everything looks correct, duty cycles on A and B channels are correct. I noticed PWM is initialized with shadow mode enabled. I disabled it and set it to immediate mode (CMPCTL register), however the problem is still there. Do you have any suggestions?
Thanks for your support,
Felix V.