The pwms (with down counter) at 1A, 2A, 3A and those at 1B, 2B, 3B are as expected. But those at 4A, 5A, 6A are not as i desire them to be. I want, say, epwm 4A to be as follows:
Go low on CMPA, go high on CMPB, and do nothing on PRD. But what is happening is as below:
it goes low on CMPA, no action on CMPB, goes high on PRD.
I am not understanding where the flaw is. Kindly give your suggestions.
Below is the part of main code where the compare values are given:
Below, i have included initialization for epwm modules: