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

- Shipping:

Inventory:2,914
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S103F3M6TR from STMicroelectronics is an 8-bit access-line microcontroller featuring a 16 MHz STM8 core, 8 KB Flash, 640-byte data EEPROM, 10-bit ADC with 5 channels, three timers (including advanced 16-bit TIM1), UART, SPI, and I²C - deployed in cost-sensitive industrial control, sensor interface, and appliance motor management systems.
For engineers reviewing the STM8S103F3M6TR datasheet, STM8S103F3M6TR pinout, STM8S103F3M6TR application, or STM8S103F3M6TR equivalent, key selection criteria include its 20-pin TSSOP package, 2.95–5.5 V supply range, nested interrupt controller with 32 vectors, low-power active-halt mode (<1.5 µA), and SWIM single-wire debug interface for space-constrained embedded designs.
Technical Context
The STM8S103F3M6TR 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. Its clock system integrates four sources: external crystal/resonator, external clock input, user-trimmable 16 MHz RC, and low-power 128 kHz RC - all monitored by a clock security system.
Interrupt handling uses a nested controller with 32 vectors and up to 27 external interrupts mapped across six pins; memory subsystem includes 8 KB Flash (20-year retention at 55 °C after 10 kcycles) and 640-byte true EEPROM (300 kcycle endurance), both accessible via SWIM for in-system programming.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | 16 MHz STM8 8-bit CPU with Harvard architecture and 3-stage pipeline - enables deterministic real-time execution in resource-limited firmware. |
| Flash Memory | 8 Kbytes Flash with 20-year data retention at 55 °C after 10,000 write/erase cycles - supports field firmware updates without premature wear-out. |
| Data EEPROM | 640 bytes true data EEPROM rated for 300,000 write/erase cycles - stores calibration data, device IDs, or runtime configuration persistently. |
| ADC | 10-bit ±1 LSB ADC with up to 5 multiplexed inputs and analog watchdog - suitable for precision sensor signal acquisition in noisy environments. |
| Timers | Three independent timers: 16-bit advanced TIM1 (4 CAPCOM, dead-time insertion), 16-bit TIM2 (3 CAPCOM), and 8-bit TIM4 - enable motor control PWM, time-stamping, and periodic wake-up. |
| I/O Count | 16 I/Os in TSSOP20 package, including 13 high-sink outputs (20 mA sink capability) - drives LEDs, relays, or logic-level peripherals directly without buffers. |
| Supply Range | 2.95 V to 5.5 V operating voltage - interoperates with both 3.3 V and 5 V legacy systems without level-shifting. |
Pinout & Package
STM8S103F3M6TR is housed in a 20-pin TSSOP package (4.4 mm body width, 0.65 mm pitch), optimized for automated assembly and thermal performance in compact PCB layouts.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (NRST) | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic levels - ensures reliable power-on and fault recovery. |
| 2 (PA0) | Programmable I/O / ADC1_IN0 | General-purpose bidirectional port with analog input capability - used for potentiometer reading or digital control signaling. |
| 3 (PA1) | Programmable I/O / ADC1_IN1 | Shared digital I/O and analog input channel - enables dual-role use in mixed-signal sensing applications. |
| 4 (PA2) | Programmable I/O / ADC1_IN2 / TIM2_CH1 | Multi-function pin supporting timer capture/compare, ADC input, or GPIO - simplifies signal routing in timing-critical designs. |
| 5 (PA3) | Programmable I/O / ADC1_IN3 / TIM2_CH2 | Combines analog sensing, timer I/O, and digital control on one pin - reduces external component count in sensor nodes. |
| 6 (VDD) | Power supply | Primary 2.95–5.5 V supply rail - powers core, peripherals, and I/Os; requires local 100 nF decoupling. |
| 7 (VSS) | Ground | Digital ground reference - must be connected to system GND plane with low-inductance path for noise immunity. |
| 8 (PA4) | Programmable I/O / ADC1_IN4 / TIM2_CH3 | Final ADC input and third TIM2 channel - completes 5-channel analog acquisition and 3-channel PWM generation. |
| 9 (PA5) | Programmable I/O / SPI_MOSI / I2C_SCL | Shared serial interface pin - supports SPI master output or I²C clock line, configurable via alternate function remapping. |
| 10 (PA6) | Programmable I/O / SPI_MISO / I2C_SDA | Dual-mode serial data pin - handles SPI slave input or I²C bidirectional data, enabling flexible peripheral connectivity. |
| 11 (PA7) | Programmable I/O / SPI_SCK / UART_TX | Clock or transmit pin - selects between SPI clock generation or UART asynchronous transmission via software configuration. |
| 12 (PB4) | Programmable I/O / TIM1_CH1 / UART_RX | Timer input capture or UART receive - allows edge-triggered timing measurement or serial command reception on same pin. |
| 13 (PB5) | Programmable I/O / TIM1_CH2 / UART_CK | Supports synchronous UART clock output or complementary timer channel - enables LIN bus or precise clock distribution. |
| 14 (PB6) | Programmable I/O / TIM1_CH3 / I2C_SMBA | Third advanced timer channel or I²C SMBus alert - extends motor control resolution or adds system management bus support. |
| 15 (PB7) | Programmable I/O / TIM1_CH4 / SWIM | SWIM debug interface pin - provides single-wire in-circuit programming and real-time debugging without dedicated JTAG pins. |
| 16 (PC0) | Programmable I/O / TIM1_ETR | External trigger input for TIM1 - synchronizes timer start/stop with external events like encoder index pulses. |
| 17 (PC1) | Programmable I/O / TIM1_BKIN | Break input for TIM1 - disables PWM outputs during fault conditions (e.g., overcurrent detection) for safe motor shutdown. |
| 18 (PC2) | Programmable I/O / TIM1_CH1N | Complementary output for TIM1 CH1 - generates inverted PWM signals required for half-bridge gate driving. |
| 19 (PC3) | Programmable I/O / TIM1_CH2N | Complementary output for TIM1 CH2 - enables dual-channel complementary PWM for 3-phase inverter topologies. |
| 20 (Vcap) | Internal regulator capacitor connection | Connects external 1 µF ceramic capacitor to stabilize internal 1.8 V regulator - mandatory for reliable core operation. |
Key Features
| Feature | Design Value |
|---|---|
| SWIM single-wire interface | Enables full-speed programming, debugging, and memory inspection using only one MCU pin - eliminates need for dedicated debug headers. |
| Low-power active-halt mode | Consumes <1.5 µA at 5 V while retaining RAM and register contents - ideal for battery-powered wake-on-event applications. |
| True data EEPROM | 640-byte embedded EEPROM with 300 kcycle endurance - avoids external nonvolatile memory for parameter storage. |
| Advanced control timer (TIM1) | 16-bit timer with 4 CAPCOM channels, 3 complementary outputs, and programmable dead-time - supports BLDC motor commutation. |
| Flexible clock sources | Four selectable clocks (HSE, HSI, LSI, external) with automatic failover and trimming - ensures timing robustness across temperature/voltage. |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
|
Use Scenario: Temperature/humidity monitoring unit with local display and wireless reporting. IC Role / Device Role / Timing Role: Main system controller managing ADC sampling, LCD refresh, UART telemetry, and low-power sleep scheduling. Use Value: Integrated 10-bit ADC, 5-channel mux, and auto-wakeup timer eliminate external signal conditioning and timing ICs. |
Use Scenario: Washing machine mainboard controlling motor drive, water valves, and user interface. IC Role / Device Role / Timing Role: Central MCU coordinating PWM motor control (via TIM1), relay actuation, and front-panel button scanning. Use Value: High-sink I/Os (20 mA) directly drive solenoids and indicator LEDs; complementary PWM outputs simplify half-bridge gate driver design. |
| Energy Meter Interface | POS Peripheral Controller |
|
Use Scenario: Electricity meter add-on module for pulse counting and tariff switching via RS-485. IC Role / Device Role / Timing Role: Isolated communication bridge converting meter pulses to Modbus RTU frames over UART + RS-485 transceiver. Use Value: UART with clock output supports synchronous RS-485 timing; 2.95–5.5 V range accommodates wide-input isolated DC-DC supplies. |
Use Scenario: Point-of-sale terminal peripheral managing barcode scanner, receipt printer, and cash drawer. IC Role / Device Role / Timing Role: Dedicated interface controller handling USB-to-UART bridging, GPIO-based printer handshaking, and drawer solenoid triggering. Use Value: Nested interrupt controller manages concurrent UART RX, timer timeout, and external IRQ events without latency jitter. |
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 and core, but only 1 KB RAM (vs. 1 KB in STM8S103F3) and no data EEPROM - relies on Flash for parameter storage. | Lacks dedicated EEPROM; unsuitable where >100 kcycle parameter writes are required. | Select when cost sensitivity outweighs EEPROM endurance needs and Flash wear-leveling is acceptable. |
| EFM8BB10F8G-A-QFN20 | Silicon Labs 8051-based MCU in QFN20; 8 KB Flash, 512 B RAM, 12-bit ADC, but no complementary PWM outputs or SWIM interface. | No hardware dead-time insertion or break input - requires software PWM safety logic for motor control. | Choose for higher ADC resolution and integrated USB, but accept added firmware complexity for motor protection. |
Compared with STM8S003F3P6, the STM8S103F3M6TR delivers guaranteed EEPROM endurance for frequent calibration updates; versus EFM8BB10F8G-A-QFN20, it provides hardware-timed complementary PWM essential for robust BLDC commutation.
Availability
STM8S103F3M6TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart appliance control, energy meter interfaces, and POS peripheral controllers requiring stable component supply across multi-year production cycles.
Supply support for STM8S103F3M6TR 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, emphasizing low-power operation, robust I/O, and simplified development - specifically engineered for appliance, lighting, and industrial automation applications.
FAQ
What debug interface does STM8S103F3M6TR support?
The STM8S103F3M6TR uses the SWIM (Single Wire Interface Module) protocol for programming and debugging, requiring only one dedicated pin (PB7) and a compatible ST-LINK/V2 or ST-LINK/V2-1 debugger. It supports full-speed flash read/write, RAM inspection, and breakpoint setting without additional hardware overhead.
Does STM8S103F3M6TR support hardware PWM with dead-time insertion?
Yes - its TIM1 advanced control timer provides hardware-configurable dead-time insertion (programmable 1–1023 ns steps) across three complementary output pairs. This enables safe driving of half-bridge and three-phase inverter topologies without external logic or firmware timing compensation.
Can STM8S103F3M6TR operate from a 3.3 V supply?
Yes - the device operates across 2.95 V to 5.5 V, fully supporting 3.3 V nominal systems. At 3.3 V, it maintains 16 MHz CPU speed, achieves <1.5 µA active-halt current, and retains full ADC accuracy (±1 LSB) with RAIN < 10 kΩ per DS6120 Rev 15 Section 10.3.10.
How many ADC channels are available on the TSSOP20 package?
The STM8S103F3M6TR in TSSOP20 exposes five ADC input channels (ADC1_IN0 to ADC1_IN4) on pins PA0–PA4. All five are simultaneously accessible in scan mode, with conversion results stored in a 5-word data buffer and supported by analog watchdog functionality.
STM8S103F3M6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-SOIC (0.295", 7.50mm 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:
STM8S103F3M6TR FAQ
1.How can I place an order for STM8S103F3M6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S103F3M6TR 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 STM8S103F3M6TR reliable?
The price and inventory of STM8S103F3M6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S103F3M6TR is usually 5 days.
3.What payment methods are accepted for STM8S103F3M6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S103F3M6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S103F3M6TR?
STM8S103F3M6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S103F3M6TR 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 STM8S103F3M6TR?
For technical support, including STM8S103F3M6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S103F3M6TR requirements.
6.How does Aetrix verify that STM8S103F3M6TR is sourced from the original manufacturer or authorized distributors?
All STM8S103F3M6TR 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 STM8S103F3M6TR meets industry standards.
7.What is the process for return or replacement of STM8S103F3M6TR?
All STM8S103F3M6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8S103F3M6TR, 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 STM8S103F3M6TR part is unused and in its original packaging.
Return procedure for STM8S103F3M6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S103F3M6TR 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…

