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

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
  • 862 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
  • 1608 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...

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

Stm32User by Associate III
  • 438 Views
  • 0 replies
  • 0 kudos

STM8 Workbench and breakpoint

Posted on June 09, 2014 at 20:26Hi,I use a stm8a-discovery board and IAR workbench for STM8 1.42 to developp a project.I try to DEBUG my application but I have a problem when I use breakpoint or break the application execution because the MCU stop w...

Timer question

Posted on June 16, 2014 at 08:55I'm very new to electronics and have a basic question regarding timer setup. I'm using an STM8L151K6 and am trying to configure TIM2 to simply generate an interrupt every 30 seconds using the standard peripheral libra...

scott by Associate II
  • 982 Views
  • 3 replies
  • 0 kudos