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

IAP issue

Posted on January 09, 2014 at 13:34Working on STM32F051. The bootloader works fine but the interrupt vectors in application file doesn't work even after locating vector table to SRAM. Any solution will be appreciated.

STM8L152 AES Library

Posted on January 09, 2014 at 13:33Is there a software AES library for STM8L? I can't use the 162 version because the package is too big.

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
  • 772 Views
  • 2 replies
  • 0 kudos

PWM input capture

Posted on December 18, 2013 at 17:59Hi,I'm trying to read a 5kHz square wave dc=50%. I'm using thw pwm input capture.The problem is that the program gives me a dc=100% and strange frequencies, but i cannot figure out why it happens.. can someone hel...

gibba by Associate II
  • 388 Views
  • 0 replies
  • 0 kudos

Same functions ; different result

Posted on December 17, 2013 at 16:19I am using STM8L-Discovery board, STVD and Cosmic Compiler 32k; and ST peripheral libraries(stn8l15x.h file revision number is 1.4/2010) I have runned the next code:#include ''stm8l15x.h''#include ''delay.h''void ...

ionutF by Associate III
  • 374 Views
  • 0 replies
  • 0 kudos

Same functions ; different result

Posted on December 17, 2013 at 16:15I am using STM8L-Discovery board, STVD and Cosmic Compiler 32k; and ST peripheral libraries(stn8l15x.h file revision number is 1.4/2010) I have runned the next code:#include ''stm8l15x.h''#include ''delay.h''void ...

ionutF by Associate III
  • 447 Views
  • 0 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
  • 473 Views
  • 1 replies
  • 0 kudos