STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Help me get string for stm8l152c8 through usart communication

Posted on September 13, 2014 at 08:33I'm trying to get a string from usart to stm8l, but when i got 2byte char, the RXNE is clear, and i can't get anymore char.My code is:main{    int8_t count = 0;    getdata  = '''';    while(1)    {        getdata...

chuanut4 by Associate II
  • 1016 Views
  • 6 replies
  • 0 kudos

Using COSMIC C - trying to understand Clock setting

Posted on August 29, 2014 at 16:00Hello there, I am playing with my STM8s Discovery board but unable to set the clock properly. Can someone please put some light on what I am doing wrong. My code is as follows:---------------------------------------...

Not Able to drive GPIO pin on STM8L Discovery board

Posted on July 31, 2014 at 12:54Hi ,I am not able to see any voltage changes on GPIO pins of stm8l discovery.I have written the code, its compiling properly and i also could see the ODR register changing its value .I am using STVD and cosmic compile...

sachin2 by Associate
  • 298 Views
  • 1 replies
  • 0 kudos

IAR OUTPUT FILE

Posted on August 28, 2014 at 11:44Hi Iam new to STM8S,Help me 1) STM8S value line discovery board Connected to the PC 2) EW STM8S Installed 3) compile the sample code -The out put of compile code is not in Hex file.    it is on .outfile. HOW TO CH...

baskaran by Associate
  • 373 Views
  • 0 replies
  • 0 kudos

ADC1 with with COMP1?

Posted on August 21, 2014 at 21:18Hello,I am working on an application which requires the use of the ADC1 peripheral as well as the COMP1 & COMP2 peripherals. There does not appear to be anything in the datasheet against this, but there is a note in...

gtrotter by Associate
  • 338 Views
  • 0 replies
  • 0 kudos

Swim protocol

Posted on August 08, 2014 at 13:36I'm trying to program an stm8s105 using  icp method through the swim interface and using an STM32F4 discovery board as host and a firmware written by me. I can enable the swim interface of the stm8s and i can read a...

STVD on Win8 crashes if file name too long

Posted on September 02, 2013 at 12:58Regretably I have to use win8 on my work machine, and have come across to two issues with STVD running on this OS. 1. Every time I open a project I get the following error:Access to C:\Program Files (x86)\STMicro...

STM8L152C6T6 i2c communication

Posted on August 18, 2014 at 14:05 My discovery board  does not communicate with 5v i2c devicei am checking the PORT C 0th pin as gpio pin it does not work.But other pins are working correctlyhow can i solve that problem?Thanks

vtec by Associate
  • 297 Views
  • 0 replies
  • 0 kudos

Help me on ST Visual Develop!

Posted on August 13, 2014 at 04:32I have problem when I use ST Visual Develop  to debug a program on my STM8S board. I don't know how to fix it.Can you give me solution?Thanks you so much

0690X000006051rQAA.png