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

STM8S003 - SPI Receive

Posted on August 30, 2015 at 01:49 I'm at my wit's end, I cant seem to make SPI receive work properly. This is a cut from the S003 reference manual: This is the capture from the logic analyzer: And this is th...

0690X000006051mQAA.png 0690X00000604qzQAA.png
bjerman by Associate II
  • 413 Views
  • 0 replies
  • 0 kudos

STM8 internal EEPROM and Toolchain

Posted on July 16, 2015 at 10:25Hi all! ST Visual Development Raisonance Debugger Cosmic Compiler The following problem: It seems that the internal EEPROM is erased every time the debugger writes new software into the controller. Is it possible to ...

STM8 HWI2C and ClockStretching

Posted on August 27, 2015 at 10:17Hi @ all! I'm using the HWI2C interface as a I2c slave. Now I need to activate clock stretching on the SCL line to tell the master that the device is busy. Is there a possibility to activate clock stretching (SCL to...

STM8S Reload Watchdog Timer During Halt Mode

Posted on August 24, 2015 at 18:43Hey guys, I am using an STM8S003F3 and am trying to implement a watchdog timer. I have been using the IWDG functions from the standard peripheral library and it seems to work, but once I enter HALT mode I can't rese...

cfleck by Associate II
  • 488 Views
  • 0 replies
  • 0 kudos

stm8l052 COSMIC Compiler EEPROM _FLASH_NCR2 not defined

Posted on August 17, 2015 at 19:35Hallo,I moved my project from IAR to COSMIC and STVD and now with the COSMIC Compiler I always get the error message ''#error clnk Debug\densitometer_st.lkf:1 symbol _FLASH_NCR2 not defined ((C:\Program Files (x86)\...

TIM2 interrupt at 100 kHz frequency

Posted on August 14, 2015 at 08:39 Hello! I have a little question about STM8S interrupt controller. I'm using IAR and the following code isn't quite clear for me. INTERRUPT_HANDLER(TIM2_UPD_OVF_BRK_IRQHandler, 13) { //Here ar...

wir2ozz by Associate
  • 704 Views
  • 0 replies
  • 0 kudos

STM8L151G4U6 EEPROM maxiam programming time

Posted on August 12, 2015 at 08:11Hello ST Experts, Can you please advise the maximum programming time of the STM8L151G4U6 MCU EEPROM. The datasheet only mention the typical programming time. The maximum programming time is related to watch dog sett...

sinclair by Associate
  • 488 Views
  • 0 replies
  • 0 kudos

List of STM8S opcodes

Posted on July 13, 2013 at 06:51I have looked but can't find a ''complete listing of the op-codes for this MCU.  I'm using the STM8S-Discovery to teach my grand-kids programming, starting at the very basic machine language, then to assembler and the...