STMicroelectronics STM8S903K3U3TR
- Part No.:
- STM8S903K3U3TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-UFQFN Exposed Pad
- Datasheet:
-
STM8S903K3U3TR.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 32UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:4,714
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S903K3U3TR 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, I²C, and two 16-bit timers - used in industrial sensor nodes requiring low-power operation and mixed-signal control.
For engineers reviewing the STM8S903K3U3TR datasheet, STM8S903K3U3TR pinout, STM8S903K3U3TR application, or STM8S903K3U3TR equivalent, key selection criteria include its 32-pin LQFP/UFQFPN package, 2.95–5.5 V supply range, nested interrupt controller with 32 vectors, and support for SmartCard/IrDA/LIN via UART.
Technical Context
The device implements a Harvard-architecture STM8 core with 3-stage pipeline and extended instruction set, enabling deterministic real-time execution. Its clock system includes four independent sources: external crystal (up to 16 MHz), external clock input, user-trimmable 16 MHz RC, and low-power 128 kHz RC - all managed by a clock security system with monitor.
Power management supports three low-power modes (wait, active-halt, halt) with individual peripheral clock gating. The nested interrupt controller handles up to 28 external interrupts across 7 vectors, while the advanced control timer (TIM1) provides dead-time insertion and complementary outputs for motor control.
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 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 external + 1 internal channel, scan mode, analog watchdog |
| Timers | TIM1 (16-bit advanced, 4 CAPCOM, 3 complementary outputs), TIM5 (16-bit general purpose), TIM6 (8-bit basic) |
| Communication | UART (SmartCard/IrDA/LIN master), SPI (up to 8 Mbit/s), I²C (up to 400 kbit/s) |
| Supply Voltage | 2.95–5.5 V operating range; supports single-supply battery or rail-powered systems |
| I/O Count | Up to 28 I/Os on 32-pin packages, including 21 high-sink outputs for direct LED/relay drive |
Pinout & Package
LQFP32 (7 × 7 mm) and UFQFPN32 (5 × 5 mm) packages are supported; both use 32-pin layouts with identical signal mapping per datasheet Section 5.4–5.5. Pin functions include dedicated SWIM debug interface, NRST reset, VCAP decoupling capacitor terminal, and multiple alternate-function remappable I/Os.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (NRST) | Active-low reset input | Asynchronous reset with internal pull-up; accepts external push-button or supervisor IC assertion |
| 2 (PA0) | General-purpose I/O / ADC1_IN0 | Configurable as digital I/O or analog input for first ADC channel |
| 3 (PA1) | General-purpose I/O / TIM1_CH1 | Supports PWM output or capture input for advanced timer channel 1 |
| 4 (PA2) | General-purpose I/O / TIM1_CH2 | Enables complementary PWM generation when paired with PA3 |
| 5 (PA3) | General-purpose I/O / TIM1_CH3 | Third TIM1 channel with dead-time configurable output for half-bridge control |
| 6 (PA4) | General-purpose I/O / TIM1_ETR | External trigger input for TIM1 synchronization or encoder index pulse |
| 7 (PA5) | General-purpose I/O / SPI_MOSI | Dual-role pin for SPI master-out-slave-in or GPIO; remappable via option byte |
| 8 (PA6) | General-purpose I/O / SPI_MISO | Supports SPI slave-in-master-out or bidirectional GPIO with Schmitt trigger |
| 9 (PA7) | General-purpose I/O / SPI_SCK | Provides SPI clock output or gated timing signal for synchronous peripherals |
| 10 (PB0) | General-purpose I/O / UART_TX | UART transmit output with IrDA modulation capability and LIN bus driver support |
| 11 (PB1) | General-purpose I/O / UART_RX | UART receive input with SmartCard voltage-level detection and LIN wake-up filtering |
| 12 (PB2) | General-purpose I/O / I2C_SCL | Open-drain I²C clock line with internal pull-up; supports standard/fast-mode speeds |
| 13 (PB3) | General-purpose I/O / I2C_SDA | Open-drain I²C data line with arbitration and clock stretching support |
| 14 (PB4) | General-purpose I/O / ADC1_IN1 | Second analog input channel with programmable sampling time and analog watchdog |
| 15 (PB5) | General-purpose I/O / ADC1_IN2 | Third analog input supporting differential measurement with internal reference |
| 16 (PB6) | General-purpose I/O / ADC1_IN3 | Fourth analog input usable in scan mode for multi-channel acquisition sequences |
| 17 (PB7) | General-purpose I/O / ADC1_IN4 | Fifth analog input with optional internal temperature sensor routing |
| 18 (PC0) | General-purpose I/O / ADC1_IN5 | Sixth analog input supporting external reference voltage monitoring |
| 19 (PC1) | General-purpose I/O / ADC1_IN6 | Seventh analog input with internal VREFINT connection for calibration |
| 20 (PC2) | General-purpose I/O / TIM5_CH1 | 16-bit general-purpose timer channel 1 for input capture or PWM generation |
| 21 (PC3) | General-purpose I/O / TIM5_CH2 | Second TIM5 channel supporting complementary output with configurable polarity |
| 22 (PC4) | General-purpose I/O / TIM5_CH3 | Third TIM5 channel usable for encoder quadrature decoding |
| 23 (PC5) | General-purpose I/O / AWU_T1 | Auto-wakeup timer input for low-power periodic wake-up from halt mode |
| 24 (VDD) | Power supply | Main 2.95–5.5 V supply; requires local 100 nF ceramic decoupling |
| 25 (VSS) | Ground | Digital ground reference shared with analog section; layout separation recommended |
| 26 (VCAP) | Capacitor connection | Connects external 1 µF ceramic capacitor to stabilize internal voltage regulator |
| 27 (SWIM) | Single-wire interface | Debug and programming interface using single-pin bidirectional serial protocol |
| 28 (PA10) | General-purpose I/O / TIM1_BKIN | Break input for emergency shutdown of TIM1 complementary outputs |
| 29 (PA11) | General-purpose I/O / TIM1_CH1N | Inverted complementary output for TIM1 channel 1 (requires PA1 = CH1) |
| 30 (PA12) | General-purpose I/O / TIM1_CH2N | Inverted complementary output for TIM1 channel 2 (requires PA2 = CH2) |
| 31 (PA13) | General-purpose I/O / TIM1_CH3N | Inverted complementary output for TIM1 channel 3 (requires PA3 = CH3) |
| 32 (VDDA) | Analog power supply | Separate 2.95–5.5 V analog supply; must be filtered and decoupled independently |
Key Features
| Feature | Design Value |
|---|---|
| Advanced Control Timer (TIM1) | 16-bit timer with 3 complementary outputs, dead-time insertion, and break input for motor gate drivers |
| True Data EEPROM | 640 bytes of wear-leveled EEPROM with 300 kcycle endurance - eliminates need for external NV memory |
| Flexible Clock System | Four independent clock sources including trimmable 16 MHz RC oscillator - enables precise frequency tuning without crystal |
| Robust I/O Design | 21 high-sink I/Os capable of 20 mA sink per pin - directly drives LEDs, relays, or logic inputs without buffers |
| Low-Power Operation | Halt mode current < 1 µA at 3.3 V - suitable for battery-powered devices with multi-year runtime |
| Unique Device ID | 96-bit factory-programmed identifier - enables secure firmware binding and device authentication |
Applications
| Industrial Sensor Node | Smart Home Actuator |
|---|---|
Use Scenario: Temperature/humidity sensor node with wireless telemetry and local control logic. IC Role / Device Role / Timing Role: Central MCU managing ADC sampling, UART-based sensor fusion, and SPI flash logging. Use Value: Integrated 10-bit ADC with analog watchdog ensures reliable environmental readings; low-power modes extend battery life beyond 2 years. | Use Scenario: Zigbee/Z-Wave wall switch controlling lighting and blinds via relay or triac. IC Role / Device Role / Timing Role: Real-time actuator controller handling zero-cross detection, PWM dimming, and button debouncing. Use Value: TIM1's dead-time insertion prevents shoot-through in half-bridge drivers; high-sink I/Os directly drive opto-triacs. |
| Medical Diagnostic Tool | Automotive Body Control Module |
Use Scenario: Portable blood glucose meter with LCD display, button interface, and USB charging. IC Role / Device Role / Timing Role: Mixed-signal controller interfacing electrochemical sensor, LCD driver, and USB power management. Use Value: Internal reference voltage measurement enables ratiometric ADC calibration; unique ID supports regulatory traceability. | Use Scenario: Door module managing window lift, mirror adjustment, and interior lighting. IC Role / Device Role / Timing Role: LIN bus slave node executing position feedback, PWM motor control, and fault reporting. Use Value: UART LIN master mode allows direct integration into vehicle networks; robust I/O withstands automotive ESD transients. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L151K4T6 | Ultra-low-power variant with 16 Kbytes Flash, 2 Kbytes RAM, and sub-µA stop mode; lacks TIM1 advanced features | Better suited for energy-harvesting or coin-cell applications where peak performance is secondary to standby current | Select when >10-year battery life is mandatory and motor control is not required |
| STM32F030F4P6 | 32-bit ARM Cortex-M0 core, 16 MHz max, 16 Kbytes Flash, no EEPROM; higher code density but no hardware EEPROM | Preferred for new designs needing scalable firmware, USB connectivity, or future RTOS migration | Choose when architectural upgrade path and ecosystem tooling outweigh EEPROM dependency |
Compared with STM8L151K4T6 and STM32F030F4P6, the STM8S903K3U3TR delivers optimal balance of EEPROM persistence, motor-control peripherals, and cost-sensitive 8-bit performance - making it ideal for established industrial and automotive body electronics where legacy compatibility and deterministic timing are critical.
Availability
STM8S903K3U3TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart home actuators, medical diagnostic tools, and automotive body control modules requiring stable component supply over extended production lifecycles.
Supply support for STM8S903K3U3TR 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 targets cost-sensitive, high-reliability embedded control applications - emphasizing robustness, integrated peripherals, and long-term availability for industrial automation and automotive subsystems.
FAQ
What is the maximum operating frequency and corresponding supply voltage range?
The STM8S903K3U3TR operates at up to 16 MHz across its full 2.95–5.5 V supply range. At 3.3 V, it sustains 16 MHz reliably per electrical characteristics Table 21; at 2.95 V, maximum frequency is reduced to 12 MHz per Figure 10. No external PLL is used - CPU clock derives directly from selected oscillator source.
Does this MCU support in-circuit debugging and programming?
Yes, it uses the Single-Wire Interface Module (SWIM) for non-intrusive debugging and programming via the SWIM pin (Pin 27). ST-LINK/V2 and compatible debuggers support full flash read/write, breakpoint setting, and real-time register inspection without requiring additional pins or bootloaders.
How is the internal EEPROM endurance verified and what usage model does it support?
The 640-byte data EEPROM is guaranteed for 300,000 write/erase cycles per byte, with data retention exceeding 20 years at 55 °C after 10,000 cycles. It supports byte-wise erase and write operations, enabling direct storage of calibration coefficients, device configuration, or usage counters without wear-leveling software.
Can the UART interface support LIN 2.2 physical layer communication?
Yes, the UART1 peripheral includes dedicated LIN master mode with automatic sync field generation, checksum calculation, and baud rate flexibility (1–20 kbit/s). It meets ISO 17987-4 requirements for LIN slave node response timing and supports wakeup via dominant bus level detection on RX pin.
STM8S903K3U3TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-UFQFN Exposed Pad
- 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:
- 28
- 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 7x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8S903K3U3TR FAQ
1.How can I place an order for STM8S903K3U3TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S903K3U3TR 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 STM8S903K3U3TR reliable?
The price and inventory of STM8S903K3U3TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S903K3U3TR is usually 5 days.
3.What payment methods are accepted for STM8S903K3U3TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S903K3U3TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S903K3U3TR?
STM8S903K3U3TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S903K3U3TR 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 STM8S903K3U3TR?
For technical support, including STM8S903K3U3TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S903K3U3TR requirements.
6.How does Aetrix verify that STM8S903K3U3TR is sourced from the original manufacturer or authorized distributors?
All STM8S903K3U3TR 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 STM8S903K3U3TR meets industry standards.
7.What is the process for return or replacement of STM8S903K3U3TR?
All STM8S903K3U3TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S903K3U3TR, 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 STM8S903K3U3TR part is unused and in its original packaging.
Return procedure for STM8S903K3U3TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S903K3U3TR 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…

