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

using swim pin as INPUT foating pin.

as per datasheet of stm8s001j3 it has been mentioned that impact of pin mode while using other pins, ex. PD1 impacts PD6,PD5... so to disable the swim pin using Out Mode Low Level, would also impact in case want to set late for PD5 as IN Mode FL NO I...

SSing.61 by Associate
  • 448 Views
  • 0 replies
  • 0 kudos

STVD displays message on building the demo code from the tool itself. I am a newbie and starting with the mcu. Any ideas what and how to resolve it?

----------- Project ew - ST Assembler Linker - Configuration Debug -------------Assembling mapping.asm...asm -sym -li=Debug\mapping.lsr mapping.asm -I="C:\Program Files (x86)\STMicroelectronics\st_toolset\asm\include" -obj=Debug\mapping.objSTMicroele...

Ssank.1 by Associate
  • 710 Views
  • 1 replies
  • 0 kudos

HSE Crystal - choosing the right capacitor

Hi :) I am doing a project where I need a (relatively) accurate crystal. I have never used special precision crystals but my guess is a normal crystal would do. I would like though to have the best accuracy possible by laying out the PCB and choosing...

0693W000003PNknQAG.png 0693W000003PNtQQAW.png
SLasn.1 by Senior
  • 2361 Views
  • 4 replies
  • 0 kudos

Driving 7 segment Display with STM8 - enough current?

Hi again =) ​I have a small project with an STM8 and I was thinking driving my 3-digit 7 segment display directly with the MCU in order to reduce the manufacturing price (I know some of these chips cost only a few cents but if I *can* do it directly ...

0693W000003OygRQAS.png
SLasn.1 by Senior
  • 4153 Views
  • 13 replies
  • 0 kudos

STM8L051 ADC Pin current consumption when HALT

Using STM8L051 ADC PD0, 3.7V~4.2V Li-Po battery, 1M+1M resistor to divde the battery voltage, 100nF capacitor to GND.If set PD0 floating input and halt, total current 40uA, if set PD0 push-pull output LOW, 10uA. But the drawback of output LOW is that...

I have a question regarding TIM1 deadtime configuration on STM8S003F3.

I am working on a project with the STM8S003F3. I need to configure the TIM1 to generate the following digital output signal on PC3:1. Turn PC3 output to High state immediately (<1us) when signal on PC4 input goes Low.2. After PC4 input signal goes Hi...

PSedl.2 by Associate
  • 515 Views
  • 0 replies
  • 0 kudos

How to decompile STM8 firmware

Hi, I'm trying to reverse engineering a STM8 firmware. till now I can disassemble the binary firmware to get the assembler code using naken_asm : https://github.com/mikeakohn/naken_asmIs it possible to decompile it ? can anyone point me to some tools...

Ihssen.R by Associate
  • 5547 Views
  • 1 replies
  • 0 kudos

[SOLVED] Custom board with STM8 - SWIM Pinout?

Hi =) I am designing a custom board with an STM8. I have a couple of STM32 Nucleo and eval board but looking at the schematics the ST-link only seem to have the SWD interface, not the SWIM.I do not have any STM8 board from ST have but I have another ...

0693W000003OxS9QAK.png
SLasn.1 by Senior
  • 1022 Views
  • 2 replies
  • 0 kudos