STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8S001J3M3

I am having trouble to find this component library

mcarv by Associate
  • 338 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
  • 412 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
  • 384 Views
  • 0 replies
  • 0 kudos

STM8 - Unable to use timer2 with interrupt

I am trying to run timer interrupt in STM8 microcontroller. But I am not able to do so.Here is the code snippet. void TIM2_Configuration(void) { TIM2_DeInit(); CLK_PeripheralClockConfig(CLK_PCKENR1_TIM2, ENABLE); TIM2_ARRPreloadConfig(EN...

DPaga by Associate
  • 816 Views
  • 1 replies
  • 0 kudos