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

Resolved! What does sim() function do

Posted on February 16, 2018 at 11:38I am trying to understand what 'sim()' does in the example code that comes on the STM8L-DISCOVERY eval board (Introduction to STM8L15x power saving modes using the STM8L-DISCOVERY IDD measurement feature) where th...

Missing data packets in LIN

Posted on February 16, 2018 at 12:58We have LIN slave driver. We are sending the LIN commands from LIN master (A PC application). However, the data packets are missing to be received on LIN slave side. Any suggestion, how to debug/detect this?

Memory usage on STM8S

Posted on January 28, 2014 at 04:56Hello My project compiles fine but I'm getting memory errors at the linker stage: segment .ubsct size overflow (4) .text size overflow (572) Is there any way to find out how much memory I have allocated for each of...

tan by Associate II
  • 1455 Views
  • 3 replies
  • 0 kudos

structure @0xXXXX

Posted on August 09, 2017 at 22:20I am trying to create a bit structure at a specified location (in this case at 0x500A the portc odr)below is in common.hstruct iobits{unsigned char b0:1;unsigned char b1:1;unsigned char b2:1;unsigned char b3:1;unsig...

STVD IDE's Problem

Posted on February 10, 2018 at 08:02STVD IDE ProblemI used STVD version 4.3.12 with Windows 10 64bit.I was create workspace, project and open project settings window click right button.In project settings window, right tab side bottom area not appea...

STM8L052C6 Can't downlink program

Posted on February 08, 2018 at 15:57Hi,   I designed PCB for STM8L052C6 and programming using ST-LINK V2 mini. I am using 3.3v GND SWIM NRST pins but is not programming. I have selected STM8L052C6 in STVP and Selected STM8L052C6 compatible compiled ...

Resolved! STM8AL3136: How to get DAC1 on PB4

Posted on February 08, 2018 at 15:43I'm using the example code from STM8L15x-16x-05x-AL31-L_StdPeriph_Lib as a starting point.I'm able to get GPIO and I2C working but the configuration to get the DAC1 on pin PB4 not working.I have the following conf...

timestamp'' (epoch) in ''C'' without using libraries.

Posted on February 06, 2018 at 19:44For an embedded project with micro STM8,  would be very useful to me to have the mathematical formula to calculate the 'timestamp' (epoch) in 'C' without using libraries because, unlike the STM32, for this family ...

Cosmic compiler and STM8L052R8 error

Posted on January 25, 2018 at 11:06Hello, I'm using STM8L052R8(64KBytes ROM, 4KBytes RAM) and cosmic compiler.I can see as below.#error clnk Debug\dm5xx_stm8l.lkf:14336 (C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\lib\libm.sm8)fmul.o: section...

CS Kim by Associate II
  • 1166 Views
  • 5 replies
  • 0 kudos

EEPROM Write Problem at Power-down

Posted on January 23, 2018 at 21:58Hi,I am using the STEVAL-IHM041V1 demo board to develop my own application. The mcuis STM8S103F3P6. I checked the EEPROM locations to verify that the EEPROM read/writeare fine when the +5V is stable. But I have pro...

Sam Zeng1 by Associate II
  • 1092 Views
  • 2 replies
  • 0 kudos