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.

CCS/TMS320F28335: epwm shadowmode

Part Number: TMS320F28335

Tool/software: Code Composer Studio

I have configured shadow mode for compA and B, but when i check the register COMPA while in debug, i find once the write command executed in the program, the value of the COMPA changed immediately, and then the value of the SHDWAFULL bit is always 1. And i find COMPA in the epwm_mirror register is always 0. If the shadowmode has been configured correctly but can't be viewed on the ccs registers interface or haven't been configured correctly ?

  • Hello,

    The SHDWAMODE bit is part of the CMPCTL register, which should be shown in the CCS registers window during the debug session. Let us know if the CMPCTL regsister doesn't show up in the registers window and which CCS version as well as a screenshot of the registers window in CCS if possible.

    Regards,
    Elizabeth