STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 939 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
  • 946 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
  • 490 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
  • 700 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
  • 1296 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
  • 1003 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
  • 1045 Views
  • 2 replies
  • 0 kudos