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.

RTOS/TMS320F28027: To drive the boost and buck mosfet under a criteria.

Part Number: TMS320F28027
Other Parts Discussed in Thread: POWERSUITE

Tool/software: TI-RTOS

I get input current, output current, input voltage, output voltage and boost stage output voltage measurements through 5 ADC pins from TMS320F28027 microcontroller .How do I code in such a way that it drives boost and buck MOSFETs at 100KHz when the input current is proportional to the input voltage (Power Factor Correction) and the output voltage is 117V or output current is 30A.