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.

Question about Comparator (C2000 Launchpad-TMS320F28027)

Other Parts Discussed in Thread: TMS320F28027

Hi everyone,

I'm trying to use the Comparator 2 in a Piccolo C2000 LaunchPad (TMS320F28027), in order to implement Peak Current Mode Control, in a Power Converter. I use the ADC, to sample the output voltage. I need the comparator block for comparing the actual value of the output current with the reference value that derives from the output voltage.

I would like to ask, if it is possible, an interrupt event to be enabled, following the comparator output (whether it is high [1] or low [0]). I would also appreciate it, if you could give me some code examples for the Comparator. The existed examles in Control Suite (for Piccolo F2802x devices) do not include Comparator Codes.

Thanks for your support!

Nick.