Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
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...
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...
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 ...
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...
Hi,How to reset the stm8s001j3. Im using STVP. Im leaving the Pin8 SWIM free. But still did not able to reset it.
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...
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...
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 ...
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 ...