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

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
  • 716 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
  • 1005 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...

ADC 1 STM8S Discovery, speed is very slow. I am getting the speed as 1.152 milli seconds per sample, can you please tell me what is wrong with my code, I have attached the snapshot of code below.

Posted on July 17, 2017 at 11:06I want to read the ADC sample value connected to Port B pin 0, when I check the sampling speed, I get it as 1.152 milli seconds per sample, can you let me know if my setting are correct. I am not using timer1 in my co...