Hello,

I need to code a MPPT algorithm for my push-pull converter graduation project. The C code for MPPT algorithm is almost ready but i have big problems about configurations of the PIC. There are bunch of examples in internet for DSPIC18 with CCS C however, i could not find many examples about my PIC(33EP16GS502).

I am real beginner to the digital world. I could not really understand the procedure of setting up the configuration. For example;

There are built in functions in CCS for PWM generation such as:

bif void setup_hspwm(unsigned int32 settings, unsigned int16 period);

_bif void setup_hspwm_secondary(unsigned int32 settings, unsigned int16 period);

_bif void setup_hspwm_unit(unsigned int8 unit, unsigned int32 settings); etc.

I want to know which function i should start coding and how to continue.

Any help would be very appreciated.

More Gökhan Bayraktar's questions See All
Similar questions and discussions