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

STM8L101xx SR1 Changing Problem

Posted on June 18, 2012 at 17:23Hi everyone,I have serious problem about TIMx_SR1 register. This register is  0x07 at the normal time. I finished my code and i am using timer3 everything is ok. Sometimes my timer3 working wrong and i found problem.T...

RIDE 7 - no STLink support ?

Posted on June 13, 2012 at 14:47I'm relatively new to Raisonance/RIDE 7 for STM8 , and wondering that it seems not to support the ST-Link debug adapter, only it's own RLink. Is this correct ? Sorry to say so, but I consider this either poor performa...

STM8 SPI Wakeup

Posted on June 03, 2012 at 07:04I am using the STM8S as an SPI slave device.  The protocol I am using has a fixed sized buffer and I was thinking about using this interrupt to reset the buffer pointers.  The data sheet suggests that this interrupt c...

Nevyn by Associate II
  • 769 Views
  • 1 replies
  • 0 kudos

Defining table in Flash instead of RAM, IAR

Posted on June 11, 2012 at 16:36Hello, Wondering if anyone has been able to use IAR to put a table in ROM memory instead of the default RAM with init table.  I would like something like: code int a[] = {1,2,3,4,5,6} or int a[] @ ''abc'' = {1,2,3,4,5...

chealy by Associate
  • 1323 Views
  • 4 replies
  • 0 kudos

float rounding Cosmic compiler

Posted on May 10, 2012 at 13:01Dear all,I have some strange roundings with float values: for example when I write 0.05 in eeprom (calibration parameters) it becomes 0.049999997 when I read It.0.2 becomes  0,199999988.I use Cosmic compiler, I tried t...

jfelix by Associate II
  • 980 Views
  • 4 replies
  • 0 kudos

How to use <stdarg.h> ?

Posted on November 10, 2011 at 08:56Hi all,I'm using USART and communicating via rs 232 protocol and trying to send formatted strings by using stdarg.h C library to use;va_list, va_start, va_arg, va_end..but I don't know which library is supposed to...

konay61 by Associate II
  • 2255 Views
  • 6 replies
  • 0 kudos

Embedded Reference Voltage STM8L151

Posted on May 25, 2012 at 23:25Hello, VREFINT is specified as 1.224V +/-20mV with VDD = 3.0V. Is there any information available on the accuracy when VDD = 1.8V? Any guidance welcome!! Kentxu. #stm8l

ken2399 by Associate II
  • 608 Views
  • 1 replies
  • 0 kudos

STVD 3.1 errors and problems

Posted on May 30, 2012 at 10:24I'm having some problems with it. The problem is that randomly it starts to fail when you try to save any file (project, .c , . h files, etc). It happened to me 3 times already in the few days that i'm using it. One of...

pedro23 by Senior
  • 1165 Views
  • 5 replies
  • 1 kudos

STM8S UART Speed

Posted on June 04, 2012 at 10:52I am using the UART1_Printf example from the STM8S Standard Peripheral Library version 2.1 and I am having problems with the speed of the UART.  I am expecting to see 115200 baud but according to my logica analyser I ...

Nevyn by Associate II
  • 878 Views
  • 1 replies
  • 0 kudos