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

Issue with STM8S103F3 using wait for interrupt assembly call

Hello,First off, I'd really like to thank the community for being there to help, and I really appreciate any help or guidance offered. I am trying to put an STM8S103F3 MCU into wait mode until an external interrupt on port A triggers. I make the asse...

JEREMYB by Associate
  • 601 Views
  • 1 replies
  • 0 kudos

How to detect if debugging session is active on STM8S103?

Hello,Is there a way to detect if debugging session is active (eg. IAR debugger is attached)?Datasheet says DM and SWIM registers are only accessible from SWIM interface, not from STM8 bus.Unfortunately IAR doesn't like the WFI instruction during deb...

AToth by Associate
  • 451 Views
  • 0 replies
  • 0 kudos

Why does USB/Debugger Time out when running Overnight?

I am running code overnight using the STVD debugger and an STM8S discovery board as the interface. After many hours the debugger loses connection to the target. "Stop Program" is grayed out under the "Debug" menu. The "watch" variables are not bei...

ADC scan mode not working correctly on STM8S105C6 test board.

I would like to use 2 ADC channel in my program (0,3) using STM8S105C6. I tried to use ADC scan mode and tried to read buffer. it seems that it reads channel 0 and channel 3 for the first run but with change in analog volatge on both channels , only ...

Resolved! STM8L001J3 : SWIM and reset pin

Hello,I would like to use the STM8L001J3. I am very new with STM8 family. I used to using STM32. STM8L001J3 seems to be great for my application, i started to draw the schematics but i wonder how to connect the debug probe. For VCC, VSS, and SWIM pin...

How to stm8s001j3 reset

Hi,How to reset the stm8s001j3. Im using STVP. Im leaving the Pin8 SWIM free. But still did not able to reset it.

Nm.1396 by Associate
  • 445 Views
  • 0 replies
  • 0 kudos

STM8S208C8 SWIM error [30006]: Comm init error: chip does not answer

Hi,We are using STM8S208C8 in our product. When i try this to connect through ST-Link V2 SWIM connector, straight away i am getting SWIM error [30006]: Comm init error: chip does not answer. The MCU VDD is connected to +3.3V and i measured +3.29V. W...

SSRIN by Associate
  • 3169 Views
  • 4 replies
  • 0 kudos

Resolved! How do I start developing for ST8 Microcontrollers

Hi,I was thinking of developing a small project using ST8 processors, but I did not find information on what do I start from. The link https://www.st.com/en/microcontrollers-microprocessors/stm8-8-bit-mcus.html#lists commercial compilers. Are there f...