Other Parts Discussed in Thread: C2000WARE, UCC28950
Hi,
I am using peak current mode control in my project,
The slope compensation at the Current transformer output (fed to CMPSS high side comparator pin) need to be 0.107V/us.
Switching frequency is 100kHz. And I have configured the ePWM in up-down count mode with period 500. The ePWM for ramp source is configured to run at 200kHz.
How can I configure the Ramp generation in CMPSS? Need help to understand how to calculate and set the RAMPMAX and RAMPDEC values.
Suppose my max reference value is 4095 (~3.3V), then how the below section of CMPSS Ramp Generation should be configured?

Regards,
Jayant