I am using 280025 and I am configuring EPWM.I need to change EPWM1 from forcing EPWM1A and EPWMB low to EPWM1A and EPWM1B counter compare mode.
The code of forcing EPWMxA and EPWMxB low:
The code of EPWMxA and EPWMxA counter compare mode:
When I change EPWM1 from forcing EPWM1A and EPWMB low to EPWM1A and EPWM1B counter compare mode every five interrupt cycles.I find EPWM1B always changes to high ahead of the first period.
The yellow line(channel1) is EPWM1A,the green line is EPWM1B(channel2)is EPWM1B,I think the remarked area of EPWM1B should be low.Where should I do extra configuration.I have cofigurated the counter compare value as following:
What should I do furthermore?Could you give me some advice?