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

- Shipping:

Inventory:2,488
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S903F3P6TR from STMicroelectronics is an 8-bit MCU with 8 Kbytes Flash, 1 Kbyte RAM, and 640 bytes EEPROM, featuring a 16 MHz STM8 core, 10-bit ADC (7-channel), UART/SPI/I²C interfaces, and dual timers - deployed in industrial sensor nodes and low-cost motor control modules.
For engineers reviewing the STM8S903F3P6TR datasheet, STM8S903F3P6TR pinout, STM8S903F3P6TR application, or STM8S903F3P6TR equivalent, key selection criteria include operating voltage range (2.95–5.5 V), TSSOP20 package footprint, 20-pin I/O count with 21 high-sink outputs, and SWIM debug interface support.
Technical Context
The STM8S903F3P6TR implements a Harvard-architecture STM8 core with 3-stage pipeline and extended instruction set, supporting up to 16 MHz operation across its full voltage range. It integrates a nested interrupt controller servicing 32 interrupts, including up to 28 external sources mapped across 7 vectors.
Its clock system includes four master sources: low-power crystal oscillator, external clock input, user-trimmable 16 MHz RC, and 128 kHz low-power RC - all managed by a clock security system with dedicated monitor. Power management enables wait, active-halt, and halt modes with individual peripheral clock gating.
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 program Flash with 20-year data retention at 55 °C after 10 kcycles |
| Data EEPROM | 640 bytes true data EEPROM rated for 300 kwrite cycles |
| ADC | 10-bit ±1 LSB ADC with 7 multiplexed external channels + 1 internal reference channel |
| Timers | 16-bit advanced control timer (TIM1) with 4 CAPCOM channels and dead-time insertion; 16-bit general-purpose timer (TIM5) with 3 CAPCOM channels |
| Communication | UART with SmartCard/IrDA/LIN master support; SPI up to 8 Mbit/s; I²C up to 400 kbit/s |
| Supply Voltage | 2.95 V to 5.5 V - enables direct interface with 3.3 V and 5 V logic systems without level shifters |
Pinout & Package
TSSOP20 package (4.4 mm body width, 0.65 mm pitch), 7.0 × 4.4 × 1.2 mm profile, suitable for space-constrained industrial PCBs with manual or automated assembly.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 2.95–5.5 V supply rail; decoupling capacitor required per datasheet layout guidelines |
| VSS | Ground | Digital ground reference; separate analog ground not implemented on this variant |
| NRST | Reset input | Active-low reset with internal pull-up; supports external reset circuitry and SWIM programming entry |
| PA0–PA7 | General-purpose I/O | 8-bit port A with alternate functions including UART1_TX, SPI_MOSI, TIM1_CH1, ADC_IN0–3 |
| PB0–PB7 | General-purpose I/O | 8-bit port B with alternate functions including UART1_RX, SPI_MISO, TIM1_CH2, ADC_IN4–6, I²C_SCL/SDA |
| PC0–PC3 | General-purpose I/O | 4-bit port C with alternate functions including TIM1_CH3, TIM5_CH1, ADC_IN7, SWIM |
Key Features
| Feature | Design Value |
|---|---|
| SWIM debug interface | Single-wire in-circuit debugging and programming using dedicated PC3 pin - eliminates need for JTAG header |
| High-sink I/O capability | 21 pins support 20 mA sink current - simplifies direct LED driving or relay coil control without external drivers |
| Low-power clock options | Integrated 128 kHz RC oscillator enables ultra-low-power wake-up timer operation at sub-1 µA current draw |
| Robust I/O immunity | Guaranteed immunity against 50 mA current injection per I/O - enhances reliability in electrically noisy industrial environments |
| Unique 96-bit ID | Factory-programmed device identifier accessible via memory-mapped registers - enables secure firmware binding and device authentication |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
Use Scenario: Temperature/humidity monitoring 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-connected display driver. Use Value: Integrated 10-bit ADC with scan mode and analog watchdog reduces external component count; SWIM enables field firmware updates over single wire. |
Use Scenario: Washing machine mainboard controlling motor, valves, and user interface. IC Role / Device Role / Timing Role: Real-time motor commutation timing via TIM1 dead-time insertion and PWM output generation. Use Value: 21 high-sink I/Os directly drive solenoids and LEDs; 640-byte EEPROM stores calibration data and cycle counters with 300 kcycle endurance. |
| Energy Metering Subsystem | Entry-Level Motor Drive |
Use Scenario: Auxiliary metering module measuring auxiliary power consumption in HVAC systems. IC Role / Device Role / Timing Role: ADC acquisition engine with internal reference voltage measurement for ratiometric accuracy. Use Value: Internal reference channel enables stable ADC readings independent of VDD drift; I²C interface connects to host MCU without additional level-shifting. |
Use Scenario: Brushless DC fan controller with hall-effect feedback and thermal protection. IC Role / Device Role / Timing Role: PWM generator with complementary outputs and programmable dead time for gate driver safety. Use Value: TIM1's 3 complementary outputs and hardware dead-time insertion prevent shoot-through in half-bridge configurations. |
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 TSSOP20 package and core, but only 1 Kbyte Flash and no data EEPROM | Lacks non-volatile parameter storage - unsuitable where field calibration persistence is required | Select when cost sensitivity outweighs need for EEPROM-based configuration retention |
| STM8L051F3P6 | Ultra-low-power STM8L core, 8 Kbyte Flash, but only 1 Kbyte RAM and no high-sink I/Os | Optimized for battery-powered operation (sub-µA sleep), not industrial actuation loads | Choose for energy harvesting or coin-cell applications where I/O drive strength is secondary |
Compared with STM8S003F3P6, the STM8S903F3P6TR adds 640-byte EEPROM for robust parameter storage; versus STM8L051F3P6, it delivers higher I/O sink capability and better noise immunity at the expense of higher active-mode current.
Availability
STM8S903F3P6TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart appliance control, energy metering subsystems, and entry-level motor drives requiring stable component supply and long-term production continuity.
Supply support for STM8S903F3P6TR 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-sensitive, high-reliability embedded applications demanding robust I/O, integrated peripherals, and proven toolchain support - optimized for industrial automation and white-goods control.
FAQ
Does STM8S903F3P6TR support in-system programming via SWIM?
Yes. The STM8S903F3P6TR uses the Single Wire Interface Module (SWIM) on PC3 for in-circuit programming and debugging. It requires only one physical pin and supports full flash/EPPROM read/write, option byte configuration, and real-time variable inspection without halting execution.
What is the maximum operating frequency at 3.3 V supply?
The STM8S903F3P6TR operates up to 16 MHz across its full 2.95–5.5 V supply range, including at 3.3 V. This is confirmed in Section 10.3.1 of DS6210 Rev 13, which specifies fCPUmax = 16 MHz at VDD ≥ 2.95 V, with no derating required at 3.3 V.
Can TIM1 generate complementary PWM with programmable dead time?
Yes. TIM1 is a 16-bit advanced control timer with three complementary output channels and hardware-configurable dead-time insertion. Dead-time values are set via the DTG register (bits DTG[7:0]), supporting ranges from 1 to 1008 clock periods in discrete steps.
Is there a hardware I²C bus collision detection feature?
Yes. The I²C peripheral includes automatic arbitration loss detection and bus busy monitoring. When arbitration is lost during multi-master operation, the I²C_CR2 register's ARLO bit is set, and the peripheral halts transmission - enabling deterministic recovery in shared-bus systems.
STM8S903F3P6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm 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:
STM8S903F3P6TR FAQ
1.How can I place an order for STM8S903F3P6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S903F3P6TR 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 STM8S903F3P6TR reliable?
The price and inventory of STM8S903F3P6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S903F3P6TR is usually 5 days.
3.What payment methods are accepted for STM8S903F3P6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S903F3P6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S903F3P6TR?
STM8S903F3P6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S903F3P6TR 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 STM8S903F3P6TR?
For technical support, including STM8S903F3P6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S903F3P6TR requirements.
6.How does Aetrix verify that STM8S903F3P6TR is sourced from the original manufacturer or authorized distributors?
All STM8S903F3P6TR 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 STM8S903F3P6TR meets industry standards.
7.What is the process for return or replacement of STM8S903F3P6TR?
All STM8S903F3P6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S903F3P6TR, 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 STM8S903F3P6TR part is unused and in its original packaging.
Return procedure for STM8S903F3P6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S903F3P6TR 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…

