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

- Shipping:

Inventory:3,778
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S903F3U3TR from STMicroelectronics is an 8-bit microcontroller featuring a 16 MHz STM8 core, 8 Kbytes Flash, 1 Kbyte RAM, and 640 bytes EEPROM. It integrates a 10-bit ADC with 7 multiplexed channels, UART, SPI, and I²C interfaces, and supports low-power operation down to 2.95 V. It is used in cost-sensitive industrial control panels requiring deterministic real-time response and firmware-upgradable sensor nodes.
For engineers reviewing the STM8S903F3U3TR datasheet, STM8S903F3U3TR pinout, STM8S903F3U3TR application, or STM8S903F3U3TR equivalent, key selection criteria include its 20-pin TSSOP package, 16 MHz max CPU frequency at 3.3 V, true data EEPROM endurance (300 kcycle), SWIM debug interface, and support for LIN master mode over UART.
Technical Context
The STM8S903F3U3TR implements a Harvard-architecture 8-bit core with 3-stage pipeline and extended instruction set, enabling single-cycle execution for most instructions. Its clock system includes four selectable sources: external crystal, external clock, user-trimmable 16 MHz RC, and low-power 128 kHz RC - all monitored by a clock security system.
Interrupt handling uses a nested controller supporting 32 vectors and up to 28 external interrupts across 7 priority levels. Memory subsystem includes segmented Flash with error correction logic, dedicated 640-byte EEPROM with hardware wear leveling, and RAM with retention during active-halt mode.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard core with 3-stage pipeline; enables deterministic timing for real-time control loops. |
| Max Operating Frequency | 16 MHz at 3.3–5.5 V; supports full-speed peripheral operation without clock division. |
| Flash Memory | 8 Kbytes with 20-year data retention at 55 °C after 10 kcycles; sufficient for bootloader + application firmware. |
| Data EEPROM | 640 bytes true EEPROM with 300 kcycle endurance; retains calibration data across power cycles. |
| ADC Resolution & Channels | 10-bit SAR ADC with ±1 LSB INL, 7 external + 1 internal channel; suitable for precision analog sensing. |
| Supply Voltage Range | 2.95 V to 5.5 V; compatible with both 3.3 V and 5 V industrial bus systems. |
| Low-Power Modes | Wait, active-halt, and halt modes; active-halt draws ≤1.3 µA at 3.3 V, enabling battery-backed wake-up. |
Pinout & Package
STM8S903F3U3TR is housed in a 20-pin TSSOP package (4.4 mm body width) with 0.65 mm pitch, optimized for compact industrial PCB layouts and automated assembly.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 2.95–5.5 V supply rail; requires local 100 nF decoupling per VDD pin. |
| VSS | Ground reference | Digital ground return; separate analog ground not required due to integrated ADC design. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.2 V logic threshold for robust noise immunity. |
| PA0–PA7 | Programmable I/O port A | 8-bit bidirectional port; PA0–PA3 support alternate functions including UART TX/RX and SPI SCK/MOSI/MISO. |
| PB0–PB5 | Programmable I/O port B | 6-bit bidirectional port; PB1 supports TIM1 channel 1 output; PB4/PB5 support I²C SCL/SDA. |
| SWIM | Single-wire interface module | Debug and programming interface using one pin; enables in-circuit programming without JTAG header. |
Key Features
| Feature | Design Value |
|---|---|
| SWIM debug interface | Single-pin in-circuit programming and debugging; eliminates need for dedicated debug headers and reduces BOM count. |
| True data EEPROM | 640 bytes with hardware wear leveling and 300 kcycle endurance; stores device-specific calibration without external memory. |
| Flexible clock sources | Four independent clock options including trimmable 16 MHz RC; enables precise timing without external crystal in cost-sensitive designs. |
| LIN master mode | UART peripheral supports LIN 2.2 frame generation and checksum calculation; simplifies automotive sub-node integration. |
| High sink I/O capability | Up to 21 pins rated for 20 mA sink current; drives LEDs or small relays directly without external drivers. |
Applications
| Industrial Sensor Node | Smart HVAC Actuator |
|---|---|
Use Scenario: Battery-powered temperature/humidity node transmitting data via UART to gateway. IC Role / Device Role / Timing Role: Main system controller executing sensor readout, ADC conversion, and LIN-compliant UART transmission. Use Value: 640-byte EEPROM stores factory calibration offsets; 1.3 µA active-halt current extends 10-year battery life. |
Use Scenario: Motorized damper control in commercial HVAC with position feedback and fault reporting. IC Role / Device Role / Timing Role: Real-time actuator coordinator managing PWM motor drive, analog feedback sampling, and LIN status broadcast. Use Value: 16-bit TIM1 with dead-time insertion ensures safe half-bridge switching; high-sink I/O drives indicator LEDs directly. |
| Entry-Level PLC I/O Module | Appliance Control Board |
Use Scenario: DIN-rail mounted digital input/output expansion module for small automation systems. IC Role / Device Role / Timing Role: Protocol bridge between field I/O and Modbus RTU over UART, with local debounce and state buffering. Use Value: 28 I/Os (21 high-sink) interface directly to 24 V sensors/relays; flexible clocking accommodates variable bus timing. |
Use Scenario: Washing machine main control board managing motor, heater, water valves, and user interface. IC Role / Device Role / Timing Role: Central sequencer coordinating timed operations, safety interlocks, and fault logging via EEPROM. Use Value: Independent watchdog and clock monitor ensure fail-safe shutdown; 8 Kbyte Flash hosts dual-bank firmware for OTA 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 package, 8 Kbyte Flash, but only 128 bytes EEPROM and no LIN master mode. | Suitable for simpler control tasks without calibration storage or automotive communication. | Select when EEPROM size and LIN are non-critical; lower cost but reduced data retention capability. |
| EFM8BB10F8G-A-QFN20 | Silicon Labs 8051 core, 8 Kbyte Flash, 512 bytes RAM, but no integrated EEPROM and different peripheral set (no LIN, no SWIM). | Requires external EEPROM for calibration; UART lacks LIN frame generation hardware. | Choose if toolchain familiarity with 8051 or higher analog performance (12-bit ADC) outweighs EEPROM and LIN advantages. |
Compared with STM8S003F3P6, the STM8S903F3U3TR provides triple the EEPROM capacity and hardware LIN support - critical for self-calibrating nodes. Against EFM8BB10F8G-A-QFN20, it offers superior embedded data persistence and automotive protocol acceleration at lower system-level BOM cost.
Availability
STM8S903F3U3TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart HVAC actuators, entry-level PLC I/O modules, and appliance control boards requiring stable component supply across multi-year production cycles.
Supply support for STM8S903F3U3TR 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, high-reliability 8-bit control applications, emphasizing low-power operation, embedded nonvolatile memory, and robust peripherals for industrial automation and white goods.
FAQ
Does STM8S903F3U3TR 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 one dedicated pin (SWIM). No external debugger hardware is required beyond a SWIM-compatible programmer such as ST-LINK/V2, and firmware updates can be performed without removing the MCU from the target board.
What is the maximum ADC sampling rate achievable on STM8S903F3U3TR?
The 10-bit ADC supports up to 1 MSPS conversion rate when configured in continuous scan mode with prescaler = 0 and fCPU = 16 MHz. Actual throughput depends on channel count and trigger source; for 7-channel scan with auto-increment, typical effective rate is ~140 kSPS with 12 ADC clocks per conversion.
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 adjustment in ±1% steps across the full operating voltage and temperature range. Factory calibration value is stored in option bytes, and runtime trimming can achieve ±0.5% accuracy under stable conditions.
Is there hardware support for PWM generation with complementary outputs and dead-time control?
Yes. The advanced control timer (TIM1) provides 4 CAPCOM channels, 3 complementary outputs, and programmable dead-time insertion (1–1023 ns resolution). This enables direct driving of half-bridge or three-phase inverter topologies without external gate driver logic or software-based dead-time management.
STM8S903F3U3TR 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:
- 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:
STM8S903F3U3TR FAQ
1.How can I place an order for STM8S903F3U3TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S903F3U3TR 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 STM8S903F3U3TR reliable?
The price and inventory of STM8S903F3U3TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S903F3U3TR is usually 5 days.
3.What payment methods are accepted for STM8S903F3U3TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S903F3U3TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S903F3U3TR?
STM8S903F3U3TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S903F3U3TR 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 STM8S903F3U3TR?
For technical support, including STM8S903F3U3TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S903F3U3TR requirements.
6.How does Aetrix verify that STM8S903F3U3TR is sourced from the original manufacturer or authorized distributors?
All STM8S903F3U3TR 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 STM8S903F3U3TR meets industry standards.
7.What is the process for return or replacement of STM8S903F3U3TR?
All STM8S903F3U3TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S903F3U3TR, 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 STM8S903F3U3TR part is unused and in its original packaging.
Return procedure for STM8S903F3U3TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S903F3U3TR 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…

