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

Double press, long and short press

Hi all,I am using the stm8l152c6 discovery board which has one user button.I would like to implement that the button pressed once, blink the led, when pressed twice, the led off, also button pressed for 5 sec or less than 5 sec, do somthing.Please as...

HNdal by Associate III
  • 2204 Views
  • 5 replies
  • 0 kudos

STM8L151F2 power management

Hi trying to reduce the current consumption in STM8L151F2 series controller in HALT modebut unable to achieve the 0.4uA current rating as mentioned in datasheet, also want to make the automatically shift the MCU on HSC, but it is not happening, as my...

AG1 by Associate II
  • 552 Views
  • 0 replies
  • 0 kudos

uint32_t variable value using STVD and cosmic FSE compiler.

Hello, I'm working on a project using STVD and the COSMIC FSE compiler to program a stm8s207 processor and having trouble assigning large values to a uint32_t or unsinged int variable. I follow different syntax but they all yield the same result. The...

jjsnz by Associate
  • 454 Views
  • 0 replies
  • 0 kudos

STVP DLLs report issue if connecting to ST-LINK v2

Hi all,I started to develop a small console application in C++ , based on the following document : https://www.st.com/content/ccc/resource/technical/document/user_manual/90/cb/42/ef/2e/53/46/75/CD00060186.pdf/files/CD00060186.pdf/jcr:content/translat...

FMatt by Associate II
  • 589 Views
  • 2 replies
  • 0 kudos

COSMIC checksum and linker issue

Hi !I already had some checksum problems with older versions of COSMIC. They have been fixed by COSMIC.btw; Do not set breakpoints inside code while running checksum functions...Now I have a new issue:STM8S207SB with modsl setting.I like to use one o...

hjs by Associate II
  • 751 Views
  • 2 replies
  • 0 kudos