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

- Shipping:

Inventory:3,137
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S003F3U6TR from STMicroelectronics is an 8-bit value-line microcontroller featuring a 16 MHz STM8 core, 8 Kbyte Flash memory, 128-byte data EEPROM, 10-bit ADC with up to 5 channels, and integrated UART, SPI, and I²C interfaces. It operates from 2.95 V to 5.5 V and targets cost-sensitive embedded control applications such as smart sensors, appliance timers, and industrial I/O modules.
For engineers reviewing the STM8S003F3U6TR datasheet, STM8S003F3U6TR pinout, STM8S003F3U6TR application, or STM8S003F3U6TR equivalent, key selection criteria include its 20-pin TSSOP/UFQFPN package, SWIM-based single-wire debug interface, low-power active-halt mode (0.35 µA typ.), 21 high-sink I/Os, and support for LIN master and SmartCard protocols via UART.
Technical Context
The STM8S003F3U6TR implements a Harvard-architecture 8-bit core with 3-stage pipeline and extended instruction set, enabling efficient code density and deterministic interrupt latency. Its clock system integrates four independent sources - including user-trimmable 16 MHz RC and low-power 128 kHz RC - with clock security monitoring and flexible peripheral gating.
Interrupt handling uses a nested controller supporting 32 vectors and up to 27 external interrupts across 6 priority levels. Analog functionality centers on a ±1 LSB 10-bit ADC with scan mode and analog watchdog, while timing subsystems include TIM1 (16-bit advanced control timer with dead-time insertion), TIM2 (16-bit general-purpose), and TIM4 (8-bit basic timer).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard core with 3-stage pipeline and extended instruction set - enables deterministic real-time execution and compact firmware footprint. |
| Max Clock Frequency | 16 MHz at 2.95–5.5 V - supports high-speed control loops without external crystal dependency due to trimmable internal RC oscillator. |
| Memory Resources | 8 Kbyte Flash (20-year data retention at 55 °C), 1 Kbyte RAM, 128-byte true EEPROM (100 k write/erase cycles) - sufficient for standalone sensor node or motor control firmware with nonvolatile parameter storage. |
| ADC Resolution & Channels | 10-bit SAR ADC with ±1 LSB INL/DNL, up to 5 multiplexed inputs, scan mode, and analog watchdog - suitable for precision voltage/current sensing in power supplies or battery monitors. |
| Communication Peripherals | UART (LIN master, SmartCard, IrDA), SPI (up to 8 Mbit/s), I²C (up to 400 Kbit/s) - enables direct interfacing with displays, EEPROMs, transceivers, and legacy automotive subnodes. |
| Power Management | Wait, active-halt (0.35 µA typ.), and halt modes; individual peripheral clock gating - extends battery life in portable or energy-harvesting applications. |
| I/O Capability | Up to 16 I/Os in TSSOP20/UFQFPN20 packages, including 13 high-sink outputs (up to 50 mA sink per pin) - drives LEDs, relays, or logic-level MOSFETs directly without external buffers. |
Pinout & Package
STM8S003F3U6TR is available in TSSOP20 (6.5 × 4.4 mm, 0.65 mm pitch) and UFQFPN20 (3 × 3 mm, 0.5 mm pitch) packages. Both are RoHS-compliant, surface-mount, and optimized for space-constrained PCB layouts.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Single 2.95–5.5 V supply rail; decoupling capacitor required at VCAP pin for internal regulator stability. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts Schmitt-triggered signals; supports external reset supervisor integration. |
| SWIM | Single-wire interface module | Dedicated debug and programming pin - enables in-circuit flash programming and non-intrusive runtime debugging with no additional pins required. |
| PA0–PA7 | Programmable I/O ports | Bi-directional with configurable pull-ups; PA3/PA4 support UART TX/RX; PA5/PA6 support SPI SCK/MOSI; PA7 supports I²C SCL. |
| PB4–PB7 | Programmable I/O ports | PB5/PB6 support I²C SDA/SCL; PB7 supports UART CTS; all support external interrupt capability and alternate function remapping. |
Key Features
| Feature | Design Value |
|---|---|
| Embedded SWIM debug interface | Enables full-speed on-chip programming and real-time variable inspection using only one pin - eliminates need for JTAG header or dedicated debug connector. |
| User-trimmable 16 MHz RC oscillator | ±1% accuracy after trimming over temperature and voltage - removes crystal cost and board area while maintaining timing integrity for UART baud generation. |
| High-sink I/O capability | 21 pins rated for 50 mA sink current (TSSOP20 variant) - directly drives indicator LEDs, small solenoids, or N-channel MOSFET gates without external drivers. |
| Low-power active-halt mode | 0.35 µA typical current consumption at 5 V - ideal for wake-on-external-interrupt applications like remote controls or sensor wakeups. |
| LIN 2.2-compliant UART | Hardware LIN master mode with automatic sync-break detection and checksum generation - simplifies implementation of automotive body electronics nodes. |
Applications
| Smart Appliance Timer | Industrial I/O Module |
|---|---|
|
Use Scenario: Timing and sequencing functions in washing machine control boards, including motor phase control, heater duty cycling, and display updates. IC Role / Device Role / Timing Role: Primary system controller executing state-machine logic, reading front-panel buttons, driving triac gate signals, and managing serial UI communication. Use Value: Integrated 16-bit TIM1 with complementary outputs and dead-time insertion enables precise AC motor phase control; high-sink I/Os drive LED indicators and opto-triacs directly. |
Use Scenario: Standalone digital input/output expansion for PLCs or building automation controllers, accepting 24 V DC sensor signals and switching 12 V relay loads. IC Role / Device Role / Timing Role: Isolated field-side interface MCU handling signal conditioning, debounce filtering, and protocol translation to Modbus RTU over UART. Use Value: 10-bit ADC monitors supply rail health; UART supports Modbus slave mode; robust I/O design withstands ESD and current injection common in industrial environments. |
| Portable Sensor Node | LED Lighting Controller |
|
Use Scenario: Battery-powered environmental monitor collecting temperature, humidity, and motion data, then transmitting via UART to Bluetooth module. IC Role / Device Role / Timing Role: Low-power sensor aggregator managing ADC sampling, data preprocessing, and wake-on-interrupt event handling before transmission burst. Use Value: Active-halt mode draws <0.4 µA; SWIM allows field firmware updates; internal 128 kHz RC enables accurate sleep interval timing without external components. |
Use Scenario: Dimmable LED driver in architectural lighting systems, accepting DALI or PWM commands and regulating constant-current output stages. IC Role / Device Role / Timing Role: System manager coordinating PWM dimming profiles, thermal foldback, and fault reporting via I²C to master controller. Use Value: TIM2 generates precise 1–10 kHz PWM for smooth LED dimming; I²C interface reads ambient light sensor and writes to external LED driver registers. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8S003K3T6 | 32-pin LQFP package, 28 I/Os, same core/peripherals but larger footprint and higher pin count. | Suitable where board layout allows more I/O routing or future expansion; not drop-in compatible due to different pinout and package. | Select when needing >16 GPIOs or additional ADC channels; requires PCB redesign. |
| EFM8BB10F8G-A-QFN20 | Silicon Labs 8051 core, 8 KB Flash, 512 B RAM, 12-bit ADC, 2x UART, but no LIN or SWIM; 20-pin QFN package. | Lacks hardware LIN master and single-wire debug; offers higher ADC resolution but less mature ecosystem for cost-sensitive industrial use. | Prefer when 12-bit ADC precision outweighs LIN protocol needs and SWIM convenience. |
Compared with STM8S003F3U6TR, the STM8S003K3T6 provides greater I/O scalability at the cost of board area, while the EFM8BB10F8G-A-QFN20 trades LIN/SWIM advantages for higher-resolution ADC and vendor-specific toolchain requirements.
Availability
STM8S003F3U6TR is available at Aetrix Electronics and suitable for smart appliance timers, industrial I/O modules, portable sensor nodes, and LED lighting controllers requiring stable component supply and long-term production support.
Supply support for STM8S003F3U6TR 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 ICs, sensors, and analog devices for industrial, automotive, and consumer markets.
The STM8S value line targets cost-optimized embedded control applications, emphasizing low BOM cost, minimal external components, and ease of integration in high-volume industrial and white-goods designs.
FAQ
Does STM8S003F3U6TR support hardware LIN communication?
Yes, it implements LIN 2.2-compliant master mode in its UART peripheral, including automatic sync-break generation, identifier handling, checksum calculation, and response timeout detection - eliminating software overhead for automotive body electronics nodes.
What debug interface does STM8S003F3U6TR use?
It uses the Single-Wire Interface Module (SWIM), a proprietary ST interface requiring only one dedicated pin (SWIM) for full-speed flash programming, breakpoint setting, and real-time register/memory inspection - no JTAG header or additional signals needed.
Can STM8S003F3U6TR operate without an external crystal?
Yes - it includes an internal, user-trimmable 16 MHz RC oscillator with ±1% accuracy after calibration, plus a 128 kHz low-power RC oscillator. These enable full operation, including UART baud rate generation, without any external timing components.
Is STM8S003F3U6TR pin-compatible with other STM8S003 variants?
No - the U6TR suffix denotes TSSOP20/UFQFPN20 packaging, while K3 variants use LQFP32. Pin mapping differs significantly between 20-pin and 32-pin versions; migration requires PCB redesign and I/O remapping in firmware.
STM8S003F3U6TR 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:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 128 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:
STM8S003F3U6TR FAQ
1.How can I place an order for STM8S003F3U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S003F3U6TR 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 STM8S003F3U6TR reliable?
The price and inventory of STM8S003F3U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S003F3U6TR is usually 5 days.
3.What payment methods are accepted for STM8S003F3U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S003F3U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S003F3U6TR?
STM8S003F3U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S003F3U6TR 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 STM8S003F3U6TR?
For technical support, including STM8S003F3U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S003F3U6TR requirements.
6.How does Aetrix verify that STM8S003F3U6TR is sourced from the original manufacturer or authorized distributors?
All STM8S003F3U6TR 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 STM8S003F3U6TR meets industry standards.
7.What is the process for return or replacement of STM8S003F3U6TR?
All STM8S003F3U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S003F3U6TR, 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 STM8S003F3U6TR part is unused and in its original packaging.
Return procedure for STM8S003F3U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S003F3U6TR 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 and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
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…

