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.

Building a precision PMT power supply with TMS320F28027

Other Parts Discussed in Thread: TMS320F28027, INA121, CONTROLSUITE

Hello!

I am designing the PMT power suply with TMS320F28027 MCU. I am using the full-bridge (L6203) loaded with primary coil of transformer, and secondary coil with voltage doubler is generating -1200V level to drive the PMT. The voltage divider (9400kOhms to 15kOms) is used to provide a feedback signal via the INA121 istrumentation amplifier. This signal is connected to ADCINA2/COMP1A port of MCU. 

The EPWM2A port is used as PWM source and GPIO0 and GPIO1 is switching the polarity of voltage applyed to primary coli.

I need to understand how to configure the digital comparator as an error amplifier to adjust the duty cicle of the PWM. 

Here is the schematic fragment:

Thank you!