STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2C error handle in cosmic compiler.

Hi there.I´m using a STM8S207 with cosmic compiler.I am reading and writing a 24L64 eeprom thru i2C and everthis is working well.But i want to put protection in the routines to avoid lock the program in case of fail of a write or read command.i found...

MGarb.5 by Associate II
  • 1204 Views
  • 2 replies
  • 0 kudos

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
  • 1827 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
  • 1012 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
  • 635 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
  • 523 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
  • 858 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
  • 1274 Views
  • 1 replies
  • 0 kudos