STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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

Measuring Temperature without Vref external!

Posted on July 12, 2012 at 14:23Hi All,I'm using STM8L152R8 for an application and I need to measure the temperature by ADC but the problem is the external reference voltage has to be off for some cases and in these times I need to get temperature w...

konay61 by Associate II
  • 457 Views
  • 0 replies
  • 0 kudos

Bug in UART1_GetITStatus() of peripheral library 2.0.0

Posted on July 11, 2012 at 19:00According to what is documented on declaration of UART1_IT_TypeDef in file stm8s_uart1.h it seems the function UART1_GetITStatus() calculate a wrong mask for the IT flags. The UART1_IT_TypeDef says the lables were dec...

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
  • 1088 Views
  • 4 replies
  • 0 kudos

NEED TUTORIAL FOR THIS MCU

Posted on July 08, 2012 at 18:01I HAVE ARRANGED THE ST VISUAL DEVELOP. NOW I NEED SOME TUTORIAL FOR IT, IN ASSEMBLY LANGUAGE.  PLEASE SEND ME THE LINKS. 

Problem with STM8LF3U6ATR, timer input capture mode

Posted on July 05, 2012 at 12:33   problem with STM8lF3U6ATR, timer input capture mode dear sir ,            I am configuring timer 2 in input capture mode for LSI frequency measurement, settings as per RM0013 doc. as per concept when 1st capture...

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