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

SPI Slave Mode Clock Settings

Posted on April 29, 2011 at 14:46Hi, is it required to setup the prescaler in SPI slave mode? And why can i scope a clock of 1Mhz, if i set a prescaler of 2 (f_Master/2) in master mode whereas i have an oscillator of 16Mhz. (standard STM8S-Discovery...

tnn1985 by Associate II
  • 1059 Views
  • 1 replies
  • 0 kudos

Slave select (NSS) pin management of SPI

Posted on April 26, 2011 at 15:10Hi all, Is there anyone who can give me some advice about the STM8S SPI? I tried to setup STM8S105 as the SPI master mode with the hardware slave select management mode which is transmit only mode. Here my source cod...

0690X00000603OUQAY.jpg

Firmware Library

Posted on April 11, 2011 at 17:08Where can I get the Discovery firmware library? The page stm8sfwlib no longer exists. Graybeard

radiation from mobile phones -> auto reset?

Posted on April 19, 2011 at 10:42Hello, I have just finished my project, but unfortunately I have a problem at the end. ;) My Stm8s Discovery is in a plastic box together with a cell phone. When the cell phone get switched on, the microcontroller re...

master by Associate II
  • 496 Views
  • 1 replies
  • 0 kudos

STM8s discovery dev.zip

Posted on April 15, 2011 at 00:09Where can I get the stm8s discovery dev.zip file? thanks, A. D.

Discovery board IR reciever

Posted on April 15, 2011 at 23:50I am trying to use the discovery board to work with an IR receiver to receive an IR instruction and then output onto the LCD what the instruction is. I tried looking at and trying to play with the example USART IrDA ...

Cannot communicate with STM8L-Discovery on W7-64

Posted on March 18, 2011 at 16:24I have just purchased the STM8L-DISCOVERY, I have problems getting the device communication functioning on my primary PC. I have installed all the same apps... on a secondary PC, on this PC all is OK.On my primary PC...

cd by Associate
  • 713 Views
  • 3 replies
  • 0 kudos

multichannel ADC

Posted on July 01, 2010 at 01:39Hello all, The analog to digital example provided, ADC, uses 1 analog channel (channel 9) only.  I am working on an application and need to convert 2 voltage channels. 1) is there a way to set up the A/D to cause an i...

C standard library

Posted on April 09, 2011 at 21:59C standard libraryhello,is that possible using a vast library of standard C with STM8S in STVD.like: #include <stdio.h>#include<string.h>#include<time.h>#include<math.h>

nad by Associate II
  • 616 Views
  • 1 replies
  • 0 kudos

Software reset in STM8

Posted on March 15, 2011 at 04:47Hi We want to perform software reset through software for the STM8L151c6T6 micro-controller. Can you please tell us the instruction or C function which can perform it? With regards Gagan Gupta #stm8l151c6t6