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

Details on STM8 chip ID and memory size?

Hi,I am the author of an OS tool flash tool named "stm8gal" for programming the STM8 via the ROM bootloader. Currently I check family type and memory size by probing different addresses. This is extremely ugly and may fail in devices I couldn't test ...

GIcki by Associate II
  • 468 Views
  • 0 replies
  • 0 kudos

Resolved! Can't build code of STM8S103F2P6 using STVD and COSMIC

Hello​I want to rewrite code into STM8S103F2P6.​​But I can't build it.​STVD outputted following error massage.​​​Compiling stm8_interrupt_vector.c...cxstm8 +mods0 +debug -pxp -no -pp -l -istm8s_stdperiph_driver\inc -i"C:\Program Files (x86)\COSMIC\FS...

TNaka.7 by Associate
  • 601 Views
  • 1 replies
  • 0 kudos

Timer 1 counter resets intermittently

I want to use count external pulses count coming on Timer 1 channel 1 .I wrote following code. the couter starts counting as I apply external pulses.but the counter doesnot go upto 65535 value. it gets reset intermittently.I want to use counter to co...

SBADV.1 by Associate II
  • 525 Views
  • 2 replies
  • 0 kudos

DAC on STM8L151Gx or STM8L151Kx - no output buffer available?

Hi :) I am using an STM8L151G6U6, and found out I missed something in the datasheet.Datasheet is DS6372: https://www.st.com/resource/en/datasheet/stm8l151g6.pdfRM is RM0031: https://www.st.com/resource/en/reference_manual/cd00218714-stm8l050j3-stm8l0...

0693W0000059N4dQAE.png
SLasn.1 by Senior
  • 422 Views
  • 1 replies
  • 0 kudos

Resolved! Is the stm8s_conf.h exists ?

Dear experts,I have a problem with stm8s_conf.h file. I download the Standard Peripheral Libraries officially from ST web page. After I put them all into STVD, I mean the .c and .h files, then I compile. The compiler detects that stm8s_conf.h does no...

0693W0000059XlXQAU.jpg
Mahendra by Associate II
  • 2478 Views
  • 4 replies
  • 0 kudos