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

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
  • 455 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
  • 1006 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
  • 448 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
  • 600 Views
  • 1 replies
  • 0 kudos

STM8L: Need to use active halt mode

Posted on June 06, 2014 at 23:00I'm having trouble getting active halt mode to work on an STM8L.  I can get it to wake up from a halt condition using an external interrupt. However, when I try to do the same thing using the real-time clock, it doesn...

dvelasco by Associate II
  • 614 Views
  • 0 replies
  • 0 kudos

AWU Example

Posted on May 26, 2014 at 20:53Hi,i´m having some problem with my code. I can´t use AWU.Can anybody send me an example?

bruno2 by Associate
  • 931 Views
  • 2 replies
  • 0 kudos

M24LR discovery Linker error

Posted on March 11, 2014 at 18:09Hello, I am having an error message when I build my codes using the ''release'' mode in order to generate the .s19 file before programming my MCU. Running Linkerclnk -lC:\Lib  -o Release\discover.sm8 Release\discover...

roddyrpg by Associate
  • 652 Views
  • 1 replies
  • 0 kudos

DAC parasitic pull-up?

Posted on June 03, 2014 at 20:52I have working code for DAC testing, and it works fine on STM8L152C6 (Discovery board), but meet some problems with STM8L152K6. It works about as expected, excepting output has permanent additional value 0.88V. I trie...

igor by Associate II
  • 1092 Views
  • 1 replies
  • 0 kudos

Cosmic Linker - absolute memory address problem

Posted on May 29, 2014 at 12:17Hello, I'm using Cosmic STM8 32K Special Edition Free license v. 4.3.11 under STVD IDE. MCU: STM8L151 I'm trying to place 4 bytes with specific values into absolute memory address. I found in manual and even on cosmic ...

bogusz by Associate II
  • 1068 Views
  • 2 replies
  • 0 kudos