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

Resolved! Does STM8S- Discovery kit support Window OS (7, 8and 10)?

Hello guys,I found the datasheet on ST web was released in 2011.https://www.st.com/resource/en/user_manual/um0817-stm8sdiscovery-stmicroelectronics.pdfIn this old document, it state the hardware requirements as below:- USB cable type A to B- Computer...

robertw1 by Associate
  • 703 Views
  • 2 replies
  • 0 kudos

Recommendations for using timers

I've been struggling to demonstrate timer capabilities, with some success but a lot of unexpected failures. I don't see any "application notes" (ANxxx) in the documentation and very little howtos in the reference manual. Is there a list of recipes fo...

STM8S003F3P6 is protected

Hi everybody,I am using the STM8S003F3P6 development board (little blue one bought from AliExpress) and I am trying to program it using ST-LINK V2 (also bought on AliExpress). I wrote the code using STVD and now I would like to program the MCU. I tri...

STM8s programming and debugging error

Hello,I need to debug and program an STM8S MCU. However, when I try to debug using IAR, I encounter the following error:"Failed to set configuration with MCU name STM8S208C6: SWIM error [30006]: Comm init error: chip does not answer."When I try to pr...

SpeedyGonzales_0-1734424530776.png SpeedyGonzales_0-1734423391343.png SpeedyGonzales_0-1734424464089.png SpeedyGonzales_2-1734420742029.png

STM8 Manual Clock Switching Bug

Hi,I guess there is a bug in manual clock switching (file: stm8s_clk.c function:CLK_ClockSwitchConfig:( /* Wait until the target clock source is ready */ while((((CLK->SWCR & CLK_SWCR_SWIF) != 0 ) && (DownCounter != 0))) { DownCounter--; }Mus...

Resolved! STM8S103F3P6 slave SPI device with multiple CS

Hi, We are trying to solve some problems regarding our SPI bus (bus stability, due to multiple branches in noisy environments) and reduce costs by eliminating a SPI sensor and make our STM8 to read a NTC. We would like the system to answer as the old...

stm8s105k6c6

  Hello,  I'm looking to read and write on an stm8s105K6c6 of a hoover, and would like any information that would enable me to carry out these tasks (chip and st-link v2 wiring diagrams), as well as the most appropriate software... Thank you *This po...

mbr972 by Associate
  • 498 Views
  • 2 replies
  • 1 kudos

stm8s flash entire new program - how?

Let's assume I have a program that exposes a serial interface for commands and one such command is "load new program".  I upload the new program as hex strings and the old program writes this to flash and the resets.  Hopefully at this point the new ...