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

Need help in STNRG388A Programming with ST-Link v2

Posted on April 17, 2018 at 16:47Hi,I got the STEVAL-ISA164V1 board from Digikey. I need to program STNRG388A controller with ST-Link v2 using SWIM interface.I have tried ST Visual Programmer with the whole list of STM8 controllers one by one, but S...

STM8S and External Crystal

Posted on April 01, 2018 at 19:02I downloaded the selector tool, but there is no indication of which micros support an external crystal. I am interested in knowing if any of the valueline parts support an external crystal. Ideally, the 8-pin device ...

RTC on STM8L going fast forward

Posted on April 12, 2018 at 17:59 Hello, I'm using a custom board with STM8L151K4 MCU on batteries. Everything works awesome, power consumption is minimal, state is active-halt (MCU is woken via a button) with RTC on. RTC is used with LSE, but...

confusion in stm8s_eval_i2c_ee.c of STM8S_StdPeriph_Lib

Posted on April 09, 2018 at 17:29As a detailed look into STSW-STM8069 / STM8S_StdPeriph_Lib v2.2.0 : http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm8-embedded-software/stsw-stm8069.html, the Utilities/STM8S_...

ST-Link/V2 GDB Error

Posted on April 06, 2018 at 16:43Hello,I use STVD as IDE and COSMIC as compiler. I have opened a project and compiled successfully. And I tried to debug it. But when I tried to debug I got an error:'  **Connection error (usb://usb): gbd already runn...

Ram execution Problem

Posted on April 02, 2018 at 13:17Hello all,I'm trying to execute some part of my code from RAM as this part is executed in low power run mode, so Flash is turned off.All RAM function I used is working well except the delay fn.the code I use for dela...

What does PD3 in this schematics do?

Posted on March 29, 2018 at 03:47Sorry if I'm posting at the wrong forum but I'm having a hard time finding out what PD3 pin do in this product:https://my.st.com/content/my_st_com/en/products/evaluation-tools/solution-evaluation-tools/led-and-genera...

This question is going to sound ridiculous, but anyway here it is. Can i use pd5 and pd6 ports on stm8s003k3 32 pin part as adc inputs?

Posted on March 20, 2018 at 21:41Both pd5 and pd6 on 003k3 have same structure as on 003f3. So i feel its quite possible they can be used as adc's on 003k3. I didnt see any reference to that in datasheet neither on reference manual explicitly mentio...

Nishu K by Associate II
  • 928 Views
  • 4 replies
  • 0 kudos

Timer in STM8

Posted on December 15, 2016 at 07:27Hello. I am using a STM8  (STM8S208C8T6) and reading a code (not written by me) that employs a timer and its interrupt to call several routines.  Apparently the clock is set at 16MHz i.e. 0.0625uS. The settings of...

d_aliaga by Associate II
  • 1496 Views
  • 3 replies
  • 0 kudos