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

STM8L I/O port register configuration

Posted on August 06, 2013 at 11:54I finally found the I/O port hardware register map in the hardware manual but there is no description of how to confingure the registers!Any one know where ST have hidden this vital information?The old ST7 manual ga...

STM8L Discovery USART

Posted on July 03, 2012 at 19:59i want to transmit using the stm8l152 on the stm8l discovery board. For that i have used sys config registers to remap the clk and the tx pin to the Port A. I use stvd and raisonance compiler. i cannot understand why ...

Compilation Issue

Posted on January 09, 2014 at 13:32There's an error which occurs quite commonly:  proj_name.lkfsymbol_f_NonHandled_Interrupt multiply defined in stm8l15x_it.o  While searching for the above string, there ain't any multiple definition for the same, a...

ST-LINK/V2 not seeng MCU

Posted on July 12, 2012 at 20:08Device: ST-LINK/V2 with firmware V2.J15.S4MCU: STM8L101K3T6i'm trying to connect MCU through the SWIM  in ST visual programmer but always getting ''Check the SWIM cable connection and check all the needed pin connecti...

khorght by Associate II
  • 1321 Views
  • 4 replies
  • 0 kudos

Disable pull down on MISO

Posted on January 10, 2014 at 11:01Hello,I want to disable the pull down of the internal SPI module, as I use the external slave pull down, is there a way to do it?EDIT:The MISO is driven only when NSS is released, handling NSS through software disa...

Debug (printf)

Posted on May 29, 2013 at 13:40Hi all, Just a little question about ST VD and STM8. Is it possible to use the ''printf'' or ''putchar'' functions in debug mode to display a message in a console or something like that ? (I mean without using USART) I...

ST-Link/V2 Programming Issue

Posted on September 06, 2013 at 12:39I am trying to load program using STVD (ST-Link/V2) but getting the error ''can't communicate with the device''. I am only applying Vcc and Gnd to controller + 4 wires of SWIM cable. What should I do? Do I need t...

harsh by Associate II
  • 818 Views
  • 2 replies
  • 0 kudos

STM8L152C6T6 - PWM output compare

Posted on December 17, 2013 at 01:26Hi everyone,I need to generate a square wave and I've written some code but it doesn't work as i want. Can anyone help me with my doubts please?first of all: I'm not sure that the following registers are in hexade...

gibba by Associate II
  • 511 Views
  • 1 replies
  • 0 kudos

STM8L152C6T6 - frequency counter

Posted on December 16, 2013 at 00:23Hi everyone,I'm working on a frequency counter and I'd like to use the internal timers of the mcu. Do some application notes exist related to this topic? I couldn't find any link. Otherwise, do anyone of you have ...

gibba by Associate II
  • 767 Views
  • 2 replies
  • 0 kudos