Opens in a new tab

STM8S103F3P6TR

8-bit STM8 MCU, 8KB Flash, 640B EEPROM, 1KB RAM, 16MHz, TSSOP-20

8412

Effective Inventory

Image for reference only

Manufacturer Part:

STM8S103F3P6TR

Package:

TSSOP-20 (6.5 x 4.4 mm, 0.65mm pitch)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The STM8S103F3P6TR is a mainstream access line 8-bit microcontroller from STMicroelectronics featuring 8KB Flash, 640-byte EEPROM, 1KB RAM, 16 MHz STM8 core, 10-bit ADC, UART, SPI, I2C in a TSSOP-20 package.

Key Specifications

Core STM8 8-bit, Harvard architecture, 3-stage pipeline
Max Clock Speed 16 MHz
Flash Memory 8 KB (20-year data retention at 55°C)
Data EEPROM 640 bytes (300 kcycle endurance)
RAM 1 KB
Supply Voltage 2.95 V to 5.5 V
ADC 10-bit, ±1 LSB, up to 5 channels, scan mode
Timers 16-bit advanced (TIM1), 16-bit GP (TIM2), 8-bit basic (TIM4)
Communication UART (SmartCard/IrDA/LIN), SPI (8 Mbit/s), I2C (400 kbit/s)
I/O Pins Up to 16 (TSSOP-20 package)
Watchdogs Window WDG + Independent WDG
Unique ID 96-bit unique device key
Operating Temperature -40°C to +85°C
Package TSSOP-20

Features

  • 16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline
  • Integrated true data EEPROM: 640 bytes, 300 kcycle endurance
  • 4 clock sources: crystal, external, 16 MHz RC (trimmable), 128 kHz RC
  • Clock security system with clock monitor
  • Low-power modes: wait, active-halt, halt
  • 10-bit ADC with analog watchdog
  • Advanced control timer with complementary outputs and dead-time
  • 96-bit unique device identifier
  • Highly robust I/O design, immune against current injection

Applications

  • Home appliances and consumer electronics
  • Industrial controllers and sensors
  • Motor control and lighting
  • Building automation
  • Low-cost embedded applications
Product Introduction: STM8S103F3P6TR Product Introduction

The STM8S103F3P6TR is a mainstream access line 8-bit microcontroller from STMicroelectronics based on the STM8 core with Harvard architecture and 3-stage pipeline operating at up to 16 MHz. It integrates 8KB Flash program memory with 20-year data retention, 640 bytes of true data EEPROM with 300 kcycle endurance, and 1KB SRAM. The device features a 10-bit ADC with ±1 LSB accuracy and up to 5 multiplexed channels, an advanced 16-bit control timer with complementary outputs and dead-time insertion suitable for motor control, plus UART with SmartCard/IrDA/LIN support, SPI up to 8 Mbit/s, and I2C up to 400 kbit/s. Clock sources include internal 16 MHz RC (user-trimmable), 128 kHz RC, crystal oscillator, and external clock with a clock security system. The 96-bit unique device identifier provides a hardware-based serial number for each device.

Working Principle: STM8S103F3P6TR Working Principle

The STM8S103F3P6TR uses ST’s 8-bit STM8 core with Harvard architecture, meaning program Flash and data RAM are accessed through separate buses simultaneously for higher throughput. The 3-stage pipeline (fetch, decode, execute) allows most instructions to complete in 1-2 clock cycles. The extended instruction set supports bit manipulation, signed arithmetic, and pointer operations. The internal voltage regulator provides stable core voltage from the 2.95-5.5V supply. Four clock sources offer flexibility: the 16 MHz HSI RC is factory-trimmed to ±1% and can be user-trimmed for higher accuracy; the 128 kHz LSI RC drives the independent watchdog and auto-wakeup; external crystal or clock inputs are supported. The clock security system monitors the primary clock and automatically switches to the backup HSI if a failure is detected. The true data EEPROM uses a separate charge pump and write controller, allowing byte-level erase/write without affecting Flash. Low-power modes progressively shut down subsystems: wait mode stops the CPU but keeps peripherals running; active-halt stops CPU and peripheral clocks but allows AWU wakeup; halt mode powers down everything except IWDG and AWU for minimum consumption.

Pin Description: STM8S103F3P6TR Pin Definition and Functions
Pin Name Type Description
1 PD4/TIM2_BEEP I/O Port D4, TIM2 capture/compare, beeper output
2 PD5/AIN5/UART_TX I/O Port D5, ADC input 5, UART transmit
3 PD6/AIN6/UART_RX I/O Port D6, ADC input 6, UART receive
4 NRST System Reset input (active low, internal pull-up)
5 PA1/OSCIN I/O Port A1, crystal oscillator input
6 PA2/OSCOUT I/O Port A2, crystal oscillator output
7 VSS Power Ground
8 VCAP Power Internal regulator capacitor (connect 1µF to GND)
9 VDD Power Supply voltage (2.95-5.5V)
10 PA3/TIM2_CH3 I/O Port A3, TIM2 channel 3
11 PB4/I2C_SDA I/O Port B4, I2C data
12 PB5/I2C_SCL I/O Port B5, I2C clock
13 PC3/TIM1_CH3 I/O Port C3, TIM1 channel 3
14 PC4/TIM1_CH4/CLK_CCO I/O Port C4, TIM1 channel 4, clock output
15 PC5/SPI_SCK I/O Port C5, SPI clock
16 PC6/SPI_MOSI I/O Port C6, SPI master out slave in
17 PC7/SPI_MISO I/O Port C7, SPI master in slave out
18 PD1/SPI_NSS I/O Port D1, SPI chip select
19 PD2/AIN3/TIM1_BKIN I/O Port D2, ADC input 3, TIM1 break input
20 PD3/AIN4/TIM2_CH1 I/O Port D3, ADC input 4, TIM2 channel 1
Application Scenarios: In which products and applications is STM8S103F3P6TR used
  • Motor Control: Advanced 16-bit TIM1 with complementary outputs and dead-time insertion drives half-bridge and full-bridge power stages for BLDC and PMSM motors
  • Home Appliances: 2.95-5.5V operation, robust I/O immune to current injection, and dual watchdogs suit washing machines and air conditioners
  • Industrial Sensors: 10-bit ADC with analog watchdog and scan mode monitors multiple analog channels autonomously
  • Communication Gateways: UART with LIN master, SPI, and I2C interfaces connect to wired and wireless modules
  • Low-Cost Controllers: Integrated EEPROM eliminates external memory; clock security and brown-out reset increase reliability without external components
Alternative Models: What chips are recommended as replacements for STM8S103F3P6TR
Model Manufacturer Key Difference Package Specs
STM8S103F3M6TR ST Same in SO-20 package – –
STM8S103F3U3TR ST Same in UFQFPN-20 (3x3mm) – –
STM8S003F3P6TR ST 8KB Flash, 128B EEPROM, lower cost – –
STM8L051F3P6 ST Ultra-low-power variant, TSSOP-20 – –
ATtiny441-SSU Microchip 4KB Flash, 256B RAM, 14-SOIC – –

Recommend Parts

TMP275AIDR

0.5C I2C temp sensor, 12-bit, 2.7-5.5V, alert output, 8-SOIC

Brand: TI

Package: 8-SOIC (4.90 x 3.91 x 1.50 mm)

IN STOCK: 3681pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IL485E

NVE IL485E IsoLoop isolated RS-485 transceiver, 2.5kVrms isolation, 35Mbps, 16-SOIC WB

Brand: nve

Package: SOIC-16 WB

IN STOCK: 5280pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFS4227TRLPBF

IRFS4227TRLPBF – 200V N-Channel HEXFET PDP Switch Power MOSFET, 26 mΩ RDS(on), D2PAK (TO-263)

Brand: infineon

Package: D2PAK (TO-263)

IN STOCK: 4334pcs

Cargo cycle: 3-7 Days

The minimum order is 1

CD4070BM96

Quad 2-input XOR gate, 3-18V CMOS, 65ns at 10V, SOIC-14

Brand: TI

Package: SOIC-14 (8.75 x 3.9 x 1.5mm)

IN STOCK: 4245pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AB1526

Bluetooth 5.0 Dual Mode Audio SoC, TWS, AAC, Dual-mic ENC, Integrated Charger, BGA

Brand: airoha

Package: BGA

IN STOCK: 25000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LP2980IM5-5.0

50mA micropower ultra-low-dropout regulator, 5V, SOT-23-5

Brand: TI

Package: SOT-23-5 (2.9 x 1.6 x 1.1 mm)

IN STOCK: 2557pcs

Cargo cycle: 3-7 Days

The minimum order is 1