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
  • 2577 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
  • 1542 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
  • 873 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
  • 778 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
  • 1111 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
  • 1666 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
  • 668 Views
  • 1 replies
  • 0 kudos

STM8S interference of interrupts

Hi there!I wanna use the Timer3 of STM8S105C6 to calculate the duty cycle of a 500Hz signal.It's not possible to use any other timer due to hardware limitations.ADC1,Timer1, and Timer2 are also used in my code and their interrupts of course.They work...

MoHos98 by Associate II
  • 1300 Views
  • 4 replies
  • 0 kudos