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

- Shipping:

Inventory:1,168
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S903K3U6TR 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 operates from 2.95–5.5 V and targets cost-sensitive industrial control, sensor interface, and appliance motor management applications.
For engineers reviewing the STM8S903K3U6TR datasheet, STM8S903K3U6TR pinout, STM8S903K3U6TR application, or STM8S903K3U6TR equivalent, key selection criteria include its 32-pin LQFP/UFQFPN package, 28 GPIOs (21 high-sink), low-power active-halt mode (0.35 µA typ), SWIM debug interface, and dual watchdog timers for safety-critical firmware execution.
Technical Context
The STM8S903K3U6TR implements a Harvard-architecture 8-bit core with 3-stage pipeline and extended instruction set, enabling deterministic real-time response. Its clock system integrates four sources: 16 MHz user-trimmable RC, 128 kHz low-power RC, crystal oscillator, and external clock input - all monitored by a clock security system.
Interrupt handling uses a nested controller supporting 32 vectors and up to 28 external interrupts across 7 priority levels. Memory subsystem includes Flash with 20-year data retention at 55 °C after 10 kcycles and true EEPROM with 300 kcycle endurance, both accessible via dedicated hardware controllers.
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 EEPROM, rated for 300,000 write/erase cycles |
| RAM | 1 Kbyte static RAM for runtime variable storage and stack operations |
| ADC | 10-bit SAR ADC with ±1 LSB INL/DNL, up to 7 external channels + 1 internal reference channel |
| Timers | Three independent timers: TIM1 (16-bit advanced control), TIM5 (16-bit general purpose), TIM6 (8-bit basic) |
| I/O Count | Up to 28 I/Os in 32-pin packages, including 21 high-sink outputs capable of 20 mA sink per pin |
Pinout & Package
LQFP32 (7 × 7 mm) and UFQFPN32 (5 × 5 mm) packages are supported; this part is supplied in UFQFPN32. Both packages provide identical pin mapping and electrical characteristics.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 2.95–5.5 V supply rail for core and I/Os |
| VSS | Ground | Digital ground reference for all circuitry |
| NRST | Reset input | Active-low reset with internal pull-up; accepts Schmitt-triggered signal |
| PA0–PA7 | General-purpose I/O | 8-bit port A with alternate functions including UART1_TX, SPI_MOSI, ADC_IN0–7 |
| PB0–PB7 | General-purpose I/O | 8-bit port B with alternate functions including UART1_RX, SPI_MISO/SCK, TIM1_CH1–4, I²C_SCL/SDA |
| PC0–PC7 | General-purpose I/O | 8-bit port C with alternate functions including TIM1_ETR, TIM5_CH1–3, ADC_VREF+ |
| PD0–PD7 | General-purpose I/O | 8-bit port D with alternate functions including TIM1_BKIN, TIM5_ETR, SWIM, CLK_CCO |
Key Features
| Feature | Design Value |
|---|---|
| SWIM single-wire debug interface | Enables full in-circuit programming and debugging using only one pin, reducing PCB routing overhead |
| Flexible low-power modes | Wait (0.9 µA @ 3.3 V), active-halt (0.35 µA), and halt (0.25 µA) modes support battery-powered operation |
| Dual watchdog timers | Independent and window watchdogs provide layered firmware supervision for fail-safe recovery |
| High-sink I/O capability | 21 pins deliver 20 mA sink current, eliminating need for external driver transistors in LED/display control |
| Internal voltage reference measurement | ADC can measure internal VREF+ (1.22 V) to monitor supply stability without external components |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
Use Scenario: Standalone temperature/humidity node with local display and UART telemetry to gateway. IC Role / Device Role / Timing Role: Primary MCU executing sensor acquisition, calibration, display refresh, and serial protocol framing. Use Value: Integrated 10-bit ADC with analog watchdog enables reliable sensor monitoring; SWIM simplifies field firmware updates. |
Use Scenario: Washing machine main control board managing motor drive, water valves, and user interface. IC Role / Device Role / Timing Role: System coordinator handling PWM motor timing, relay control, and fault detection via ADC and GPIO. Use Value: 21 high-sink I/Os directly drive LEDs, relays, and buzzer; dual watchdogs ensure safe shutdown on software hang. |
| Energy Meter Interface | POS Terminal Peripheral |
Use Scenario: Sub-metering module interfacing with shunt-based current sensing and optical pulse output. IC Role / Device Role / Timing Role: Signal conditioner and pulse generator with precise timing for kWh accumulation. Use Value: 16-bit TIM1 with dead-time insertion supports accurate pulse-width modulation for optical isolation drivers. |
Use Scenario: Barcode scanner or magnetic stripe reader add-on module communicating via UART/I²C to host POS system. IC Role / Device Role / Timing Role: Protocol bridge translating serial commands into GPIO-controlled actuator signals. Use Value: UART with SmartCard/IrDA support enables legacy peripheral integration; compact UFQFPN32 fits space-constrained enclosures. |
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 core and peripherals but only 8-pin TSSOP package, 5 I/Os, no TIM1 advanced timer | Limited to ultra-low-pin-count applications like simple LED control or fan speed regulation | Select when board space and I/O count are severely constrained and advanced timer features are unnecessary |
| STM8L051F3P6 | Ultra-low-power variant with 3.6 µA wait mode, but reduced Flash (8 KB) and no 16-bit advanced timer | Battery-powered devices requiring multi-year operation on coin cell, not high-speed motor control | Choose for sub-µA sleep applications where 16 MHz performance and TIM1 are secondary to energy efficiency |
Compared with STM8S003F3P6 and STM8L051F3P6, the STM8S903K3U6TR uniquely balances mid-range I/O count (28 pins), full-featured timer suite (including TIM1 with dead-time), and robust industrial voltage range (2.95–5.5 V), making it optimal for wired industrial edge nodes requiring both processing headroom and peripheral flexibility.
Availability
STM8S903K3U6TR 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 and long-term manufacturability.
Supply support for STM8S903K3U6TR 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 management ICs, sensors, and automotive semiconductors.
The STM8S series was developed specifically for cost-sensitive, high-reliability industrial and consumer applications demanding robustness, low power, and ease of development - with SWIM debug and mature toolchain support.
FAQ
What debug interface does the STM8S903K3U6TR support?
The STM8S903K3U6TR uses the Single Wire Interface Module (SWIM), a proprietary ST protocol requiring only one dedicated pin (SWIM) plus VDD and VSS for full in-circuit programming and real-time debugging. It supports breakpoints, register inspection, and flash memory read/write without halting CPU execution during data transfers.
Does the STM8S903K3U6TR support hardware CRC calculation?
No, the STM8S903K3U6TR does not include a dedicated hardware CRC peripheral. CRC computation must be implemented in firmware using standard polynomial algorithms (e.g., CRC-8 or CRC-16), leveraging the MCU's efficient 8-bit ALU and loop instructions for acceptable throughput in communication protocols.
Can the internal 16 MHz RC oscillator be calibrated for improved accuracy?
Yes, the internal 16 MHz RC oscillator includes a user-trimmable calibration register (CLK_HSICALR) allowing adjustment in ±1% steps across the full operating voltage and temperature range. Factory calibration value is stored in option bytes, and users may reprogram it based on system-level timing measurements.
What is the maximum allowed I²C bus speed and corresponding VDD requirement?
The STM8S903K3U6TR supports I²C up to 400 kbit/s in fast-mode, requiring VDD ≥ 3.0 V. At VDD = 2.95 V, maximum speed is limited to 100 kbit/s (standard-mode). Pull-up strength and bus capacitance must comply with I²C specification - typical design uses 4.7 kΩ pull-ups with ≤ 400 pF total capacitance.
STM8S903K3U6TR 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8S903K3U6TR FAQ
1.How can I place an order for STM8S903K3U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S903K3U6TR 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 STM8S903K3U6TR reliable?
The price and inventory of STM8S903K3U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S903K3U6TR is usually 5 days.
3.What payment methods are accepted for STM8S903K3U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S903K3U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S903K3U6TR?
STM8S903K3U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S903K3U6TR 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 STM8S903K3U6TR?
For technical support, including STM8S903K3U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S903K3U6TR requirements.
6.How does Aetrix verify that STM8S903K3U6TR is sourced from the original manufacturer or authorized distributors?
All STM8S903K3U6TR 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 STM8S903K3U6TR meets industry standards.
7.What is the process for return or replacement of STM8S903K3U6TR?
All STM8S903K3U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S903K3U6TR, 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 STM8S903K3U6TR part is unused and in its original packaging.
Return procedure for STM8S903K3U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S903K3U6TR 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…

