Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
I have the following issue: When the clock security system detects a clock fault on the HSE (running at 16 MHz), the controller sometimes resets with an illegal opcode as the reset cause, even though the deglitch filter is enabled.I couldn’t find any...
I have experience with PIC and AVR microcontrollers, but they lack the good debug features of the STM8 series. Furthermore, these microcontrollers aren't cheap. While looking for simple and inexpensive chips, I keep coming across the STM8 series.Mast...
Hi everybody,I am using the STM8S003F3P6 development board (little blue one bought from AliExpress) and I am trying to program it using ST-LINK V2 (also bought on AliExpress). I wrote the code using STVD and now I would like to program the MCU. I tri...
STM8L experts, I need your help! Our company’s legacy product uses the STM8L052R8 microcontroller. Currently, an important customer requires additional functionality that involves using a GPIO pin to detect the state of an external swit...
Hi all, I am currently working on an IR remote control project using the STM8S microcontroller and developing with ST Visual Developer (STVD), using the STM8S Standard Peripheral Library (STSW-STM8069). While I have made some progress, I am facing a ...
I was following the Application note document on [AN2659](https://www.st.com/resource/en/application_note/an2659-stm8-inapplication-programming-iap-using-a-customized-userbootloader-stmicroelectronics.pdf) as my purpose was to implement a custom boot...
Hi I am writing this post to help the community. I have struggled a while before to get all this "Interrupt" receipe working with "ST Visual Develop"and COSMIC compiler. Development and tests with only one timer enabled at the time.Note this code is ...
MCU: STM8L151G3U6ISSUE: TIM4 interrupt doesnt seem working Connections: 1. LED on pin PB0 2. Push button/ switch on pin PC5Scenario:1. User press the push button2. Toggles the LEDObservation:Without using the TIM4 inte...
I'm trying to operate an ESP32 in Arduino as an I2C master and an STM8S003F3 as an I2C slave.* ESP32 I2C master source code (slaveAddr = 0x30)void i2c_sendDataToSlave(TwoWire &i2c_device, uint8_t slaveAddr, uint8_t* slaveBuffer, size_t slaveLength){i...