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

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
  • 692 Views
  • 1 replies
  • 0 kudos

STM8S 103F2 Erase/write cycles - (program memory) NRW - 100000?

Posted on July 19, 2012 at 20:18Hello, I have question about parameter of MCU STM8S 103F2: ''NRW - Erase/write cycles - (program memory)'' I read document:  ''Specification: STM8S103K3 STM8S103F3 STM8S103F2'' (DocID15441 Rev 9/ CD00226640.pdf ) on ...

Timer1 reset on trigger

Posted on July 07, 2012 at 20:24I found something very funny/weird when using TIM1 to measure the frequency of a signal: Set TIM2 and TIM1 to use the same prescaler (e.g. 8). TIM2 is configured to generate PWM with period 10000, in this case resulti...

klaasdc by Associate II
  • 1213 Views
  • 4 replies
  • 0 kudos

fMaster > 16 MHz on STM8S207: running slower?

Posted on June 28, 2012 at 02:29Hi all,I'm moving a design from STM8S105 to STM8S207.I'm thinking of raising the clock speed from originally 16MHz to 24 MHz in order to get more MIPS from the core.However, for clocks > 16 MHz, the flash memory requi...

nholzem by Associate II
  • 548 Views
  • 2 replies
  • 0 kudos

Gpio-Input configuration

Posted on May 22, 2012 at 17:59I'm starting to work with STM8. I'm not finding a way to configure the ports as pull-down.

Timer as frequency/RPM counter, CapCom offset?

Posted on June 13, 2012 at 21:02The original post was too long to process during our migration. Please click on the attachment to read the original post.

klaasdc by Associate II
  • 633 Views
  • 2 replies
  • 0 kudos

Problem with STM8S103 ADC

Posted on June 27, 2012 at 05:08I am using STM8S103 to measure three channels of voltage signals named vs12, vs5 and vs3 respectively. Timer 4 is enabled to generate interrupt every 10ms and three voltage signals are measured alternately. That is, i...

tangsg by Associate
  • 659 Views
  • 2 replies
  • 0 kudos

Cosmic or the worse compilator/linker ever programmed?

Posted on May 30, 2012 at 10:35I'm coding my 3rd testing project on stm8, to be exact in 2 different mcus, 103 and I'm using cosmic compiler, and i didnt have any problem with the previous 2 projects (because i didnt verify the size).The problem is...

pedro23 by Senior
  • 1832 Views
  • 5 replies
  • 0 kudos