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

Does stm8l001j3 support Flash Loader Demonstrator tool

hello,I want to use Flash Loader Demonstrator for complete programmed update of stm8l001j3 device.But Flash Loader Demonstrator tool unrecongnized device.Is there any other way to update the program through the serial port ?

0693W000004HHLVQA4.png
Jshic.1 by Associate
  • 546 Views
  • 0 replies
  • 0 kudos

How to implement micros() function on stm8s003?

I need to decode ASK/OOK signal, for this aim I need to know the period in microseconds between several edges. I decided to use TIM1 for this purpose, here is my code// Set fCPU = 16MHz CLK_CKDIVR = 0; CLK_PCKENR1 = 0xFF; CLK_PCKENR2 = 0;...

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
  • 2068 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
  • 1106 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
  • 1187 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
  • 580 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
  • 877 Views
  • 0 replies
  • 0 kudos