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.

HRCNFG register for PWM9-10 of F28377S

Hi All,

I am not able to to set the HRCNFG register fields (as a bit or as the whole register). I am using F28377S launchpad.

PWM9 registers are mapped as below:

EPWM9        : origin = 0x004800, length = 0x000100     /* Enhanced PWM 9 registers */

Is there any other settings required for PWM9?

I am not able to set these bits from CCS debugger also. I can change HRCNFG register for module PWM1-8.


Please advice if you have any idea about this issue.

Thanks in Advance.

Sumith

  • Hi Sumith,

    On F2837xS:
    Only ePWM 1-8 are capable of HRPWM functionality.  ePWM9-12 only have the standard ePWM functionality.


    Thank you,
    Brett

  • Hi Brett,

    Thanks for your reply.

    Even though the bits SELOUTB (EPWMxB Output Select Bit) and SWAPAB (Swap ePWM A & B Output Signals) are part of HRCNFG register, is these features are specific to HRPWM?

    For all other PWM modules, these features are working irrespective of HRPWM I think.

    Thanks,

    Sumith

  • Hi Sumith,

    SELOUTB and SWAPAB only exist in ePWM modules which have the HRPWM.

    If you're not using HRPWM, some of the register settings in the DBCTL register can enable you to create equivalent functionality.


    Thank you,
    Brett