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

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
  • 451 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...

angelo_pa by Associate II
  • 1040 Views
  • 4 replies
  • 0 kudos

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...

use STM8S's I2C to read DS1302 questions

Posted on July 11, 2014 at 03:13I use STM8S105C6 to read DS1302;I have try the ways in the datasheet to read the DS1302's data, but it  was fail;STM8S105C6  need  ACK signal ,but DS1302 can't output ACK signal ;How can I do it;Thanks for your reply ...

timerc by Associate
  • 674 Views
  • 1 replies
  • 0 kudos

run menu disabled in ST Visual Develop

Posted on August 01, 2014 at 12:09I'm using STVD+cosmic compiler and STM8s-discovery board, i test a little bit and go away for a long time.After i change the new computer and install STVD, cosmic,plug the USB cable to board , the board running fine...

ekpol by Associate II
  • 500 Views
  • 1 replies
  • 0 kudos

getting started with STM8S003F3

Posted on July 04, 2014 at 14:17I have to get started for STM8S003F3. I have made a custom board.1. What debugger to choose?2. What IDE, freeware preferably for c language3. Any example code to get started

SWIM DeviceID Read & ROP check-method?

Posted on February 23, 2014 at 21:47Hi, I am developing a standalone programming board for stm8 devices with SWIM interface. Development is quite far but I am still facing some questions I see nowhere answered: 1: in Flash Programming Manual it says...

at1 by Associate II
  • 1700 Views
  • 8 replies
  • 0 kudos

Where is the device ID register?

Posted on July 27, 2014 at 19:47I’m developing a programmer driver that runs through the SWIM.I now have all of my SWIM macros working, and I’m ready to move on.I am currently working with an STM8S207 device. Where is the Chip ID register? I’ve comb...

how to distinguish the two sets of UART1 in STM8L151

Posted on May 01, 2014 at 09:32Hi Guys: May I ask how to distinguish the two sets of UART1 in STM8L151 ? There are UART1_TX = Port A2 UART1_Rx = Port A3 or UART1_TX = Port C3 UART1_Rx = Port C2 I confused about how the STM8L know I am using which se...

I2C Clock Stretching issues

Posted on July 17, 2013 at 14:30Hello, I am using STM8S105 as an I2C slave. A strange thing happens when I disable I2C_StretchClockCmd(DISBALE). When the master asks for data, the first byte is always its slave address, followed by the TX buffer. Wh...

werner by Associate
  • 838 Views
  • 1 replies
  • 0 kudos