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

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
  • 642 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
  • 540 Views
  • 0 replies
  • 0 kudos

24C32 I2C with stm8S dyscovery problem

Posted on November 03, 2013 at 00:51Hello. I've a 24C32 on the good pin of my stm8s, I use the stm8 eval library but i've a sEE_TIMEOUT_UserCallback all the time. Is there a better library ? Thank you

HSI Power Down

Posted on June 10, 2013 at 16:48Hello everybody,I'm programming a STM8L152C6 on the STM8L-discovery. Wanting to improve the consomption I tri to power down the HSI. For that I use the instruction  // Clock source   CLK_LSICmd(ENABLE);   CLK_SYSCLKSo...

quentin by Associate
  • 860 Views
  • 2 replies
  • 0 kudos

IWDG & WWDG for stm8l151c6 halt active mode

Posted on June 13, 2013 at 13:27I want to use stm8L watch dog in halt/halt-active mode. my system wakes up by RTC.1. when I choice Independent watchdog, a watchdog reset happens when system is in halt/halt-active mode. As you know, the option byte(0...

_checksum16()

Posted on October 09, 2013 at 23:02I'm using Cosmic 4.3.6 compiler & have a project with greater then 32k code.  I need to checksum the flash at startup and periodically during runtime to satisfy UL60730.  My first project (about 12k code size) went...

jdf25252 by Associate II
  • 1121 Views
  • 3 replies
  • 0 kudos

start and stop the tim1 -> adc -> dma chain

Posted on October 25, 2013 at 00:18I have an STM8L application that needs to scan several ADC channels on a fixed time basis, so I used the ADC_DMA code from the STM8L standard peripheral examples as a starting point. The timer is set to a 1KHz trig...

mark23 by Associate
  • 501 Views
  • 0 replies
  • 0 kudos