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

STM8S103K3 - ADC takes longer than expected?

Posted on March 27, 2014 at 18:04I am timing the ADC conversion from TRGO to EOC.  I calculate that the conversion should take 3.5us but I measure a minimum of 4.0us using an oscilloscope.I have included the relevant code loop below.Please does anyo...

Interrupt cant set global variable?

Posted on March 13, 2013 at 13:22Hi all. I got a problem: Every time i am setting a global variable in my ISR it is set to 0 after the ISR has ended!volatile int test; void main(void){ TIM1_DeInit();  TIM1_TimeBaseInit(10, TIM1_COUNTERMODE_UP, 20000...

texton1 by Associate II
  • 1585 Views
  • 6 replies
  • 0 kudos

Over consumption with GPIO input

Posted on March 19, 2014 at 16:43Hi,I'm trying to have the lowest consumption I can with a very simple design. Weird thing appenened: Putting PD4 in ''floating no interrupt'' mode, give me a definitely higher consumption than ''output pull-push low ...

0690X00000602jhQAA.jpg

STM8L052 vs STM8L152

Posted on March 18, 2014 at 14:38i have made program for DiscoveryL152, with STM8L152. mcu. Program works properly. Now i try to start this program on other board with STM8L052C6 mcu. LCD not works - all COMx and segment pins are idle...... In all S...

ygrod by Associate II
  • 485 Views
  • 0 replies
  • 0 kudos

STM8L152-STM8L052 LCD

Posted on March 18, 2014 at 13:49i have made program for DiscoveryL152, with STM8L152. mcu. It works properly. Now i try to start this program on other board with STM8L052C6 mcu. LCD not works - all COMx and segment pins are idle...... In all ST doc...

ygrod by Associate II
  • 426 Views
  • 0 replies
  • 0 kudos

Windows XP remote desktop to Cosmic STM8

Posted on March 11, 2014 at 17:16Cosmic STM8 is installed in Windows XP with license. Since we are working in a networked-host, we will access such Windows XP host using Windows XP remote desktop access. When Cosmic STM8 is started from the physical...

scheung by Associate
  • 464 Views
  • 0 replies
  • 0 kudos

STM8S003F PD4 doesn't work as GPIO

Posted on February 27, 2014 at 14:44Hi all! I am using STM8S003F microcontroller with UART in async mode. I want to use UART1_CK pin as regular GPIO in push-pull mode. This pin is PD4. When peripherals are configured as below:    PD_DDR_DDR4 = 1;   ...

kiroid by Associate II
  • 1570 Views
  • 4 replies
  • 0 kudos

STM8S and EXTI and Continuous Interrupts

Posted on January 24, 2012 at 08:25MCU: STM8S105C6Port: GPIOBBit: 2 GPIOB:2 is the only pin/bit set up for external interrupt, yet regardless of any edge sensitivity setting in EXTI_CR1, once an interrupt is invoked it is continuously invoked while ...

Workalot by Associate III
  • 2151 Views
  • 6 replies
  • 1 kudos

E/H/L ockets of 24 bit address

Posted on February 20, 2014 at 14:13Hi all,I cannot find what the meaning is of those E/H/L parts of the address! Nowhere in the datasheets are the abbreviations explained. I presume H and L are the High and Low ockets but what is E?I don't understa...

albert1 by Associate
  • 738 Views
  • 2 replies
  • 0 kudos