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

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
  • 937 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
  • 1755 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
  • 778 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
  • 503 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
  • 1070 Views
  • 3 replies
  • 0 kudos

Where can I get a complete description of SFRs

Posted on June 12, 2014 at 21:15I am new to STM parts.  the data sheet I have from ST on the 8 bit MCU does not have a detailed description of SFR's.  So I need someone to post a link to the files because I have looked all over and found a bunch of ...

tony by Associate
  • 493 Views
  • 0 replies
  • 0 kudos

TIM1 Complementary Signals

Posted on January 17, 2014 at 19:41Hi, I would like to know if someone had been capable to use  the complementary outputs of timer 1, I found  an example in the standard peripheral library called TIM1_ComplementarySignals_DeadTime_Break_LockI flashe...

aaron2 by Associate
  • 647 Views
  • 1 replies
  • 0 kudos