STMicroelectronics STM8S903F3M3TR
- Part No.:
- STM8S903F3M3TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-SOIC (0.295", 7.50mm Width)
- Datasheet:
-
STM8S903F3M3TR.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 20SO
- Quantity:
- Payment:

- Shipping:

Inventory:2,585
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S903F3M3TR from STMicroelectronics is an 8-bit STM8 microcontroller with 8 Kbytes Flash, 1 Kbyte RAM, and 640 bytes EEPROM, featuring a 16 MHz core, 10-bit ADC, UART/SPI/I²C interfaces, and advanced timer peripherals. It targets cost-sensitive industrial control, sensor interface, and appliance motor management applications requiring low-power operation and robust I/O.
For engineers reviewing the STM8S903F3M3TR datasheet, STM8S903F3M3TR pinout, STM8S903F3M3TR application, or STM8S903F3M3TR equivalent, key selection criteria include its 20-pin TSSOP package, 2.95–5.5 V supply range, 300 kcycle EEPROM endurance, nested interrupt controller with 32 vectors, and SWIM single-wire debug interface.
Technical Context
The STM8S903F3 implements a Harvard-architecture 16 MHz STM8 core with 3-stage pipeline and extended instruction set, supporting up to 28 external interrupts across 7 vectors. Its clock system integrates four sources: low-power crystal oscillator, external clock input, user-trimmable 16 MHz RC, and 128 kHz low-power RC, all monitored by a clock security system.
Memory architecture includes 8 Kbytes of Flash (20-year data retention at 55 °C after 10 kcycles), 640 bytes of true data EEPROM (300 kcycle endurance), and 1 Kbyte RAM. Peripheral integration covers UART with SmartCard/IrDA/LIN support, SPI up to 8 Mbit/s, I²C up to 400 kbit/s, and three timers: TIM1 (16-bit advanced control), TIM5 (16-bit general purpose), and TIM6 (8-bit basic).
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 Kbytes with 20-year data retention at 55 °C after 10,000 write/erase cycles |
| Data EEPROM | 640 bytes true data EEPROM, rated for 300,000 write/erase cycles |
| ADC | 10-bit ±1 LSB ADC with up to 7 multiplexed input channels plus 1 internal channel |
| Timers | TIM1 (16-bit advanced, 4 CAPCOM, dead-time insertion), TIM5 (16-bit general purpose), TIM6 (8-bit basic) |
| Supply Voltage | 2.95 V to 5.5 V - enables direct interface with 3.3 V and 5 V logic systems |
| I/O Count | Up to 16 I/Os in TSSOP20 package, including 13 high-sink outputs (20 mA sink capability) |
Pinout & Package
STM8S903F3M3TR is packaged in a 20-pin TSSOP (4.4 mm body width) with 0.65 mm pitch, optimized for compact industrial PCB layouts and automated assembly. Thermal resistance θJA is 120 °C/W.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 2.95–5.5 V supply rail; decoupling capacitor required at VCAP pin |
| VSS | Ground reference | Digital ground return path; separate analog ground not required |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts Schmitt-triggered signal |
| PA0–PA7 | Programmable I/O port A | 8-bit bidirectional port; PA0–PA3 support alternate functions (UART, SPI, I²C, TIM) |
| PD0–PD5 | Programmable I/O port D | 6-bit bidirectional port; PD0/PD1 support UART TX/RX; PD2–PD5 support TIM1 complementary outputs |
| SWIM | Single-wire interface module | Debug and programming interface using one dedicated pin (PD7) |
Key Features
| Feature | Design Value |
|---|---|
| Low-power clock management | Four selectable clock sources with automatic failover and clock monitor for system reliability |
| Flexible power modes | Wait, active-halt, and halt modes with individual peripheral clock gating reduce active current to 230 µA (halt @ 3.3 V) |
| Robust I/O structure | 21 high-sink I/Os (20 mA) across full package variants; immune to current injection per IEC 61000-4-2 |
| Integrated debug interface | SWIM single-wire debug enables in-circuit programming and real-time debugging without JTAG pins |
| Unique device ID | 96-bit factory-programmed identifier supports secure firmware binding and device authentication |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
Use Scenario: Standalone temperature/humidity sensor node with local display and wireless reporting. IC Role / Device Role / Timing Role: Main system controller managing ADC sampling, UART-based sensor fusion, and SPI-driven OLED display refresh. Use Value: 10-bit ADC with scan mode and analog watchdog enables precise multi-channel sensing; low-power modes extend battery life beyond 2 years on coin cell. |
Use Scenario: Washing machine mainboard controlling motor drive, water valves, and user interface. IC Role / Device Role / Timing Role: Central MCU coordinating PWM motor control via TIM1, LIN bus communication, and front-panel LED/button management. Use Value: TIM1's dead-time insertion and complementary outputs safely drive 3-phase inverter gate drivers; high-sink I/Os directly drive LEDs and relays without external buffers. |
| Energy Meter Interface | IoT Edge Gateway Subsystem |
Use Scenario: Residential electricity meter with pulse counting, tamper detection, and RS-485 backhaul. IC Role / Device Role / Timing Role: Dedicated interface MCU handling optical pulse decoding, EEPROM-based tariff storage, and UART-to-RS485 translation. Use Value: 640-byte EEPROM provides nonvolatile storage for 10+ years of billing logs; UART with clock output supports synchronous RS-485 transceivers. |
Use Scenario: Local protocol translator aggregating BLE/Zigbee sensor data before forwarding via Ethernet or cellular. IC Role / Device Role / Timing Role: Protocol bridge MCU running lightweight stack, managing I²C sensor reads and SPI flash logging. Use Value: I²C interface supports up to 400 kbit/s for fast sensor polling; 8 Kbytes Flash accommodates dual-bank firmware for safe 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, identical core/peripherals, but only 4 Kbytes Flash and 128 bytes EEPROM | Suitable for simpler control tasks with minimal code footprint and no long-term data logging | Select when firmware size ≤ 4 Kbytes and EEPROM usage < 128 bytes; lower cost but reduced upgrade headroom |
| EFM8BB10F8G-A-QSOP24 | Silicon Labs 8051 core, 8 Kbytes Flash, 512 bytes RAM, 2.5–3.6 V supply only, no built-in EEPROM | Requires external EEPROM for nonvolatile storage; lacks hardware LIN/SmartCard UART modes | Choose for designs already committed to EFM8 toolchain and needing higher analog performance (12-bit ADC, PGA) |
Compared with STM8S903F3M3TR, STM8S003F3P6 offers cost savings at the expense of memory scalability, while EFM8BB10F8G-A-QSOP24 trades supply flexibility and integrated EEPROM for enhanced analog features and different ecosystem dependencies.
Availability
STM8S903F3M3TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart appliance control, energy meter interfaces, and IoT edge gateway subsystems requiring stable component supply across multi-year production cycles.
Supply support for STM8S903F3M3TR 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 components for industrial, automotive, and consumer markets.
The STM8S series delivers cost-optimized 8-bit MCUs targeting resource-constrained embedded applications where deterministic real-time response, low power, and high I/O robustness are critical - especially in white goods, building automation, and metering.
FAQ
What is the maximum operating frequency and corresponding supply voltage range?
The STM8S903F3M3TR achieves a maximum CPU frequency of 16 MHz across its full 2.95–5.5 V operating voltage range. At 3.3 V, it sustains 16 MHz operation with typical current consumption of 4.2 mA in run mode; at 5 V, it draws 5.8 mA under identical conditions. Frequency scaling is not required - the core runs at full speed down to the minimum supply voltage.
Does this MCU support in-system programming via SWIM, and what hardware is required?
Yes, STM8S903F3M3TR supports full in-system programming and debugging via the SWIM (Single-Wire Interface Module) using only the PD7 pin and ground. A standard ST-LINK/V2 or compatible debugger is required; no external bootloader or UART-based ISP is needed. SWIM enables read-out protection, option byte configuration, and real-time variable inspection during execution.
How many I/O pins support high-sink capability, and what is the rated current?
In the TSSOP20 package, 13 I/O pins (PA0–PA7, PD0–PD5) are specified as high-sink outputs, each capable of sinking up to 20 mA continuously. This eliminates the need for external driver transistors when interfacing with LEDs, relays, or small solenoids. The I/O structure is designed to withstand 5 V-tolerant inputs even when powered at 3.3 V.
Is there hardware support for LIN bus communication, and which peripheral handles it?
Yes, the UART1 peripheral includes dedicated LIN master mode support, enabling direct generation of LIN break fields, sync fields, and checksums without CPU intervention. This feature is enabled via the LINEN bit in the UART1_CR2 register and operates at standard LIN baud rates (e.g., 19.2 kbps) with automatic timing compensation for bus voltage variations.
STM8S903F3M3TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-SOIC (0.295", 7.50mm 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:
STM8S903F3M3TR FAQ
1.How can I place an order for STM8S903F3M3TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S903F3M3TR 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 STM8S903F3M3TR reliable?
The price and inventory of STM8S903F3M3TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S903F3M3TR is usually 5 days.
3.What payment methods are accepted for STM8S903F3M3TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S903F3M3TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S903F3M3TR?
STM8S903F3M3TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S903F3M3TR 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 STM8S903F3M3TR?
For technical support, including STM8S903F3M3TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S903F3M3TR requirements.
6.How does Aetrix verify that STM8S903F3M3TR is sourced from the original manufacturer or authorized distributors?
All STM8S903F3M3TR 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 STM8S903F3M3TR meets industry standards.
7.What is the process for return or replacement of STM8S903F3M3TR?
All STM8S903F3M3TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S903F3M3TR, 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 STM8S903F3M3TR part is unused and in its original packaging.
Return procedure for STM8S903F3M3TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S903F3M3TR 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…

