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

missing prototype and inline function issues in STVD

Posted on February 27, 2018 at 11:41Hi!When I called assert() funtion, it always reported an error as followed. I had included the head file named assert.h.   #error cpstm8 modbus\rtu\mbrtu.c:168(4) missing prototype   #error cpstm8 modbus\rtu\mbrtu...

Is it safe to use LDW with ADC_DR?

Posted on February 25, 2018 at 11:04Although the STM8 reference manual RM0031 does not seem to mention it, I understand from the AN2658 (section 2.7) that I must read ADC_DRH and ADC_DRL in a specific order, with the actual order depending on my con...

sourceforge.net

Posted on February 26, 2018 at 20:22SDCC 3.7.0 Released Today, SDCC 3.7.0 has been released. As always it has been put online in the SourceForge File section.https://sourceforge.net/projects/sdcc/files/Since we are having some troubles with some mac...

Build Error using STVD.

Posted on November 29, 2017 at 19:18I'm new to STVD, but I've used two other microcontroller IDEs in the past.  I have a standard Windows 10 machine with the standard STVD installed.  This is a simple test using Assembler code and the STM8S003F3P mi...

How to debug STM8S003F3P6 using STM32F0308-Disco

Posted on February 26, 2018 at 12:54Hello,         I m having STM32F0308-Disco board and STM8S003F3P6. I want to debug STM8S003F3P6 using STM32F0308-Disco board.Here circuit images are attached.   Please tell hardware connections for that.Thanks and...

Zero Cross Detection on STM8L151K4T6

Posted on February 25, 2018 at 20:15Hi,I want to detect zero crossing of AC mains by using stm8l151kxxx. In referance manual it says there are two comparators for zero cross detection but it doesn't give detailed information about hardware implement...

stm8_uart1.c error

Posted on October 16, 2013 at 10:36Hello, I am not sure if this is a proper place for reporting errors. If not so, please tell me, where to report it. The error is in stm8_uart1.c module of STM8S_StdPeriph_Lib_V2.1.0. According to description of UAR...

pok-on by Associate II
  • 871 Views
  • 1 replies
  • 0 kudos

CPU locks up sporadically after write to eeprom in STM8S003

Posted on February 21, 2018 at 08:07On an STM8S003:When I write a page to eeprom it sporadically seems to cause a lockup of the CPU. When I check with a scoop it seems to finish the writing but milliseconds thereafter a lockup happens. It does not h...

STVD start debugging shortcut

Posted on February 18, 2018 at 21:45Hello,In ST Visual Develop there is no shortcuts for 'Start debugging' and 'Stop debugging'.Why it wasn't implemented yet?These shortcuts are standard in many others IDE.Can it be configure in seetings or external...