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

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
  • 444 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
  • 437 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
  • 3121 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...

Hello, i am using STM8L151C8T6 for learning purpose where i want to access the port of the MCU. I have initialize the port B and Port E of the controller high with the power on. (PB.0 and PE.0) and configure them with pull-up and in fast mode.

when i probed the pin of the respected port and view them on the MSO i found the delay between them.Port B was initialize first and port E later even though initialize the Port E first and Port B later. i don't want this delay between the port E and ...

0690X00000Arxy1QAB.png

Resolved! STM8 Standard Library and Cosmic produces huge code?

I'm using ST Visual develop and Cosmic to program a STM8S003K3 and I'm thought it would be nice to use the STM8 Standard Library (downloaded from ST.COM). Within a very short time I got errors telling me that I tried to put more code in the MCU than ...

Willunen by Associate III
  • 5050 Views
  • 30 replies
  • 1 kudos