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

sdcc 3.5.0 rc1

Posted on June 11, 2015 at 18:18sdcc 3.5.0 is to be released soon. There already is release candidate 1. You can download the release candidate and have a look at it. The more eyes on it, the less likely are hidden bugs. The main changes from previo...

COSMIC LICENSE error

Posted on June 13, 2015 at 18:18I have got cosmic license file and copied it to ''license'' sub-directory of the compiler. But while compling getting error as  FlexLM System clock has been set back. I contacted to cosmic they replied as This messag...

jagspaul by Associate II
  • 1192 Views
  • 2 replies
  • 0 kudos

openocd

Posted on May 22, 2015 at 18:19Hello,I try to integrate a STM8 into an existing projects build system. I need basic support to flash a controller and ideally some basic debugging support. I've managed to do this for a STM32 controller with openocd. ...

torsten2 by Associate II
  • 871 Views
  • 2 replies
  • 0 kudos

Dubts, how to reset stm8s

Posted on December 01, 2013 at 08:05Hi guys, I am new to STM8s discovery... I have done the following code: stm8/     ;mapping.asm exists ...     segment 'rom'      start     bset $5011,#0;sets PD0 to input loop_main     ldw X,#$FFFF loop_delay    ...

lmx1 by Associate II
  • 1057 Views
  • 3 replies
  • 0 kudos

Reading data from array

Posted on May 29, 2015 at 00:03Hi, I'm developing application which include I2C communication, so I have implemented code from AN8231. So far it works fine and I got data from I2C peripheral in input_buf[]. Data are valid, and I can see them in watc...

delkons by Associate
  • 494 Views
  • 1 replies
  • 0 kudos

PWM Input measurement - TIM1

Posted on May 29, 2015 at 15:14Hello all,I want to use TIM1 and its PWM input mode to obtain duty cycle and frequency of measured signal on STM8S003. But I have uncertainty about measured value.Snippets of codevoid initialization () {//System Clocks...

STM8L Discovery basic GPIO Interrupt

Posted on February 11, 2015 at 19:38 Hey, I've buyed the STM8L-Discovery board because it seems to be interesting. I've started reading manual and want to build an simple application: a string is be displayed on the lcd and I want to s...

flol2204 by Associate
  • 1522 Views
  • 2 replies
  • 0 kudos

STM8 STVD coding help needed

Posted on May 27, 2015 at 14:04hello again, how to do bit handling in STVD for STM8s for ex i want to set PA1 = 0 or CEN = 1, enable timer1. i dont see any header file supporting the same. please give me some examples.thank you #bit-handling #stm...

kumaresh by Associate II
  • 725 Views
  • 1 replies
  • 0 kudos

ST8 STVD simulator help needed

Posted on May 27, 2015 at 11:21hello, i am trying to understand how plotter works on STVD simulator. when i go in simulation mode and Select 'View>I/O Stimulation' , i dont see any pin name like PA1 or PD1 etc and i can only see RESET, IRQ1 to IRQ29...

kumaresh by Associate II
  • 653 Views
  • 1 replies
  • 0 kudos

I2C Slave

Posted on May 17, 2015 at 21:28I've been trying to work out how to make the STM8S act as an I2C slave and to be honest I'm failing.  I think I've set everything up according to the reference manual but for some reason I'm not getting the expected in...

Nevyn by Associate II
  • 2358 Views
  • 3 replies
  • 0 kudos