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.

TMS320F280049: F280049 EPWM OUTSWAP Setup problem

Part Number: TMS320F280049


Tool/software:

HI TI:

    Currently we have a problem with the F280049 EPWM module. We use F280049 for motor driven applications,OUTA OUTB pins need to be swapped due to hardware problems.Set the value of DBCTL[OUTSWAP] to 11,DBCTL[OUT_MODE] to 11,DBCTL[OUT_POLSEL] to 10,DBCTL[IN_MODE] to 00, and S8 to 0.

    However, when we ran FOC, it did not work properly and we found that we needed to change the ePWMA duty cycle from D to 1-D in order to work properly. On previous hardware versions, OUTA OUTB did not require swapping, and the software run FOC without problems. So, what are the possible reasons why FOC does not run properly after swapping OUTA OUTB pins? Swap OUTA OUTB We understand should be equivalent to hardware swap.

  • However, when we ran FOC, it did not work properly and we found that we needed to change the ePWMA duty cycle from D to 1-D

    Do you have scope shots of the PWM outputs? What is occurring that is incorrect?

    Can you provide any code snippet that can replicate this issue?

    Best,

    Ryan Ma