STMicroelectronics STM8S903F3P3
- Part No.:
- STM8S903F3P3
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
STM8S903F3P3.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 20TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:1,596
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S903F3P3 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 reliable sensor interfacing and serial communication.
For engineers reviewing the STM8S903F3P3 datasheet, STM8S903F3P3 pinout, STM8S903F3P3 application, or STM8S903F3P3 equivalent, key selection criteria include its 20-pin TSSOP package, 16 MHz max CPU frequency at 5.5 V, 10-bit ADC accuracy (±1 LSB), and support for SmartCard/IrDA/LIN master modes via UART.
Technical Context
The STM8S903F3P3 implements a Harvard-architecture 8-bit core with 3-stage pipeline and extended instruction set, enabling deterministic real-time execution. Its clock system includes four independent sources: external crystal, external clock input, user-trimmable 16 MHz RC, and low-power 128 kHz RC - all managed by a clock security system with monitor.
Interrupt handling uses a nested controller supporting 32 vectors and up to 28 external interrupts across 7 priority levels. Memory subsystem includes true data EEPROM (640 B, 300 kcycle endurance) and Flash (8 KB, 20-year data retention at 55 °C after 10 kcycles), both accessible via SWIM single-wire interface for programming and debug.
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 timing and efficient code density. |
| Max Clock Frequency | 16 MHz at 5.5 V - supports real-time control loops with sub-100 ns instruction cycle time. |
| Flash Memory | 8 Kbytes with 10 kcycle endurance and 20-year data retention at 55 °C - suitable for field-updatable firmware in industrial equipment. |
| Data EEPROM | 640 bytes true EEPROM with 300 kcycle endurance - retains calibration data and configuration without external NV memory. |
| ADC Resolution | 10-bit SAR with ±1 LSB INL/DNL - provides 1 mV resolution at 3.3 V reference for analog sensor digitization. |
| I/O Count | Up to 16 I/Os in TSSOP20 package, including 13 high-sink outputs (20 mA) - drives LEDs, relays, and logic directly without buffers. |
| Communication Peripherals | UART (with LIN/SmartCard/IrDA), SPI (8 Mbit/s), I²C (400 kbit/s) - enables interoperability with sensors, displays, and host controllers in compact systems. |
Pinout & Package
The STM8S903F3P3 is packaged in a 20-lead TSSOP (4.4 mm body width) with 0.65 mm pitch, optimized for automated assembly and thermal performance in space-constrained PCBs.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Primary 2.95–5.5 V supply rail; requires local 100 nF decoupling for stable core operation. |
| VSS | Ground reference | Digital ground return path; must be connected to low-impedance PCB plane to minimize noise coupling into ADC. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.2–5.5 V logic levels and supports external reset supervisor ICs. |
| PA0–PA7 | Programmable I/O port A | 8-bit bidirectional port with configurable pull-ups, alternate functions including UART TX/RX, SPI SCK/MOSI/MISO, and ADC inputs. |
| PC0–PC3 | Programmable I/O port C | 4-bit port supporting TIM1 complementary outputs, I²C SCL/SDA, and general-purpose digital I/O with high sink capability (20 mA). |
| SWIM | Single-wire interface | Debug and programming interface using one pin; supports full-speed flash erase/write and real-time register inspection during development. |
Key Features
| Feature | Design Value |
|---|---|
| Low-power clock sources | Integrated 128 kHz RC oscillator enables ultra-low-power wake-up timer operation (<1 µA typical current draw in active-halt mode). |
| Robust I/O design | 21 high-sink outputs rated for 20 mA per pin - eliminates need for external drivers when interfacing with indicators or small solenoids. |
| Hardware watchdogs | Dual watchdogs: independent (IWDG) and window (WWDG) - prevents runaway code in safety-critical embedded control applications. |
| Analog watchdog | Configurable threshold monitoring on ADC channels - triggers interrupt on out-of-range sensor readings without CPU polling overhead. |
| Unique 96-bit ID | Factory-programmed serial number per device - enables secure firmware binding and device-level traceability in production. |
Applications
| Industrial Sensor Node | Home Appliance Control |
|---|---|
Use Scenario: Compact temperature/humidity monitoring unit with local display and RS-485 backhaul. IC Role / Device Role / Timing Role: Main system controller managing ADC sampling, UART-to-RS485 translation, and LED status indication. Use Value: Integrated UART with LIN/SmartCard framing reduces external level-shifter count; 640-byte EEPROM stores sensor calibration coefficients across power cycles. | Use Scenario: Washing machine main control board executing motor sequencing, water valve actuation, and user interface logic. IC Role / Device Role / Timing Role: Real-time state machine executor coordinating PWM-driven motor phases and relay-based heater control. Use Value: 16-bit advanced timer (TIM1) with dead-time insertion ensures safe half-bridge gate driving; high-sink I/Os directly drive indicator LEDs and buzzer. |
| Smart Meter Interface Module | POS Terminal Peripheral |
Use Scenario: Electricity meter add-on module providing optical pulse output and IR communication to utility handheld readers. IC Role / Device Role / Timing Role: Pulse generation and IrDA physical layer controller using UART synchronous mode and precise timing peripherals. Use Value: UART clock output supports synchronous IrDA encoding; 10-bit ADC monitors internal supply voltage for battery-backed RTC health checks. | Use Scenario: Magnetic stripe reader interface board connecting swipe head to USB host via microcontroller bridge. IC Role / Device Role / Timing Role: Signal conditioning, data framing, and protocol translation between analog swipe head and USB-UART bridge IC. Use Value: 8-bit basic timer (TIM6) generates precise bit-cell timing for F2F decoding; SPI interface configures external signal amplifier gain settings. |
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 peripherals, but with 8 Kbytes Flash only (no EEPROM); 1 Kbyte RAM same. | Lacks integrated EEPROM - requires external I²C EEPROM for nonvolatile parameter storage. | Select when firmware size is primary constraint and external NV memory is acceptable. |
| EFM8BB10F8G-A-QFN20 | Silicon Labs 8051-based MCU in QFN20; 8 Kbytes Flash, 512 bytes RAM, no EEPROM; 25 MHz max clock; integrated temperature sensor. | Different architecture (8051 vs STM8), no hardware LIN/SmartCard UART support; higher active current. | Choose if toolchain compatibility with existing EFM8 designs or integrated temp sensing outweighs EEPROM and LIN requirements. |
Compared with STM8S903F3P3, STM8S003F3P6 trades EEPROM for identical footprint and cost reduction, while EFM8BB10F8G-A-QFN20 offers higher clock speed but lacks critical industrial comms features and nonvolatile data storage - making STM8S903F3P3 optimal for LIN-enabled, self-contained sensor nodes.
Availability
STM8S903F3P3 is available at Aetrix Electronics and suitable for industrial sensor nodes, home appliance control units, smart meter interface modules, and POS terminal peripherals requiring stable component supply and long-term manufacturability.
Supply support for STM8S903F3P3 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 8-bit embedded control applications, emphasizing robustness, low-power operation, and integration of essential peripherals for industrial automation and white goods.
FAQ
What is the maximum operating frequency of the STM8S903F3P3?
The STM8S903F3P3 achieves a maximum CPU frequency of 16 MHz when supplied at 5.5 V. At lower supply voltages (e.g., 3.3 V), the guaranteed maximum frequency drops to 10 MHz per electrical characteristics table in DS6210 Rev 13. This derating ensures timing margin compliance across voltage and temperature ranges.
Does the STM8S903F3P3 support in-circuit debugging?
Yes, the STM8S903F3P3 supports full in-circuit debugging via the Single-Wire Interface Module (SWIM), using only one dedicated pin (SWIM). It enables breakpoints, step-through execution, register and memory inspection, and flash programming without halting real-time peripheral operation.
How many ADC channels does the STM8S903F3P3 have, and what is their resolution?
The STM8S903F3P3 integrates a single 10-bit successive approximation ADC with up to 7 external input channels plus one internal channel (Vrefint or temperature sensor). Its integral nonlinearity is ±1 LSB, and it supports scan mode, analog watchdog, and hardware-triggered conversions from timers or external events.
What package types are available for the STM8S903F3P3?
The STM8S903F3P3 is offered exclusively in 20-pin packages: TSSOP20 (4.4 mm body), SO20 (300 mil), and UFQFPN20 (3 × 3 mm, 0.5 mm pitch). The "P3" suffix in the part number specifically denotes the TSSOP20 variant, confirmed in ST's ordering information section (DS6210 Rev 13, Table 61).
STM8S903F3P3 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM8S
- Packaging:
- Tube
- 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:
STM8S903F3P3 FAQ
1.How can I place an order for STM8S903F3P3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S903F3P3 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 STM8S903F3P3 reliable?
The price and inventory of STM8S903F3P3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S903F3P3 is usually 5 days.
3.What payment methods are accepted for STM8S903F3P3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S903F3P3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S903F3P3?
STM8S903F3P3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S903F3P3 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 STM8S903F3P3?
For technical support, including STM8S903F3P3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S903F3P3 requirements.
6.How does Aetrix verify that STM8S903F3P3 is sourced from the original manufacturer or authorized distributors?
All STM8S903F3P3 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 STM8S903F3P3 meets industry standards.
7.What is the process for return or replacement of STM8S903F3P3?
All STM8S903F3P3 units undergo pre-shipment inspection (PSI). If there is an issue with STM8S903F3P3, 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 STM8S903F3P3 part is unused and in its original packaging.
Return procedure for STM8S903F3P3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S903F3P3 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…

