Skip to main content
Visitor II
May 4, 2018
Question

stm8l052c6 mcu for my project MPPT

  • May 4, 2018
  • 1 reply
  • 942 views
Posted on May 04, 2018 at 14:00

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.

    This topic has been closed for replies.

    1 reply

    Graduate II
    May 4, 2018
    Posted on May 04, 2018 at 14:39

    Please edit so the entire question isn't in the summary

    Visitor II
    May 4, 2018
    Posted on May 04, 2018 at 14:45

    Maybe  the 'Ask the question' welcome message is somewhat misleading when someone reports an issue. I would title this field as 'Headline'...

    Too many people have this problem so maybe it's time to improve the issue reporting page...