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

TIM2 input capture - what is wrong with my init

Posted on August 07, 2012 at 22:02 I have an embedded system built around a STM8S105 which, among other things, must measure the frequency of a pulsed input. The pulses are coming in on pin 29 (PD4/TIM2 CH1) anywhere from 0 to about 1200 pulses ...

Unexpected RTC Calibration changes

Posted on July 23, 2012 at 10:38Hi All,I'm using STM8L and trying to compensate the RTC in terms of the temperature changes. But the calibration value doesnt effect as the written on the Application Notes and Reference Manual. For example, when I si...

konay61 by Associate II
  • 2155 Views
  • 12 replies
  • 0 kudos

stm8S003 constants at a fixed memory address

Posted on July 27, 2012 at 14:00HelloI'm trying place constants at fixed memory address according to this link http://www.cosmic-software.com/faq/faq3.phpMy code is:#pragma section const {sver}const uint8_t SV_HIGH=1; const uint8_t SV_MID=2; const u...

janusz2 by Associate
  • 1067 Views
  • 4 replies
  • 0 kudos

stm8s105c6 i2c problem

Posted on July 25, 2012 at 16:49I used pe1 and pe2 pin for i2c but this pins not work normally now. i make high pe1 and pe2 but this pins always low but pe0 and pe3 can be high. how do i connect this pins for i2c? 

assert & Str2Int

Posted on August 01, 2012 at 16:21I am trying to use assert () to check amd make sure that my input is an integer.  I assign char choice[15]; u32 a; u8 n;  then I write n=Str2Int (*choice, *a); and it don't work, error bad argument type.   If I chan...

carnett1 by Associate II
  • 386 Views
  • 0 replies
  • 0 kudos

Problems with EWSTM8 of IAR

Posted on June 25, 2012 at 21:33I have a project with STM8L151 and I have a dozen of quality issues with EWSTM8. Since a few days ago, after the upgrade to Win7, I have been facing consantly crashes. It seems to me as it happens because of  LiveVie...

elil by Associate III
  • 506 Views
  • 2 replies
  • 0 kudos

issue with stm8s207rbt6 and eeprom

Posted on July 24, 2012 at 15:13Hi, I'm using stm8s library 1.1.1.Cosmic C 4.2.10 Compiler.the mcu is stm8s207rbt6 I'm experiencing an issue writing a byte in the data eeprom while I'm receiving data on the uart3 (tried also on the uart1 and it's th...

Bug in ADC1_GetConversionValue() ?

Posted on February 20, 2012 at 12:46I was trying to get the ADC working on an STM8S discovery, but left and right alignment setting of the ADC gives different results. In the file stm8s_adc1.c of the standard firmware library there is:/* Left alignm...

klaasdc by Associate II
  • 621 Views
  • 1 replies
  • 0 kudos