AnsweredAssumed Answered

stm8l052c6 mcu for my project  MPPT

Question asked by agrawal.deepak.003 on May 4, 2018
Latest reply on May 4, 2018 by Bogdan Golab

Hi friends,

I am using STM8L052C6 MCU  for my project  MPPT  and I work on register basis programming  so I generate complementary PWM (on TIM1_CH1 and  TIM1_CH1N)  and  get  ADC  value from ADC Channel 0 and 1 .

These  are working individual fine . But I use both in a program  so complementary  does not come.

I mean when I init  complementary PWM with dead time  on TIM1  it works and I init ADC and init complementary PWM  both then I get only ADC value and single PWM  but init complementary PWM  does not generate .

Please help in my project.

Thanks a lot.

Outcomes