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

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
  • 951 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
  • 1404 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
  • 546 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
  • 1046 Views
  • 4 replies
  • 0 kudos

Is halt behavior the same as wait except for clock interruption?

I have used the wait feature before. I treat it just as if there is no wait. I have "while(true) wait;" in my main.c. (I only use interrupts, the code is pure interrupt-driven). I need to use halt now. Can I use halt the same way? Will the inte...

mchahn by Senior
  • 1759 Views
  • 4 replies
  • 0 kudos