STMicroelectronics STM8S103F3P3TR
- Part No.:
- STM8S103F3P3TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
STM8S103F3P3TR.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 20TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:1,059
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S103F3P3TR from STMicroelectronics is an 8-bit access-line microcontroller featuring a 16 MHz STM8 core, 8 KB Flash, 640-byte data EEPROM, 10-bit ADC with 5 channels, three timers (including advanced 16-bit TIM1), and UART/SPI/I²C interfaces. It targets cost-sensitive industrial control, sensor nodes, and appliance motor management where low power, embedded programmability, and mixed-signal integration are required.
For engineers reviewing the STM8S103F3P3TR datasheet, STM8S103F3P3TR pinout, STM8S103F3P3TR application, or STM8S103F3P3TR equivalent, key selection criteria include its 20-pin TSSOP package, 2.95–5.5 V operation, nested interrupt controller supporting 32 vectors, SWIM single-wire debug interface, and verified 300 kcycle EEPROM endurance.
Technical Context
The STM8S103F3P3TR implements a Harvard-architecture STM8 core with 3-stage pipeline and extended instruction set, enabling deterministic real-time execution. Its clock system integrates four sources: user-trimmable 16 MHz RC, 128 kHz low-power RC, crystal oscillator, and external clock input - all managed by a clock security system with monitor.
Peripheral integration includes a 16-bit advanced control timer (TIM1) with dead-time insertion and complementary outputs for motor control, a 16-bit general-purpose timer (TIM2), and an 8-bit basic timer (TIM4). The 10-bit ADC supports scan mode and analog watchdog, while UART offers SmartCard/IrDA/LIN master capability and SPI runs up to 8 Mbit/s.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | 16 MHz STM8 8-bit CPU with Harvard architecture and 3-stage pipeline - enables deterministic timing for real-time control loops. |
| Memory | 8 KB Flash (20-year data retention at 55 °C after 10 kcycles) + 640 B true data EEPROM (300 kcycle endurance) - supports field firmware updates and persistent calibration storage. |
| ADC | 10-bit ±1 LSB ADC with up to 5 multiplexed inputs, scan mode, and analog watchdog - suitable for precision sensor signal acquisition in noisy environments. |
| Timers | TIM1 (16-bit advanced, 4 CAPCOM, 3 complementary outputs, dead-time), TIM2 (16-bit GP, 3 CAPCOM), TIM4 (8-bit basic) - enables motor phase control, PWM generation, and periodic wake-up. |
| Communication | UART (SmartCard/IrDA/LIN master), SPI (up to 8 Mbit/s), I²C (up to 400 kbit/s) - provides interoperability with sensors, displays, and legacy bus peripherals. |
| Supply & Power | 2.95–5.5 V operation; low-power modes (wait, active-halt, halt); individual peripheral clock gating - extends battery life in portable or energy-constrained systems. |
| Debug | Single Wire Interface Module (SWIM) - allows full in-circuit debugging and programming using only one pin, reducing PCB routing overhead. |
Pinout & Package
STM8S103F3P3TR is packaged in a 20-lead TSSOP (4.4 mm body width), optimized for compact industrial PCB layouts and automated assembly. Pin functions are validated per ST's DS6120 Rev 15, Section 5.2.1.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 2.95–5.5 V digital supply; requires local 100 nF decoupling for stable core operation. |
| VSS | Ground reference | Digital ground return path; must be low-impedance and connected to system GND plane. |
| NRST | Active-low reset input | Asynchronous reset trigger; internal pull-up; accepts external push-button or supervisor IC assertion. |
| PA0–PA7 | Programmable I/O ports | Up to 8 bidirectional pins with high sink capability (20 mA), configurable as GPIO, ADC inputs, or alternate functions (e.g., UART TX/RX). |
| PB0–PB5 | Programmable I/O ports | 6 additional GPIOs; PB1/PB2 support TIM1/2 channel functions; PB4/PB5 serve UART1 and SPI clock/data lines. |
| SWIM | Debug interface | Single-wire programming and debugging port; requires external 1.8–5.5 V pull-up resistor for reliable communication. |
Key Features
| Feature | Design Value |
|---|---|
| True data EEPROM | 640 bytes with 300 kcycle endurance - eliminates need for external nonvolatile memory in calibration-critical applications. |
| Advanced control timer (TIM1) | 16-bit with dead-time insertion and 3 complementary outputs - enables direct driving of 3-phase half-bridge motor drivers without external logic. |
| Flexible clock system | Four selectable sources including user-trimmable 16 MHz RC - allows precise frequency tuning without external crystal, reducing BOM cost and board space. |
| Robust I/O design | 21 high-sink outputs (20 mA), immunity to current injection - tolerates harsh industrial EMI and transient coupling without protection diodes. |
| SWIM debug interface | Single-pin in-circuit programming and debugging - simplifies production test fixture design and field firmware updates. |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
|
Use Scenario: Standalone temperature/humidity monitoring unit with local display and wireless uplink. IC Role / Device Role / Timing Role: Main system controller managing ADC sampling, UART-based sensor data aggregation, and SPI-driven OLED display refresh. Use Value: Integrated 10-bit ADC with analog watchdog ensures accurate environmental readings; low-power wait mode extends battery life beyond 2 years on coin cell. |
Use Scenario: Washing machine drum motor controller with speed sensing and fault detection. IC Role / Device Role / Timing Role: Real-time motor commutation engine using TIM1's complementary PWM and dead-time to drive MOSFET half-bridges. Use Value: Hardware dead-time insertion prevents shoot-through; 300 kcycle EEPROM stores motor runtime logs and calibration offsets across service cycles. |
| POS Peripheral Interface | Building Automation Node |
|
Use Scenario: Barcode scanner add-on module interfacing with legacy RS-232 POS terminals. IC Role / Device Role / Timing Role: Protocol translator converting USB HID or CMOS-level scan data to UART-compatible RS-232 level-shifted output. Use Value: UART with clock output supports synchronous RS-232 timing; 2.95–5.5 V range accommodates wide-input DC-DC converters in retail power supplies. |
Use Scenario: Occupancy-sensing lighting controller with PIR input, dimmable LED output, and DALI bus interface. IC Role / Device Role / Timing Role: System manager coordinating PIR-triggered wake-up, PWM-dimming via TIM2, and I²C communication with DALI transceiver IC. Use Value: Nested interrupt controller handles concurrent PIR edge detection and DALI message framing; 8 KB Flash hosts dual-application firmware (lighting + diagnostics). |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8S003F3P6 | Same 20-pin TSSOP package and core, but only 4 KB Flash and no data EEPROM - uses standard RAM for data retention. | Limited to simpler control tasks without persistent parameter storage; unsuitable for calibration-heavy designs. | Select when BOM cost is primary constraint and EEPROM functionality is unnecessary. |
| EFM8BB10F8G-A-QFN20 | Silicon Labs 8051-based MCU; 8 KB Flash, 512 B RAM, no integrated EEPROM; higher active current but faster wake-up (1 µs). | Better suited for ultra-low-latency event response; lacks hardware dead-time and complementary PWM outputs for motor control. | Prefer for time-critical sensor polling or protocol bridging where motor drive features are irrelevant. |
Compared with STM8S003F3P6, the STM8S103F3P3TR adds critical EEPROM persistence and enhanced timer resources; versus EFM8BB10F8G-A-QFN20, it delivers superior motor-control peripherals and lower system-level component count despite slightly higher wake-up latency.
Availability
STM8S103F3P3TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart appliance control, and building automation requiring stable component supply over extended production lifecycles.
Supply support for STM8S103F3P3TR includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing microcontrollers, power devices, sensors, and analog ICs for industrial, automotive, and consumer markets.
The STM8S series targets cost-optimized embedded control applications, emphasizing robustness, low-power operation, and toolchain maturity - specifically engineered for industrial equipment, home appliances, and IoT edge nodes where reliability and long-term supply stability are essential.
FAQ
What is the maximum operating frequency and voltage range for the STM8S103F3P3TR?
The STM8S103F3P3TR operates at up to 16 MHz across a supply voltage range of 2.95 V to 5.5 V. Its internal 16 MHz RC oscillator is user-trimmable via option bytes, and fCPUmax scales linearly with VDD per Figure 9 in DS6120 Rev 15 - e.g., 16 MHz is guaranteed at VDD ≥ 4.5 V, while 12 MHz is supported down to 2.95 V.
Does the STM8S103F3P3TR support in-system programming via SWIM?
Yes - the device features a Single Wire Interface Module (SWIM) that enables full in-circuit programming and debugging using only the SWIM pin and VDD/VSS. No bootloader is required; ST-LINK/V2 or compatible debuggers can erase, program, and verify Flash and EEPROM directly through SWIM at voltages from 1.8 V to 5.5 V.
How many I/O pins are available in the TSSOP20 package, and what are their drive capabilities?
The STM8S103F3P3TR in TSSOP20 provides 16 GPIOs (PA0–PA7, PB0–PB5, plus NRST and SWIM). Of these, 21 pins are rated as high-sink outputs (20 mA), though physical pin count limits concurrent use. Standard ports deliver 10 mA source/20 mA sink; true open-drain pins support 20 mA sink only - confirmed in Table 39–41 of DS6120 Rev 15.
Is there hardware support for motor control applications?
Yes - TIM1 is a dedicated 16-bit advanced control timer with 3 complementary PWM outputs and programmable dead-time insertion, enabling direct half-bridge or 3-phase inverter gate driving. It synchronizes with ADC triggers for current-sense sampling and supports fault protection via break input - fully documented in Section 4.10 and Table 3 of DS6120 Rev 15.
STM8S103F3P3TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM8S
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- STM8
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, POR, PWM, WDT
- Number of I/O:
- 16
- Program Memory Size:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 640 x 8
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.95V ~ 5.5V
- Data Converters:
- A/D 5x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8S103F3P3TR FAQ
1.How can I place an order for STM8S103F3P3TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S103F3P3TR on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM8S103F3P3TR reliable?
The price and inventory of STM8S103F3P3TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S103F3P3TR is usually 5 days.
3.What payment methods are accepted for STM8S103F3P3TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S103F3P3TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S103F3P3TR?
STM8S103F3P3TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S103F3P3TR order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM8S103F3P3TR?
For technical support, including STM8S103F3P3TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S103F3P3TR requirements.
6.How does Aetrix verify that STM8S103F3P3TR is sourced from the original manufacturer or authorized distributors?
All STM8S103F3P3TR products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM8S103F3P3TR meets industry standards.
7.What is the process for return or replacement of STM8S103F3P3TR?
All STM8S103F3P3TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S103F3P3TR, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM8S103F3P3TR part is unused and in its original packaging.
Return procedure for STM8S103F3P3TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S103F3P3TR Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

