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.

TMS320F28P550SJ: Do you have any comparator example that can shared for reference?

Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: TIDM-02017, SYSCONFIG, TIDM-02014, C2000WARE

Tool/software:

Hi Expert,

Do you have any comparator example that can shared for reference?

I have done ADC reading on every PWM rising edge.

And I need to activate a comparator to compare that ADC reading to a preset trashold.

When the ADC reading exceed the trashold value,  the comparator need to output something to the PWM tripzone to stop the PWM.

I can't find any relevent example, and wondering if you have anything to share.

Anything will be a great help to us.

By the way, we are doing some digital power related assignment.

Thanks

Daniel

  • Hi Daniel,

    Check out the reference designs like TIDM-02017 (which is SysConfig based) and TIDM-02014 from the C2000Ware MotorControl SDK. You'll have to set up the CMPSS connected to your ADCs. After that, route the output through the PWM XBARs to the ePWM Digital Compares and use that event for the trip zone.

    Best Regards,

    Masoud