This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSCNCD28379D: Regarding epwm

Part Number: TMDSCNCD28379D


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: