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

STM8S ADC Scan Mode not updating

I am able to read my two ADC inputs individually when I implement the code shown in this example: http://embedded-lab.com/blog/starting-stm8-microcontrollers/13/However, the ADC values in the buffers do not seem to be getting updated when I try to ge...

KDesr.1 by Associate II
  • 805 Views
  • 0 replies
  • 0 kudos

STM8S003F3U outputs behaving weirdly during BOR.

I have been working on a battery powered application and am experiencing some strange behavior when the batteries are dying. The LED array is being driven by a PWM signal on PD4 through a FET. When the +4V power line goes down to 2.6xx V, all of th...

KDesr.1 by Associate II
  • 1594 Views
  • 5 replies
  • 0 kudos

Behavior of X/Y indexed addressing modes on the STM8

I'm trying to write an emulator for the STM8 MCU family. Most of the opcodes are implemented, but it's doing things I don't expect, and I think the problem lies in some of my addressing mode implementations. The following questions seem obvious, but ...

MCham.3 by Associate II
  • 1121 Views
  • 5 replies
  • 0 kudos

UART Even Parity gives parity error

Hi,I'm using STM8S for UART half duplex communication (single wire). I'm using the standard library to set the UART up in 9600 baud rate, 8 data bit, even parity and 1 stop bit. I recieve data using interrupts. On the third byte, I get a parity error...

DDeba.1 by Associate III
  • 1249 Views
  • 2 replies
  • 0 kudos

STM8CubeMx and IDE

I just started to working on STM8L162. I worked on STM32 SO, I searched the tool like STM32cube MX for STM8 and I got it. STM8CubeMX does not support the code generation yet. So , is there any other tool for STM8? From where I can download the driver...

AP_040 by Senior
  • 994 Views
  • 1 replies
  • 1 kudos

Back to STVD debug error issue

Developed an app using the S105C6 MPU on the Discovery board, all went Very Well.Had boards made for the product - can't communicate - getting 40201 can't access configuration database. Others have had this, but NO answer has been posted ! What is th...

Cosmic cxstm8 absolute assembly examples?

I code in absolute assembler (30+ yrs). I have an app that ran fine under STVD, then something broke in the toolchain that even a fresh install didn't fix, so I'm learning CXSTM8. At build, I'm getting a segment overlap error. Pretty sure it's not kn...