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

- Shipping:

Inventory:1,419
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S903F3M6TR from STMicroelectronics is an 8-bit microcontroller featuring a 16 MHz STM8 core, 8 Kbytes Flash, 1 Kbyte RAM, and 640 bytes EEPROM, with integrated 10-bit ADC, UART, SPI, I²C, and two 16-bit timers. 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 STM8S903F3M6TR datasheet, STM8S903F3M6TR pinout, STM8S903F3M6TR application, or STM8S903F3M6TR equivalent, key selection criteria include its 20-pin TSSOP package, 2.95–5.5 V supply range, nested interrupt controller supporting 32 interrupts, and dual watchdog timers for safety-critical firmware execution.
Technical Context
The STM8S903F3M6TR implements a Harvard-architecture STM8 core with 3-stage pipeline and extended instruction set, enabling deterministic real-time response. Its clock system integrates four independent sources: external crystal, external clock input, user-trimmable 16 MHz RC, and low-power 128 kHz RC - all monitored by a dedicated clock security system.
Memory architecture includes separate program (Flash) and data (EEPROM + RAM) spaces, with true data EEPROM endurance rated at 300 kcycles and 20-year data retention at 55 °C. Peripheral clock gating allows selective power-down of UART, SPI, I²C, and timers to minimize active-halt mode current consumption.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | STM8 8-bit Harvard architecture with 3-stage pipeline; enables deterministic timing for real-time control loops. |
| Max Clock Frequency | 16 MHz at 2.95–5.5 V; supports high-speed polling or timer-driven sampling without external PLL. |
| Flash Memory | 8 Kbytes; retains data ≥20 years at 55 °C after 10,000 write/erase cycles - suitable for field-upgradable firmware. |
| Data EEPROM | 640 bytes true EEPROM; withstands 300,000 erase/write cycles - ideal for logging calibration data or runtime parameters. |
| ADC Resolution | 10-bit SAR with ±1 LSB INL; supports up to 7 external channels plus internal reference voltage measurement. |
| Supply Voltage Range | 2.95 V to 5.5 V; enables direct interface with 3.3 V logic or legacy 5 V systems without level-shifting. |
| Low-Power Modes | Wait, active-halt, and halt modes; active-halt draws ≤1.2 µA at 3.3 V - extends battery life in intermittent-sensing applications. |
Pinout & Package
STM8S903F3M6TR is packaged in a 20-pin TSSOP (4.4 mm body width), with 18 general-purpose I/O pins, including 16 high-sink outputs capable of 20 mA sink per pin. The package supports standard reflow soldering and fits compact PCB layouts.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 2.95–5.5 V supply rail; requires local 100 nF decoupling capacitor near pin. |
| VSS | Ground | Digital ground reference; must be connected to low-impedance PCB plane. |
| NRST | Reset input | Active-low reset with internal pull-up; accepts external push-button or supervisor IC assertion. |
| PA0–PA7 | Port A I/O | 8-bit bidirectional port; PA0–PA3 support alternate functions including UART TX/RX and SPI SCK/MOSI/MISO. |
| PB0–PB5 | Port B I/O | 6-bit bidirectional port; PB4/PB5 configurable as I²C SCL/SDA with internal pull-ups enabled. |
| SWIM | Single-wire debug interface | Enables in-circuit programming and debugging via single pin - no JTAG header required. |
| VCAP | Capacitor connection for internal regulator | Requires 1 µF ceramic capacitor to stabilize internal voltage regulator for core logic. |
Key Features
| Feature | Design Value |
|---|---|
| Advanced Control Timer (TIM1) | 16-bit with 4 CAPCOM channels, 3 complementary outputs, and dead-time insertion - enables 3-phase motor gate drive without external logic. |
| Nested Interrupt Controller | 32 interrupt vectors with priority encoding; supports fast context switching for time-critical ISR handling. |
| True Data EEPROM | 640 bytes with 300 kcycle endurance and 20-year data retention - eliminates need for external nonvolatile memory in parameter storage. |
| Flexible Clock Sources | Four independent clocks (HSE, HSI, LSE, LSI) with automatic failover and clock monitor - ensures reliable operation under oscillator fault conditions. |
| High-Sink I/O Capability | 21 I/Os support 20 mA sink current; simplifies direct LED driving or relay coil control without external drivers. |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
Use Scenario: Standalone temperature/humidity sensor node with periodic wireless transmission. IC Role / Device Role / Timing Role: MCU handles ADC sampling, data preprocessing, UART communication to transceiver, and low-power sleep/wake scheduling. Use Value: Integrated 10-bit ADC with analog watchdog and ultra-low active-halt current (≤1.2 µA) extend battery life to >5 years on coin cell. | Use Scenario: Washing machine main control board managing motor, valves, display, and user interface. IC Role / Device Role / Timing Role: Central controller executing state machine, PWM motor control via TIM1, and fault monitoring using window watchdog. Use Value: 20 mA sink I/Os directly drive solenoid valves and indicator LEDs; dual watchdog timers satisfy IEC 60730 Class B safety requirements. |
| Energy Meter Interface | POS Terminal Peripheral |
Use Scenario: Pulse-counting interface between mechanical energy meter and smart grid concentrator. IC Role / Device Role / Timing Role: Edge-triggered GPIO capture for kWh pulse counting, UART communication to host, and tamper detection via NRST monitoring. Use Value: 28 external interrupt vectors allow simultaneous monitoring of multiple tamper switches and meter pulses without polling overhead. | Use Scenario: Barcode scanner or magnetic stripe reader module in retail POS terminal. IC Role / Device Role / Timing Role: Protocol translation between USB host and serial barcode engine, with SPI-connected flash for firmware updates. Use Value: UART with SmartCard and IrDA support enables direct integration with legacy payment peripherals; 8 Kbyte Flash accommodates dual-bank bootloader. |
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 and peripheral set, but only 4 Kbytes Flash and 128 bytes EEPROM. | Suitable for simpler firmware with no field update or persistent logging needs. | Select when code size <4 Kbytes and EEPROM usage is minimal - lower cost alternative with identical footprint and pinout. |
| EFM8BB10F8G-A-QSOP24 | 24-pin QSOP, 8051 core, 8 Kbytes Flash, 512 bytes RAM, no integrated EEPROM, higher active current (150 µA/MHz). | Lacks true EEPROM and high-sink I/O; requires external components for parameter storage and load driving. | Choose only if 8051 toolchain compatibility is mandatory; otherwise STM8S903F3M6TR offers superior integration and lower system BOM cost. |
Compared with STM8S003F3P6, STM8S903F3M6TR provides double Flash and 5× more EEPROM for firmware flexibility and data logging; versus EFM8BB10F8G-A-QSOP24, it delivers native EEPROM, higher I/O sink strength, and lower standby power - reducing component count and power management complexity.
Availability
STM8S903F3M6TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart appliance control, energy meter interfaces, and POS terminal peripherals requiring stable component supply across multi-year production cycles.
Supply support for STM8S903F3M6TR 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 was engineered specifically for cost-sensitive, reliability-critical embedded control applications - emphasizing low-power operation, robust I/O, and integrated peripherals to reduce external component count in white goods, building automation, and metering systems.
FAQ
What is the maximum operating frequency of the STM8S903F3M6TR?
The STM8S903F3M6TR operates at up to 16 MHz across its full 2.95–5.5 V supply range. This frequency is achievable using the internal 16 MHz RC oscillator (trimmable to ±1%), external crystal (up to 24 MHz), or external clock source. No external PLL is required, and timing specifications in the datasheet (DS6210 Rev 13, Section 10.3.4) guarantee setup/hold margins at this speed under all valid VDD and temperature conditions.
Does the STM8S903F3M6TR support in-system programming via SWIM?
Yes, the STM8S903F3M6TR supports full in-system programming and debugging through its single-wire interface module (SWIM) using the SWIM pin. This requires only one signal line plus ground, eliminating the need for multi-pin debug headers. ST-LINK/V2 and compatible programmers provide full read/write/erase access to Flash and EEPROM, and support breakpoint-based debugging without halting peripheral operation.
How many I/O pins support high-sink capability, and what is the rating?
Up to 21 I/O pins on the STM8S903F3M6TR support high-sink output capability, each rated for 20 mA DC sink current at VDD = 5 V (Section 10.3.6, Table 43). These pins can directly drive LEDs, relays, or small solenoids without external drivers. Total simultaneous sink current is limited to 80 mA across all ports, and thermal derating applies above 70 °C ambient.
Is there hardware support for I²C clock stretching or arbitration?
Yes, the integrated I²C interface supports full multimaster arbitration and clock stretching. The hardware automatically handles SCL low extension during slave processing, and detects bus collisions during address/data transmission. Arbitration is resolved bit-by-bit using wired-AND logic on SDA, with the master retaining control whose data bit is '1' when the other transmits '0'. This complies with I²C specification v2.1 and is verified in electrical characteristics (Table 46, Section 10.3.9).
STM8S903F3M6TR 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8S903F3M6TR FAQ
1.How can I place an order for STM8S903F3M6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S903F3M6TR 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 STM8S903F3M6TR reliable?
The price and inventory of STM8S903F3M6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S903F3M6TR is usually 5 days.
3.What payment methods are accepted for STM8S903F3M6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S903F3M6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S903F3M6TR?
STM8S903F3M6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S903F3M6TR 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 STM8S903F3M6TR?
For technical support, including STM8S903F3M6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S903F3M6TR requirements.
6.How does Aetrix verify that STM8S903F3M6TR is sourced from the original manufacturer or authorized distributors?
All STM8S903F3M6TR 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 STM8S903F3M6TR meets industry standards.
7.What is the process for return or replacement of STM8S903F3M6TR?
All STM8S903F3M6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S903F3M6TR, 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 STM8S903F3M6TR part is unused and in its original packaging.
Return procedure for STM8S903F3M6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S903F3M6TR 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…

