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

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
  • 1614 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
  • 811 Views
  • 1 replies
  • 0 kudos

stvd: one or more breakpoints are not positioned on valid lines

Posted on April 27, 2012 at 15:50HiHere is the bug I found in STVD:While trying to debug a program I set a breakpoint on a line, load the debugger and bam error:one or more breakpoints are not positioned on valid lines.I know this is a valid line, t...

remi23 by Associate II
  • 1463 Views
  • 5 replies
  • 0 kudos

Stm8 I2c Data Reception problem

Posted on June 18, 2014 at 07:38hi clive I am using Stm8 for using as i2c slave Device & stm32 as master . From master I am Sending 2 bytes of  Data after  address  Problem i am getting is I am getting Data Only once after that only ist byte of da...

Timer synchronicity between channels

Posted on November 27, 2013 at 11:42Hello, I am using a STM8L151K6T3 and need for synchronous rectifier purposes two clock signals with the same frequency, which both have to be absolutely of a symmetric rectangle shape. Secondly I do need a possibi...

d23 by Associate II
  • 520 Views
  • 1 replies
  • 0 kudos

Measuring 3 Channel PWM Signal

Posted on March 04, 2014 at 09:00 Hi All I want to measure PWM output of RGB controller with STM8S105 @16Mhz internal oscillator. The PWM signals are phase align and PWM signal frequency is 500 Hz.. PWM signal duty is changing between 0% and...

idurgun by Associate
  • 615 Views
  • 1 replies
  • 0 kudos

Detecting LSE failure

Posted on June 23, 2014 at 14:57I want to detect failure of the LSE using LSE_CSS. Main clock is HSI but LSE clcoks the RTC and provides a 50mS systick via the wakeup interrupt. When not busy the micro executes the HALT instruction to save power unt...