Hi,
This is my first time using the TI mcu. I am working on solar project and I am required to program the f2812 to generate a pwm to drive my power transistor to operate in mppt condition. I have studied the C/C++ header files and example for PWM. However I am still not able to understand how to initialize the event manager to generate a PWM.
EvaRegs.T1PR = 0xFFFF;
EvaRegs.T1CMPR = 0x3C00;
EvaRegs.T1CON.all = 0x1042;
Why the T1PR, T1CMPR and T1CON.all is set for that particular value in this example?
Is there any flowchart for guidance to generate a PWM waveform of different duty cycle for every loop to drive my dc-dc converter work at mppt?
Thank you .