STMicroelectronics STM8S103F2U6TR
- Part No.:
- STM8S103F2U6TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-UFQFN
- Datasheet:
-
STM8S103F2U6TR.pdf
- Description:
- IC MCU 8BIT 4KB FLASH 20UFQFN
- Quantity:
- Payment:

- Shipping:

Inventory:4,795
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S103F2U6TR from STMicroelectronics is an 8-bit access-line microcontroller featuring a 16 MHz STM8 core, 8 Kbyte Flash program memory, 640 byte data EEPROM, 10-bit ADC with 5 channels, three timers (including advanced control timer TIM1), and UART/SPI/I²C interfaces. It operates from 2.95–5.5 V and targets cost-sensitive embedded control in industrial sensors, smart actuators, and appliance sub-systems.
For engineers reviewing the STM8S103F2U6TR datasheet, STM8S103F2U6TR pinout, STM8S103F2U6TR application, or STM8S103F2U6TR equivalent, key selection criteria include its 20-pin UFQFPN package, 16 MHz max CPU frequency at 5 V, integrated data EEPROM endurance (300 kcycle), low-power active-halt mode current (0.35 µA typ), and single-wire interface module (SWIM) for debug and programming.
Technical Context
The STM8S103F2U6TR implements a Harvard-architecture 8-bit STM8 core with 3-stage pipeline and extended instruction set, enabling efficient C-code execution and deterministic interrupt latency. Its clock system integrates four independent 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.
Interrupt handling uses a nested controller supporting 32 vectors and up to 27 external interrupts across six priority levels. Memory subsystem includes 8 Kbyte Flash with 20-year data retention at 55 °C after 10 kcycles, plus true data EEPROM (640 B, 300 kcycle endurance) mapped into linear address space for direct read/write access without special instructions.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | 16 MHz STM8 8-bit Harvard architecture with 3-stage pipeline and extended instruction set |
| Flash Memory | 8 Kbyte with 20-year data retention at 55 °C after 10,000 erase/write cycles |
| Data EEPROM | 640 byte true EEPROM; 300,000 write/erase endurance; byte-level programmability |
| ADC | 10-bit ±1 LSB ADC with 5 multiplexed inputs, scan mode, and analog watchdog |
| Timers | TIM1 (16-bit advanced, 4 CAPCOM, dead-time insertion), TIM2 (16-bit general purpose), TIM4 (8-bit basic) |
| Communication | UART (LIN/SmartCard/IrDA support), SPI (up to 8 Mbit/s), I²C (up to 400 kbit/s) |
| Supply Voltage | 2.95–5.5 V operation; supports direct connection to 3.3 V or 5 V rails without level shifters |
Pinout & Package
STM8S103F2U6TR is housed in a 20-lead UFQFPN package (3 × 3 mm, 0.5 mm pitch), optimized for space-constrained PCB layouts and thermal performance in compact industrial modules.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 2.95–5.5 V supply rail; decoupled via 100 nF capacitor near pin |
| VSS | Ground | Digital ground reference; requires low-impedance connection to PCB ground plane |
| NRST | Reset input | Active-low reset with internal pull-up; accepts external push-button or supervisor IC assertion |
| SWIM | Single-wire debug interface | Bi-directional serial line for programming, debugging, and chip identification via ST-LINK |
| PA0–PA7 | General-purpose I/O | 8-bit port A with high-sink capability (20 mA per pin); configurable as analog input or digital function |
| PB0–PB5 | General-purpose I/O | 6-bit port B; PB1/PB2 support UART1 TX/RX; PB4/PB5 support SPI CLK/MOSI |
| PC0–PC3 | General-purpose I/O | 4-bit port C; PC0–PC2 support ADC1 IN0–IN2; PC3 supports I²C SCL/SDA |
Key Features
| Feature | Design Value |
|---|---|
| Low-power modes | Wait (0.35 µA typ), active-halt (0.35 µA), and halt (0.25 µA) enable battery-powered operation for >10 years |
| Integrated data EEPROM | 640 B of true EEPROM with no external components required for non-volatile parameter storage |
| Advanced control timer TIM1 | 16-bit timer with 3 complementary outputs and hardware dead-time insertion for motor gate drive safety |
| Single-wire interface (SWIM) | On-chip debug and programming using only one pin - eliminates need for JTAG header footprint |
| Robust I/O design | I/Os withstand 5 V tolerance and current injection immunity per IEC 61000-4-2 Level 4 (±8 kV contact) |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
Use Scenario: Temperature/humidity sensor node with local display and wireless reporting. IC Role / Device Role / Timing Role: Main system controller managing ADC sampling, LCD segment driving, UART-to-Bluetooth bridge, and low-power sleep/wake scheduling. Use Value: Integrated 10-bit ADC and ultra-low halt-mode current (0.25 µA) extend battery life while maintaining measurement accuracy and responsiveness. |
Use Scenario: Washing machine drum motor control and user interface panel. IC Role / Device Role / Timing Role: Sub-controller handling front-panel button scanning, LED indicators, buzzer tone generation, and PWM-driven motor speed feedback. Use Value: TIM1's dead-time insertion and complementary outputs safely drive half-bridge MOSFETs; SWIM enables field firmware updates without hardware rework. |
| LED Lighting Driver | POS Terminal Peripheral |
Use Scenario: Constant-current LED driver for signage with dimming and thermal foldback. IC Role / Device Role / Timing Role: Real-time PWM generator and analog monitoring unit interfacing with current-sense amplifier and thermistor. Use Value: 10-bit ADC with analog watchdog detects overtemperature events; 16 MHz core ensures precise 1–10 kHz PWM resolution for flicker-free dimming. |
Use Scenario: Barcode scanner module with USB-HID emulation via UART-to-USB bridge IC. IC Role / Device Role / Timing Role: Protocol translator and command parser managing UART framing, checksum validation, and status LED signaling. Use Value: UART with LIN master mode and SmartCard support simplifies integration with legacy peripherals; 8 Kbyte Flash accommodates multi-language UI strings and firmware updates. |
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/UFQFPN footprint; identical core and peripherals but only 4 Kbyte Flash and 128 byte EEPROM | Suitable for simpler control tasks where code size <4 Kbyte and non-volatile storage <128 B suffices | Select when cost sensitivity outweighs need for larger program/data memory |
| EFM8BB10F8G-A-QFN20 | Silicon Labs 8051-based MCU; 8 Kbyte Flash, 512 byte RAM, no integrated EEPROM; higher active current (150 µA/MHz) | Lacks on-chip EEPROM and SWIM; requires external I²C EEPROM for parameter storage | Choose only if existing toolchain familiarity with 8051 outweighs loss of EEPROM and debug simplicity |
Compared with STM8S103F2U6TR, STM8S003F3P6 reduces memory capacity but maintains identical low-power behavior and debug interface, while EFM8BB10F8G sacrifices EEPROM integration and SWIM simplicity for marginally higher core throughput - making STM8S103F2U6TR optimal for memory-constrained yet feature-complete embedded control.
Availability
STM8S103F2U6TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart appliance sub-systems, and LED lighting drivers requiring stable component supply, long-term manufacturability, and consistent electrical performance across temperature ranges.
Supply support for STM8S103F2U6TR 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 management ICs, sensors, and automotive-grade components.
The STM8S series delivers cost-optimized 8-bit MCUs targeting industrial automation, home appliances, and consumer electronics where reliability, low power, and integrated peripherals are critical.
FAQ
Does STM8S103F2U6TR support in-circuit programming via SWIM?
Yes. The STM8S103F2U6TR features a dedicated SWIM (Single-Wire Interface Module) pin that enables full in-circuit programming, debugging, and chip identification using ST-LINK/V2 or compatible debuggers. No external bootloader or UART-based firmware update mechanism is required - SWIM operates independently of application code and supports read-out protection configuration.
What is the maximum operating frequency at 3.3 V supply?
At 3.3 V supply, the STM8S103F2U6TR supports a maximum CPU frequency of 14 MHz, as specified in Section 10.3.1 of DS6120 Rev 15. This is derived from the fCPUmax vs. VDD curve (Figure 9), which shows guaranteed operation up to 14 MHz at 3.3 V, with full peripheral functionality including UART, SPI, and ADC.
Can the internal 16 MHz RC oscillator be calibrated for improved accuracy?
Yes. The internal 16 MHz RC oscillator includes a user-trimmable calibration register (CLK_HSICALR) allowing fine-tuning in steps of ±0.5% across a ±8% range. Calibration is performed during production and stored in option bytes, but users may reprogram it using SWIM to compensate for temperature or voltage drift - achieving ±1% accuracy over 0–70 °C when properly trimmed.
Is there hardware support for PWM-driven motor control?
Yes. The advanced control timer TIM1 provides three complementary PWM outputs with programmable dead-time insertion (1–1023 ns resolution), synchronization with external events, and fault protection inputs - directly supporting half-bridge and three-phase inverter gate driving without external logic or timing ICs.
STM8S103F2U6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-UFQFN
- 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:
- 4KB (4K 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8S103F2U6TR FAQ
1.How can I place an order for STM8S103F2U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S103F2U6TR 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 STM8S103F2U6TR reliable?
The price and inventory of STM8S103F2U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S103F2U6TR is usually 5 days.
3.What payment methods are accepted for STM8S103F2U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S103F2U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S103F2U6TR?
STM8S103F2U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S103F2U6TR 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 STM8S103F2U6TR?
For technical support, including STM8S103F2U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S103F2U6TR requirements.
6.How does Aetrix verify that STM8S103F2U6TR is sourced from the original manufacturer or authorized distributors?
All STM8S103F2U6TR 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 STM8S103F2U6TR meets industry standards.
7.What is the process for return or replacement of STM8S103F2U6TR?
All STM8S103F2U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S103F2U6TR, 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 STM8S103F2U6TR part is unused and in its original packaging.
Return procedure for STM8S103F2U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S103F2U6TR 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…

