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

STM8L152C6T6 - Temperature sensor pin

Posted on November 25, 2013 at 14:58Hello everyone, I can't find the relative pin to the internal temperature sensor. Does anyone know which pin is it? Or should i only configure the TSON bit in the ADC_TRIGR1 register to wake up the temperature sen...

gibba by Associate II
  • 631 Views
  • 2 replies
  • 0 kudos

stand alone SWIM programmer/sample code?

Posted on November 17, 2013 at 22:48I suddenly find that we need a couple of stand alone programmers for our STM8L052 board. By ''stand alone'' I mean the application code will have to be loaded into the programmer and it will flash the production u...

tim by Associate
  • 510 Views
  • 1 replies
  • 0 kudos

STM8S103K3 Drop in replacement for STM8S003K3?

Posted on November 21, 2013 at 20:05I plan to use the STM8S003K3 in my product.  However the flash has a life of only 100 cycles.This makes it impractical to use during development.  The STM8S103K3 looks like an exact substitute - is it?Is there any...

How to achieve real low power?

Posted on November 18, 2013 at 14:47I'm looking to build a small application which wakes up the uC each 500ms to handle some software loops, and then go back in active halt mode with RTC (alarm and wake up function enabled) and LCD running with LSE....

STVD hangs on build

Posted on November 19, 2013 at 18:21I have encountered an issue with STVD which is persistent also in the latest version (4.3.4). The issue seems to be pre-compilation (my guess would be generation of the project.lkf file), but I'll get to it in a m...

shabbyx by Associate II
  • 582 Views
  • 0 replies
  • 0 kudos

SDCC support in STVD..?

Posted on November 11, 2013 at 18:46Hello all, SDCC seems now to be able to support STM8 (see here for example : http://comments.gmane.org/gmane.comp.compilers.sdcc.user/4461). didn't look more right now, but will in the next days. maybe ST could s...

ffred by Associate II
  • 629 Views
  • 0 replies
  • 0 kudos

Need clarification between clock and enable

Posted on November 08, 2013 at 10:45Hello,I don't understand well how the STM8L works, when enabling a module we have to enable the clock sourcing the module and then enable the module itself, that's OK.For module configuration (register access) it ...

LSE crystal selection

Posted on November 11, 2013 at 16:19I've read the AN2867, and calculated that for having a gain margin of 5, the recommended crystal should have a max ESR of 50K and 6pF load for a minimal 3uA/V transconductance. This will not allow to use any tiny ...

[STM8L152C6] SPI SCK low signal

Posted on November 07, 2013 at 15:42Hi everyone,I'm new to the STM community and those microcontrollers too, I'm learning to use them;)I've configured a communication based on SPI through DMA, everything is working excepting the SCK. I've configured...

0690X00000604zqQAA.png

STM8S003 MCU and emulator question

Posted on November 07, 2013 at 12:40We use the STM8S003 MCU in one of our products and specifically we use the LINbus communications in slave mode. In the 003 datasheet it says the UART (UART type 1) can actually only support LINbus master mode. Whe...

alex2 by Associate
  • 530 Views
  • 0 replies
  • 0 kudos