STM8 MCUs

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
  • 987 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
  • 718 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
  • 794 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
  • 367 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
  • 1188 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
  • 587 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
  • 527 Views
  • 1 replies
  • 0 kudos

Getting PWM caounter value

Posted on May 27, 2015 at 12:37hello,MCU: STM8S003K3In my application I using 16MHz of system clock and l create a PWM (in this case PWM_D) of 200Hz generated by 4MHz clock. Therefor my timer's counter value is (4M/200=) 20,000.Also, l have another ...

lior2 by Associate
  • 437 Views
  • 0 replies
  • 0 kudos