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

- Shipping:

Inventory:3,364
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S103F3M3 from STMicroelectronics is an 8-bit access-line microcontroller featuring a 16 MHz STM8 core, 8 Kbytes Flash, 640 bytes data EEPROM, 10-bit ADC with 5 channels, three timers (including advanced control timer TIM1), and UART/SPI/I²C interfaces. It operates from 2.95–5.5 V and targets cost-sensitive industrial controls, sensor nodes, and appliance motor management.
For engineers reviewing the STM8S103F3M3 datasheet, STM8S103F3M3 pinout, STM8S103F3M3 application, or STM8S103F3M3 equivalent, key selection factors include its 20-pin TSSOP package, integrated 128 kHz/16 MHz RC oscillators, hardware debug via SWIM, and high-sink I/O capability (21 pins) for direct LED or relay drive without external buffers.
Technical Context
The STM8S103F3M3 implements a Harvard-architecture 8-bit core with 3-stage pipeline and extended instruction set, enabling efficient C code execution at up to 16 MHz. Its clock system integrates four sources - including user-trimmable 16 MHz RC and low-power 128 kHz RC - with clock security monitoring and flexible peripheral gating.
Interrupt handling uses a nested controller supporting 32 vectors and up to 27 external interrupts across six priority levels. Memory subsystem includes 8 Kbyte Flash with 20-year data retention at 55 °C after 10 kcycles, and true data EEPROM (640 B, 300 kcycle endurance) mapped into linear address space for seamless variable storage.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | 16 MHz STM8 8-bit Harvard core with 3-stage pipeline and extended instruction set - enables deterministic real-time control with compact code footprint. |
| Flash Memory | 8 Kbytes Flash with 20-year data retention at 55 °C after 10,000 write/erase cycles - supports field firmware updates and long-life embedded deployment. |
| Data EEPROM | 640 bytes true data EEPROM, 300,000 write/erase endurance - stores calibration data, device IDs, or runtime configuration without external NV memory. |
| ADC | 10-bit ±1 LSB ADC with 5 multiplexed inputs, scan mode, and analog watchdog - suitable for precision sensor interfacing (e.g., thermistors, potentiometers) with built-in fault detection. |
| Timers | TIM1 (16-bit advanced, 4 CAPCOM, dead-time insertion), TIM2 (16-bit general purpose), TIM4 (8-bit basic), plus AWU and dual watchdogs - enables motor control, PWM generation, and robust system supervision. |
| I/O Capability | Up to 16 I/Os in TSSOP20 package, including 14 high-sink outputs (20 mA per pin) - drives LEDs, relays, or logic-level MOSFETs directly without external drivers. |
| Communication | UART (with LIN/SmartCard/IrDA support), SPI (up to 8 Mbit/s), I²C (up to 400 kbit/s) - provides interoperability with sensors, displays, and host controllers in resource-constrained systems. |
Pinout & Package
STM8S103F3M3 is packaged in a 20-lead TSSOP (4.4 mm body width), RoHS-compliant, with 0.65 mm pitch and thermal pad omitted. Pin functions are validated per ST's DS6120 Rev 15, Section 5.2.1.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Primary 2.95–5.5 V supply rail; decoupling required near pin for stable core/peripheral operation. |
| VSS | Ground reference | Digital ground return path; must be low-impedance and connected to PCB ground plane. |
| NRST | Active-low reset input | Asynchronous reset trigger; internal pull-up enabled; accepts Schmitt-triggered signal for noise immunity. |
| SWIM | Single-wire interface module | Debug and programming interface using one pin - enables in-circuit programming and real-time debugging without JTAG overhead. |
| PA0–PA7 | Programmable I/O port A | 8-bit bidirectional port; PA0–PA3 support alternate functions (UART TX/RX, SPI, TIM1/2), enabling flexible peripheral mapping. |
| PB0–PB5 | Programmable I/O port B | 6-bit bidirectional port; PB1 supports TIM1 complementary output; PB4/PB5 support I²C SCL/SDA - reduces external component count. |
Key Features
| Feature | Design Value |
|---|---|
| Integrated clock sources | Internal 16 MHz RC (user-trimmable ±1%) and 128 kHz RC - eliminates external crystal for basic timing, reducing BOM and board space. |
| Low-power modes | Wait, active-halt, and halt modes with individual peripheral clock gating - achieves sub-1 µA halt current at 3.3 V for battery-powered applications. |
| High-sink I/O capability | 21 pins rated for 20 mA sink (TSSOP20: 14 pins) - directly drives indicators, solenoids, or logic-level N-channel MOSFETs without buffer ICs. |
| Hardware debug interface | SWIM single-wire interface - enables full-speed debugging, flash programming, and memory inspection using ST-LINK or compatible tools. |
| Robust I/O design | Immunity to current injection per IEC 61000-4-2 Level 4 - sustains reliable operation in electrically noisy industrial environments. |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
|
Use Scenario: Standalone temperature/humidity monitor with local display and UART reporting to gateway. IC Role / Device Role / Timing Role: Main system controller executing sensor polling, ADC conversion, data formatting, and UART transmission at 9600 baud. Use Value: Integrated 10-bit ADC with analog watchdog detects sensor faults; 640-byte EEPROM stores calibration offsets and last-read values across power cycles. |
Use Scenario: Washing machine main control unit managing motor sequencing, water valve actuation, and user interface. IC Role / Device Role / Timing Role: Real-time sequencer coordinating PWM-driven motor phases, relay control, and button/LED feedback via TIM1 dead-time logic and high-sink I/Os. Use Value: TIM1's complementary outputs with programmable dead time prevent shoot-through in H-bridge drivers; 20 mA sink I/Os directly energize indicator LEDs and solenoid valves. |
| POS Peripheral Controller | Energy Meter Subsystem |
|
Use Scenario: Barcode scanner interface module translating USB HID commands to serial protocol for legacy receipt printers. IC Role / Device Role / Timing Role: Protocol bridge converting UART data streams to SPI-based printer control signals with precise timing via TIM2 capture/compare. Use Value: Dual UART/SPI peripherals enable simultaneous host communication and peripheral control; 8 Kbyte Flash accommodates firmware for multiple printer models. |
Use Scenario: Auxiliary metering unit measuring auxiliary loads (e.g., HVAC, lighting) and reporting kWh via RS-485. IC Role / Device Role / Timing Role: ADC supervisor sampling current transformers and voltage dividers, applying gain correction, and transmitting via UART with LIN framing. Use Value: 10-bit ADC with ±1 LSB INL ensures <1% measurement accuracy over temperature; internal 16 MHz RC clock meets LIN timing tolerance without external crystal. |
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 1 Kbyte RAM (vs. 1 Kbyte in STM8S103F3M3) and no data EEPROM - relies on Flash for nonvolatile storage. | Limited to applications requiring minimal persistent data storage (e.g., simple timers, LED sequencers). | Select when EEPROM is unnecessary and lowest BOM cost is critical; verify Flash wear-leveling for frequent writes. |
| EFM8BB10F8G-A-QFN20 | Silicon Labs 8051 core, 8 Kbyte Flash, 512 byte RAM, no integrated EEPROM; higher active current but superior sleep current (<50 nA). | Better suited for ultra-low-power wake-on-event designs (e.g., wireless sensor endpoints) where EEPROM is offloaded externally. | Choose for battery life >10 years; accept added complexity of external I²C EEPROM and 8051 toolchain migration. |
Compared with STM8S003F3P6, STM8S103F3M3 adds production-ready data EEPROM for robust parameter storage; versus EFM8BB10F8G-A-QFN20, it trades deeper sleep for integrated analog features and mature STM8 ecosystem support.
Availability
STM8S103F3M3 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart appliance control units, and POS peripheral controllers requiring stable component supply, long-term lifecycle assurance, and qualified automotive-grade traceability.
Supply support for STM8S103F3M3 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 delivers cost-optimized 8-bit MCUs targeting resource-constrained embedded applications requiring reliability, low power, and rapid development - especially where legacy 8051 or PIC migration is needed without sacrificing toolchain maturity.
FAQ
What debug interface does STM8S103F3M3 use, and what tools support it?
STM8S103F3M3 uses the Single-Wire Interface Module (SWIM) for debugging and programming. It is supported by ST-LINK/V2 and ST-LINK/V2-1 debuggers, STM8CubeIDE, and third-party tools like Cosmic C compiler with SWIM plugin. No JTAG header is required - only one signal (SWIM) plus GND and VDD for in-circuit programming.
Does STM8S103F3M3 require an external crystal to operate?
No. STM8S103F3M3 can run entirely from its internal 16 MHz RC oscillator, which is factory-trimmed and user-adjustable within ±1%. An external crystal is optional and only needed for applications demanding higher clock accuracy (e.g., UART at 115.2 kbps over wide temperature ranges) or when using the low-power crystal oscillator mode.
How many I/O pins support alternate functions like UART or SPI in the TSSOP20 package?
In the TSSOP20 package, STM8S103F3M3 provides 16 usable I/O pins (PA0–PA7, PB0–PB5, plus NRST and SWIM). Of these, PA0–PA3 and PB4–PB5 support UART, SPI, and I²C alternate functions - specifically: PA0/PA1 (UART TX/RX), PA2/PA3 (SPI CLK/MOSI), PB4/PB5 (I²C SCL/SDA). Remapping is controlled via option bytes and peripheral registers.
What is the maximum operating temperature range for STM8S103F3M3?
STM8S103F3M3 is specified for industrial temperature range: –40 °C to +85 °C. Electrical characteristics including Flash retention, ADC accuracy, and I/O drive strength are guaranteed across this range. The device uses standard plastic TSSOP packaging with JEDEC MS-013AC compliance and meets AEC-Q100 stress test requirements for non-automotive industrial use.
STM8S103F3M3 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-SOIC (0.295", 7.50mm Width)
- Series:
- STM8S
- Packaging:
- Tray
- 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:
STM8S103F3M3 FAQ
1.How can I place an order for STM8S103F3M3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S103F3M3 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 STM8S103F3M3 reliable?
The price and inventory of STM8S103F3M3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S103F3M3 is usually 5 days.
3.What payment methods are accepted for STM8S103F3M3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S103F3M3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S103F3M3?
STM8S103F3M3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S103F3M3 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 STM8S103F3M3?
For technical support, including STM8S103F3M3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S103F3M3 requirements.
6.How does Aetrix verify that STM8S103F3M3 is sourced from the original manufacturer or authorized distributors?
All STM8S103F3M3 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 STM8S103F3M3 meets industry standards.
7.What is the process for return or replacement of STM8S103F3M3?
All STM8S103F3M3 units undergo pre-shipment inspection (PSI). If there is an issue with STM8S103F3M3, 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 STM8S103F3M3 part is unused and in its original packaging.
Return procedure for STM8S103F3M3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S103F3M3 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…

