STM8 MCUs

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
  • 160 Views
  • 2 replies
  • 0 kudos

STM8S SPI: how to use it in 3-wire mode?

Hello,I want to connect STM8S003 & ADXL345 (accelerometer) using SPI 3wire mode (lines ~CS, SCK & MOSI as single bidirectional data line).According to 'RM0016 Reference manual STM8S...', the register SPI_CR2 of STM8S has BDM (Bidirectional data mode ...

Vadim_ by Associate II
  • 171 Views
  • 0 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...

ST-LINK V2 windows 10

Hello ,  I have 5 ST-LINK/V2 and 5 products. Each programmer is connected to one product at a time. I am using Windows 7 and a USB hub. Everything works fine, but when I migrated to Windows 10, I encountered an unstable programming issue. I updated t...

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