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! 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
  • 514 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

STM8S001J3 Locked After Configuring SWIM Pin as GPIO

Hello STM Community,I am working with the STM8S001J3 microcontroller and facing an issue with configuring the SWIM pin (PD1) as a GPIO for LED control. Here is the problem:When I configure the SWIM pin as a GPIO, the MCU gets locked, and I am unable ...

STM8S001J3 setup for AIN2

This is driving me crazy. First time with this processor. I have AFR2 and NAFR2 set properly for AIN2 operation. I can verify that in the watch window and the disassembly window looks like it is working as expected. If I change the channel to AIN7 I ...