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

Why is the Halt() function not working?

#include <stm8l15x.h> #include <stm8l15x_pwr.h>   void main(void) { GPIO_Init(GPIOA, GPIO_Pin_All, GPIO_Mode_Out_PP_Low_Fast); GPIO_Init(GPIOB, GPIO_Pin_All, GPIO_Mode_Out_PP_Low_Fast); GPIO_Init(GPIOC, GPIO_Pin_All, GPIO_Mode_Out_PP_Low_Fast); ...

TheUser by Associate II
  • 2549 Views
  • 5 replies
  • 0 kudos

stm8_segment LCD problem

We are developing a product that uses segment_LCD using stm8l052r8.There was no problem when developing with com4+seg28There was a problem when developing with com8+seg24.When you turn on the entire screen, all the text on the screen comes out well.I...

0693W000001qKOBQA2.png 0693W000001qKNsQAM.png
SSHIN.11 by Associate II
  • 616 Views
  • 0 replies
  • 0 kudos

I2C Read from Slave with Python

Hi,i use a stm8s003 and SPL for programming. I am not a profi programmer.My goal is measure an Analog signal with stm8s and reading this with Python command from a Raspberry Pi.Ok, i use STM example Program I2c slave. I can read some registers from s...

Hbal.1 by Associate
  • 943 Views
  • 0 replies
  • 0 kudos

What is the proper code for STM8S External Interrupt?

Being new to STM8 development, I'm having a problem getting the external interrupt to work. There are many bits and pieces of external interrupt code I've found on the internet, but I haven't found a definitive piece of code that works as expected. H...

JKain.1 by Associate
  • 1098 Views
  • 0 replies
  • 0 kudos

After the installation of STVD-STM8, Active ST, version : 42.0.0 software. I am facing the license problem and compiling error.

When i choose the option of "ST Assembler linker" in C Compiler it compiles the code but the code is not burn in MCU successfully. And when STM8 cosmic is selected there is an error while compiling " The command: "cxstm8 +mods0 +debug -pxp -no -pp -l...

PAgra.1 by Associate
  • 543 Views
  • 0 replies
  • 1 kudos