cancel
Showing results for 
Search instead for 
Did you mean: 

stm8l052c6 mcu for my project MPPT

deepak972028
Associate
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.

2 REPLIES 2
Posted on May 04, 2018 at 14:39

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
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...