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

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
  • 806 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
  • 504 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
  • 757 Views
  • 2 replies
  • 0 kudos

Software reset (cold reboot)

Posted on November 15, 2013 at 18:36Hi, I'm looking for the proper (standard?) way for cold rebooting an STM8. I see that the first interrupt handler in the interrupt vector is what is called on startup. With my COSMIC compiler, the name of that fun...

shabbyx by Associate II
  • 2554 Views
  • 2 replies
  • 0 kudos

ATOMTHREADS RTOS for STM8 compiling error in IAR

Posted on December 11, 2013 at 14:16Hi,I have downloaded an opensource RTOS for STM8 from the below locationhttp://cloud.github.com/downloads/kelvinlawson/atomthreads/atomthreads-1.3.tar.gzFollowed the instructions to build the project, I got the be...

rajesh2 by Associate
  • 669 Views
  • 0 replies
  • 0 kudos

SPI disabled?

Posted on December 11, 2013 at 12:16Hi,I am using STM8L152C6. It is required to configure the SPI in the Master mode bi-direction communication.I used the following library functions to perform that:CLK_PeripheralClockConfig(CLK_Peripheral_SPI1, ENA...

design by Associate
  • 569 Views
  • 0 replies
  • 0 kudos

doubts about how to start the PC @8080

Posted on December 10, 2013 at 23:55Hi guys, I have posted a doubt in stm8-discovery...but due to none response, I am trying to post it here...   this is the problem[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM8Discovery/Flat.aspx?RootFolder=/pu...

lmx1 by Associate II
  • 408 Views
  • 1 replies
  • 0 kudos