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

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
  • 1066 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...

STM8L151G4U6 PD problom

Posted on February 01, 2018 at 11:11i use stm8l151g4 pd4 to control external ADC converter,when pd4=1,ADC converter start,and pd4=0,ADC converter stop,pd4 initialized as below: PD_DDR_DDR4 = 1;       //PD4- OutputPD_CR1_C14 = 1;          //PD4 - Pus...

Interrupt voltage and current

Posted on January 31, 2018 at 21:55Where do I find (manual and section/table) the voltage required to set external interrupt to low and high and also the minimum and maximum current.  I am looking for this information for the STM8L152C6, so somethin...

FlexLM No such feature exists

Posted on January 29, 2018 at 17:02When I try to compile my project or the standard project, I get the message -clDebug \ -coDebug \ main.c #error cpstm8 C: \ Program Files (x86) \ COSMIC \ CXSTM8_32K \ Hstm8 \ mods0.h: 1 FlexLM No such feature exis...

Ivan Yu by Associate
  • 805 Views
  • 1 replies
  • 0 kudos