STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 821 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
  • 649 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...

Cannot change the option byte AFR7 for beeper using STVP

Posted on July 23, 2017 at 17:20Hi all,i'm currently using STM8S003K3 and want to change the option byte for the beeper using STVP. But after I connected the discovery board to my PC, I can't change AFR7 because it is ''reserved''. Anyone know what ...

0690X00000607eHQAQ.png
Lei Sun by Associate II
  • 887 Views
  • 1 replies
  • 0 kudos

How to understand chapter 2.1.5 in the DocID16125 Rev 6

Posted on December 07, 2016 at 14:38Hello, excuse me persistence.In document said: 'If an interrupt is cleared or masked when the context saving has already started'. What is it meant?  And further. How to can prevent nested interruption from pendin...

STVD improvements

Posted on December 21, 2016 at 09:10Dear ST!As a hobby STM8 user I am forced to use the STVD with Cosmic compiler because this is the only free development environment with debug capabilities.I would have the following suggestions to make the usage ...

0690X00000605ttQAA.png 0690X00000605tyQAA.png 0690X00000605ucQAA.png 0690X00000605ScQAI.png

STM8S TIMER1 ONE PULSE MODE

Posted on July 15, 2017 at 07:28Hello everyone ,I am trying to program STM8S timer1 in One Pulse mode, after reading the data-sheet of STM8S003F3P6,I have understood that how to program timer1 in one pulse mode but I don't understand that after  pro...