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

Develop STM8L on Discovery Board?

Posted on August 02, 2013 at 10:48I've got an STM8L Discovery board, but I've decided to use the STM8L101 chip. Is this chip a subset of the STM8L152C6T6 used on the didcovery board? Does the swim use the same IO port/pins on both chips? Or do I nee...

Use SDCC in STVD

Posted on April 15, 2014 at 11:50Hi, I wanted to integrate the free SDCC Compiler in STVD. But I can´t find a possibility to add a new toolset. If I install Raisonance, a new entry in the toolset dropbox is generated. So there must be a possibility ...

nikolas by Associate
  • 641 Views
  • 0 replies
  • 0 kudos

SMT8S007 - Debugging OK, but Programmed Code doesnt run?

Posted on April 04, 2014 at 05:15Hello, I have been able to develop an STM8S007 project with STVD and cosmic C.  I have been able to test the project with no compile errors etc. When I use STVP to program the .S19 file into the chip, everything prog...

Option bytes programming during flash download, IAR EWB

Posted on March 17, 2014 at 14:28Hi all! Does anybody know, how to program option bytes from IAR, during downloading flash image, like it implemented in STVP? Maybe, using some scripts to automate. I will need to program few hundreds of uCs, and set...

kiroid by Associate II
  • 2275 Views
  • 2 replies
  • 0 kudos

Infinite ISR on STM8L

Posted on April 01, 2014 at 21:04I'm exploring an STM8L152 on the Discovery Board. That board has a user button, which I have set to trigger an interrupt on a GPIO (pin C1, if that matters). I can watch the interrupt fire in the debugger (using STVD...

vince by Associate III
  • 614 Views
  • 0 replies
  • 0 kudos

About STM8 decimal adjust

Posted on March 29, 2014 at 12:02Hello everyone, I just started learning STM8 assembly language, but can not find the decimal adjust instruction, so do not BCD arithmetic.Have thought about writing a decimal adjustment subroutine, the addition shoul...

ysc by Associate
  • 637 Views
  • 2 replies
  • 0 kudos

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
  • 1801 Views
  • 6 replies
  • 0 kudos