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! STM8 GPIO does not stay high (Solved)

Hello, I am studying the STM8S208RB MCU and the SPL. I am using STVD and COSMIC, and the Nucleo-8S208RB board for testing. The below code should configure port GPIOC Pin5 and set it to high and stay high. However, LED2 turns on for only a short momen...

Kmax18 by Senior II
  • 1953 Views
  • 11 replies
  • 0 kudos

Resolved! STM8 SPL config files for Nucleo boards

The STM8 Standard Peripheral Library does not include example config files (header files) for STM8 Nucleo boards. Are headers for the Nucleo-S208RB available online? I though I ask before creating one... Thanks!

Kmax18 by Senior II
  • 1115 Views
  • 6 replies
  • 0 kudos

HELP with PWM measurement

Hello everyoneI am to use the Timer3 of STM8s105C6T in order to measure the duty cycle of a specific signal.But I also want the MCU to reset if this signal is disconnected.I am using PWMI feature of this timer meaning that rising edge and falling edg...

MoHos98 by Associate II
  • 678 Views
  • 2 replies
  • 0 kudos

STM8s std peripheral

Hey!Could you please tell me how to have access to older versions of STM8s std peripheral libraries?Apparently, it's no longer available on st.com Thanks a lot!

MoHos98 by Associate II
  • 558 Views
  • 2 replies
  • 0 kudos

Read multiple digital inputs at once

I am new to STM MCU and have started working with stm8s105k4. I have a 4 bit digital input and wants to know how can I read that 4 bit at once which is connected to PORTC.Below logic is very lengthy and not a good way to read inputs. Kindly help.if (...

SMish.4 by Associate
  • 912 Views
  • 2 replies
  • 0 kudos

How to find program size using map file for stm8 microcontroller.

              Segments                --------start 00008080 end 0000811e length 158 segment .conststart 00008151 end 0000989f length 5966 segment .textstart 00004000 end 00004000 length  0 segment .eepromstart 00000000 end 0000002b length  43 segmen...

Mallesh by Associate
  • 1341 Views
  • 1 replies
  • 0 kudos

STM8L151K6U6 - Bootloader NACK after sending ADDR+CHECKSUM

I am using an microcontroller to work as a flash programmer (let's call it My-Programmer) for the STM8L151K6U6 over USART.Basically, the My-Programmer sends the following (in normal text), and receives from STM8 (in bold):0x7F0x790x310xCE0x790x000x00...

ccampes by Associate
  • 523 Views
  • 1 replies
  • 0 kudos