STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

stm8s208cb(Slave) and stm8s105c6t6(Master) I2C Communication

Posted on February 05, 2016 at 14:24Hello,I want to use I2C communication between stm8s208cb(slave) and stm8s105c6t6(master). I use stm8s standard peripheral library.stm8s105c6t6(master) code:-in the void mainCLK_HSIPrescalerConfig(CLK_PRESCALER_HSI...

erhan by Associate
  • 523 Views
  • 1 replies
  • 0 kudos

Reading a battery voltage on STM8S003F3

Posted on May 26, 2015 at 21:06Hey guys, I currently have an STM8S003F3 that is being powered by a battery. I want to be able to read the battery voltage, but am trying to reserve pins. I am trying to read the battery voltage off the Vdd pin and com...

cfleck by Associate II
  • 685 Views
  • 1 replies
  • 0 kudos

Push mechanism on stack fails during the function call when we select “Minimize code size (+compact)� option for optimization from the drop-down list in STVD with Cosmic compiler (4.4.2) for STM8

Posted on January 29, 2016 at 14:13Hello Everyone,I am facing some issue with cosmic compiler version 4.4.2 for STM8. I have seen following run time problems.Push mechanism on stack fails during the function call when we select “Minimize code size (...

Tutorial for stm8 development using free tools (sdcc)

Posted on March 28, 2014 at 14:51There now is a complete free toolchain for stm8 development (in particular we have an sdcc port for stm8 and we have stm8flash). I wrote a short tutorial on how to get started with stm8 development using free tools o...

code size of stm8

Posted on January 25, 2016 at 05:30Hi all,I am using IAR for stm8, but I do not know how to check code size(flash, RAM...), could you tell me where I can check?Thanks very much

np1 by Associate II
  • 554 Views
  • 2 replies
  • 0 kudos

STM8 Low powering

Posted on January 23, 2016 at 11:30Hello, I'm thinking about building a small device, like a badge or business card. I mainly want to display temperature on small alpha numeric display. Im looking for documentation about low powering in order to pow...

bobaston by Associate II
  • 447 Views
  • 2 replies
  • 0 kudos

stm8flash ST-Link,ST-Link/v2 tool now supports all STM8

Posted on December 30, 2015 at 12:48stm8flash, the AFAIK currently only free tool for using the ST-Link, ST-Link/v2 now has support for all STM8 parts. The support is currently in my fork at https://github.com/spth/stm8flash, but I guess Valentin wi...

Where are the STM8S Firmware Libraries?

Posted on September 11, 2015 at 18:53ST's documentation keeps mentioning the STM8S firmware libraries, but no document number is listed. I've been searching ST's site for some time, but no results returned. Maybe they've been renamed?Any info or sug...

ih55t by Associate
  • 521 Views
  • 3 replies
  • 0 kudos

Error in complier stage

Posted on September 09, 2014 at 15:19Dear sir,    I am starting to study STM8S and build a simple code. But after complier, it show '' &sharperror cpstm8 stm8s103.h:600(0+6) missing ; main.c:  The command: ''cxstm8 +debug -pxp -no -l +mods0 -pp -i''...

attach only stm8

Posted on January 08, 2016 at 14:06is it possible with the stvd to attach / connect only to a already running target via swim? #swim #stm8 #attach