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.

Swapping PWMs in BLDC_Sensored project



Hi,

I am trying the BLDC_Sensored project in the DRV8312-C2 kit. Now I am having PWMs on ePWM1B, ePWM2B and ePWM3B pins and high and low signals on ePWM1A, ePWM2A and ePWM3A pins. I need to swap these signals, like PWMs on ePWMxA pins and levels on ePWMxB pins. Can I use the 'SWAPAB' bit in the HRCNFG register to do this?

Thanks.