STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 425 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 ...

Resolved! Does ST-Link/V2 support STM8S103F3 ?

Dear All,I started working on the STM8S Mcu's recently. Here I have some basic queries.1)By using this ST-Link V2 in circuit debugger and programmer. (ST-LINK/V2 - ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 - STMicroelectronics) Can...

Halt mode and Current consumption

Hi, I have a STM8S001J3. I want to put my uC in halt mode because I'm on battery. The problem is that halt mode consume around 1mA when the interrupts are enabled. I need interrupts to wake up from halt mode with my GPIO pin so I can't disable it.I t...

COSMIC C Compilation error for STM8S003F3

 This is one of function in code to implement WS2812 LED protocol on STM8S003F3.And I am getting this error compilation.----------- Project ws2812_led - STM8 Cosmic - Configuration Debug -------------Compiling main.c...cxstm8 -i..\led_blink\inc +debu...

vatsal_1770_2-1732674510642.png