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.

CCS/TMS320F28027F: How to Implement PI controller on F28027 and how is code structure?

Part Number: TMS320F28027F
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hello,

I am a university student. İ am new on C2000 and codding. I have term project about power electronics. For now, i am working on buck converter with feedback system (Values; Vin=7-12 V, Vout=5 V).

I  can change the duty cycle with potantiometer and get variable output voltage. But  i want constant output voltage when input voltage changes. I tried to implement pi controller so much but i could not make the code structure. I searched  controlsuite completely. Does anyone has appropriate example code for this issue.

Regards.

Atakan