STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Controller reset

Posted on July 24, 2017 at 11:11I know it is a common question but still we cannot get rid of it. We are using stm8s003f3 in our project. An ac motor is switched ON and OFF by a 12V relay (using timer).The controller frequently resets itself when a ...

Cann't enter capture interrupt subroutine

Posted on August 08, 2017 at 14:25hi all, I have recently tried the official code according to the application note AN2822: STM8S and STM8A high speed internal oscillator calibration. Since I use STM8S003k3 MC, I modified the code from timer 3 to ti...

Lei Sun by Associate II
  • 482 Views
  • 0 replies
  • 0 kudos

STM8L051F3 RTC Issue

Posted on August 02, 2017 at 23:33I'm struggling to initialize the RTC on an STM8L051F3 microcontroller. I've used the exact code below on an STM8L151K6 microcontroller with no issues. The code hangs waiting for the LSI clock to be ready. Interrupts...

Brian1 by Associate II
  • 630 Views
  • 2 replies
  • 0 kudos

stm8l151c8 Interrupt is not working

Posted on July 29, 2017 at 15:58Hi,I'm using stm8l151c8 controller, I'm trying to get an interrupt from PB0 but it's not working, here is my code:&sharpinclude 'stm8l15x_conf.h'&sharpinclude 'main.h'uint8_t __IO BlinkSpeed = 0;static __IO uint32_t T...

Test SPI on STM8S value line discovery evaluation board

Posted on July 28, 2017 at 23:12hi, I want to test the SPI function on the STM8S value line discovery evaluation board. I only have this EVB and some cables, LEDs. Is it possible to make some simple test of the SPI function, such as communicating be...

Lei Sun by Associate II
  • 485 Views
  • 0 replies
  • 0 kudos

How To Add Multiple Buttons With Analog Pins for Stm8

Posted on July 28, 2017 at 15:09While I know how to add a single button to a pin (as a digital input) for the stm8s103f3p6. What I want to know is how to add multiple buttons using resistive analog inputs.Specifically I wish to know how to add 12 bu...

Hello ,Sir/Madam I am working on STM8S (STM8S003F3) MCU . This is 20 bit MCU. I So i am using 2 timers TIMER1 CHANNEL2 (on pin no. PC7 ) and TIMER2 CHANNEL1 (on pin no. PD4) and i select ARF0 OPTION BYTE for TIMER1 CHANNEL2 then TIMER2 CHANNEL1 (on

Posted on July 25, 2017 at 10:57Hello ,Sir/Madam I am working on STM8S (STM8S003F3) MCU . This is 20 bit MCU. I So i am using 2 timers TIMER1 CHANNEL2 (on pin no. PC7 ) and TIMER2 CHANNEL1 (on pin no. PD4) and i select ARF0 OPTION BYTE for TIMER1 CH...