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

Out-of-Range Address Warning During .s19 File Import in STVP

Dear Members of the ST Community,I hope this message finds you well.I am writing to seek assistance with an issue I encountered using the STVD-STM8 software. The details of my setup are as follows: Software: STVD-STM8 version 42.0.0Target MCU: STM8S1...

walen_1-1746157647390.png
walen by Associate III
  • 324 Views
  • 2 replies
  • 2 kudos

Resolved! STM8AF5288 halt() supply current

Hi, I use a PCB that is reduced to one STM8AF5288 and 3 100nF Capacitors. No other components, all are removed. I supply it with 3,3V. I want to reduce current consumption in halt-mode to 4,5uA. Some others posted simliar problems, I could never find...

HolgerG by Associate
  • 240 Views
  • 2 replies
  • 0 kudos

SMBUS communication Interrupt mode using STM8

Could you please assist me with the sample code for SMBUS communication using interrupt mode in STM8S with a battery IC BQ76930(I am trying to read the temperature and voltage and Device ID)?  

J_Thomas by Associate II
  • 152 Views
  • 0 replies
  • 0 kudos

Resolved! Downloading Cosmic C compiler

Hello,I am trying to start a new project on a STM8s003K3 discovery kit, i have downloaded and installed STVD without a problem but I can't download Cosmic C Compiler. The download link in the Cosmic site is not working, I have tried anything I can th...

enis_isik by Associate II
  • 3965 Views
  • 6 replies
  • 0 kudos

STM8AF528 flashing issue

Hi there,If I am flashing the .s19 file using st visual programmer I have observed that there is a flash memory corruption. But If I am flashing this with visual developer I am not facing any issue.Can anyone tell me is there any alternate SW tool fo...

vignesh_st3_0-1745411639058.png

Resolved! STLUX adc trigger

I am trying to configure an STLUX285 SMED to trigger an ADC measurement but am unable to find the documentation of the registers required to do this.RM0380 claims "SMED as ADC trigger source" in section 21.16."AFR_IOMXP2" is supposed to have a bit ca...

mschn.17 by Associate II
  • 231 Views
  • 1 replies
  • 0 kudos

How To get internal RTC time using STM8L050J3

Hi All,  We are using the STM8L050J3 chip and trying to get time using an internal RTC with LSI. We are getting some responses but are not sure what it is. Here is our result (TIME: 3108:4877:2644) and code. We are using the cosmic compiler. Could an...

Cpg2 by Associate II
  • 331 Views
  • 3 replies
  • 0 kudos

Resolved! STM8L050J3: SWIM and USART TX on same pin?

Hi. I am designing Schematic for STM8L050J3 chip. In that, pin1( first pin) , in datasheet they mentioned as SWIM in port A0 of pin1 and USART TX in port A2 of pin1. I want to use this pin as SWIM for programming as well as USART for data transmissio...

Cpg2 by Associate II
  • 655 Views
  • 7 replies
  • 0 kudos