STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

UART issue for reading 2 or more bytes length

I am having an issue with the UART1 communication between two devices (Computer and a STM8S208 board).I implemented software in the computer that writes two bytes length of data to the STM8• the first byte that acts as an identifier;•the second byte ...

0693W000004GyvoQAC.png
GGhed.1 by Associate II
  • 1342 Views
  • 3 replies
  • 0 kudos

General software design tips

Hello guys. I have a general question actually I need suggestions. So I did not want to open a topic for it. I need to make a presentation about a box which will be in some armored vehicle. This box will be like the brain of the vehicle and will cont...

GunkutA by Senior
  • 716 Views
  • 4 replies
  • 0 kudos

Resolved! Using SWIM from STM8S Discoveryboard for STM8AF

Hello community,after unsoldering the solderbridges of the STM8S-Disco-Board, I try to connect the SWIM to a STM8AF Chip. I read in the manueal, that this is not possible (only for STM8S-Family). But after trying it, I could flas Code on the µC and D...

SWiel.1 by Associate II
  • 727 Views
  • 3 replies
  • 0 kudos

STM8L151F3U6TR comparator 1 register not writeable.

HelloI'm using an STM8L151F3U6TR. A lot of things are working fine.But the comparator 1 seems not to work.It seems not possible to write its registers.If I execute the following code with debugger, then "dummy" changes from 0xFF to 0x00.I would have ...

EStud.1 by Associate
  • 400 Views
  • 0 replies
  • 0 kudos

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
  • 536 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
  • 956 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
  • 752 Views
  • 5 replies
  • 0 kudos