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.

TMS320F280025: RAMP module inside CMPSS

Part Number: TMS320F280025

Dear C2000 expert,

Currently I plan to use ramp module inside CMPSS to realize slope compensation for PCMC(peak current mode control), is it possible to get RAMPSTS as below picture? What I expect is that the RAMPSTS will be decreased to 0 before the next EPWMSYNPER occurs, and RAMPSTS could be keep to 0 until EPWMSYNPER recieved.

One more question, when does the COMPHSTS be triggered? What's purpose of COMPHSTS to reload RAMPSTS? Is it possible to configure ramp ignore this signal?