unable to get the output from the code:
Hi Community.
I am Running a code which takes two adc values to generate duty and one timer for PWM generation.
Elaborately i am running an MPPT code by taking voltage and current from PV panel which is read by PA0 and PA1 of STM32F446re micro controller in DMA mode which the output will be duty from the MPPT code.
Now i just want to generate PWM from correspond duty which is from MPPT code. i have taken Timer 1 CH1 for this to get the PWM. is this correct way to generate pwm from duty.if not please suggest me how to generate pwm from duty with the help of timer?
is my approach is correct .i have given my code here below.
please let me know if there are any changes is required
CODE is attached in the pdf document.
