STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Unable to clear I2C BUSY bit in STM8S-discovery

Posted on March 01, 2011 at 11:28Hello Friends,  I am a newbie to the world of microcontroller programming. I am stuck with a deadlock and am not able to move even a bit. The BUSY bit in I2C.SR3 is set it is not getting freed, according to datasheet...

STM8S001J3M3

I am having trouble to find this component library

mcarv by Associate
  • 457 Views
  • 0 replies
  • 0 kudos

Setting TIM2_IER or TIM2_CR1 "bricking" STM8S001J3

I've now bricked 3 of these (or at least made them unable to be programmed over SWIM,) and the last one happened after I un-commented these two lines of code:TIM2_IER = 1; // Enable update interrupts TIM2_CR1 = 1; // enable timerThis s...

jlc3 by Associate
  • 522 Views
  • 0 replies
  • 0 kudos

STM8SK003 discovery. Issues with the ADC1_GetBufferValue function.

The problem is, the channel0 works fine, and keeps reading the data as it should be, but the channel 1 just reads the data once. So I keep watching the data changing in one channel, but in the other one it keeps like it is.There is any problem with m...

mcarv by Associate
  • 488 Views
  • 0 replies
  • 0 kudos