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.

TMS320F28377S: HRPWM MEP Edge Setting Questions by Using Syscfg

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Tool/software:

Hi champs,

    Customer feedback some question when using syscfg to set MEP when HRPWM is enabled and set as phase control mode.  According to the datasheet, the edge mode should be configured for both rising and falling edges. However, the edge mode attribute disappears when the HRPWM mode is configured as phase mode.

HRPWM_setMEPEdgeSelect(); This function also did not be generated by syscfg. 

The workaround to resolve this issue is to first configure the HRPWM control mode to Duty or Period mode. In this mode, you can set the edge mode to MEP controls for both rising and falling edges. After configuring the edge mode, compile the code then change the control mode to phase mode. Then code can be generated correctly.

This workaround is quite tricky and inconvenient. Customer want to know if we can solve it?

  • C2000Ware version: 5.03.00.00 (latest)
  • SysConfig version: 1.21.1.3772 (latest)
  • CCS version: 12.7.1.00001

Regards

Andre