STMicroelectronics

STM8S003F3P6 - 8-bit MCU 8KB Flash 16MHz TSSOP-20 | STMicroelectronics

MPN: STM8S003F3P6 βœ“ Active
In Stock Ships in 1-3 business days
2.95 V to 5.5 V Vdss 3.6 mA typical at 16 MHz Id 20-TSSOP Package 16 MHz Speed 8 KB Memory
From $0.36 USD / Unit
MOQ: 1 |
Price updated: 2026-08-29
Volume Pricing
Qty Unit Price Extended
1 $0.62 $0.62
10 $0.56 $5.60
100 $0.48 $48.00
500 $0.42 $210.00
1,000 $0.36 $360.00
ℹ️ All prices are in USD

STM8S003F3P6 Overview

The STMicroelectronics STM8S003F3P6 is a value line 8-bit microcontroller based on the STM8 core, running at up to 16 MHz with 8 KB of Flash memory, 1 KB of RAM, and 128 bytes of true data EEPROM in a 20-pin TSSOP package.

An 8-bit microcontroller (MCU) is a single-chip computer integrating an 8-bit CPU, program memory, data memory, and programmable peripherals. The STM8S003F3P6 belongs to the STM8S series within the STM8 family, positioned below the 32-bit STM32 series in STMicroelectronics' product hierarchy and targeting cost-sensitive embedded control.

Key features include 8 KB Flash with integrated true EEPROM (up to 100,000 write/erase cycles), a 10-bit ADC with 5 channels, and UART, SPI, and I2C interfaces. The device operates from 2.95V to 5.5V, supporting both 3.3V and 5V systems, with 16 programmable I/Os and 7 timers/counters including a 16-bit timer, an 8-bit timer, and watchdog timers.

The STM8 core uses a Harvard-architecture 3-stage pipeline delivering 16 MIPS at 16 MHz. An internal 16 MHz RC oscillator eliminates the need for an external crystal in many designs. Low-power modes include Halt, Active-Halt, and Wait, with 3.6 mA typical in Run mode at 16 MHz and about 1 uA in Halt mode.

Typical applications include home appliances, industrial control, consumer electronics, motor control helpers, and sensor interfaces. Its wide voltage range and robust I/O make it popular in white goods, power tools, and battery-powered devices, while the integrated EEPROM removes external non-volatile memory from the BOM.

Design tip: decouple VDD with a 100 nF capacitor placed close to the pin. The internal RC is accurate to approximately 2%, so use an external crystal when precise timing is required. SWIM single-wire in-circuit programming simplifies firmware updates.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes beyond the ST datasheet, as of 2026-08-29.

Drop-in alternatives for STM8S003F3P6 β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with STM8S003F3P6 (same form factor and footprint) β€” differing in ADC Resolution, Core, Package.

STMicroelectronics
ADC Resolution: 10-bit
Core: STM8 8-bit CISC
Package: TSSOP-20
Compare with STM8S003F3P6 β†’

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

STM8S103F3P6

βœ… Drop-In
πŸ“¦ 20-TSSOP
same STM8 core and footprint, 640 B EEPROM vs 128 B, different peripheral mix

πŸ“‹ Reference alternative (not in catalog)

STM8L051F3P6

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 20-TSSOP
STM8L low-power core, better efficiency but different code port needed

πŸ“‹ Reference alternative (not in catalog)

STM8S903F3P6

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 20-TSSOP
motor-control oriented variant with complementary PWM outputs

πŸ“‹ Reference alternative (not in catalog)

N76E003AT20

βœ… Drop-In
πŸ“¦ 20-TSSOP
cross-brand 8051 core, 18 KB Flash, pin-to-pin replacement, firmware rewrite required

πŸ“‹ Reference alternative (not in catalog)

MM32F0010A1T

βœ… Drop-In
πŸ“¦ 20-TSSOP
cross-brand Cortex-M0, 32 KB Flash, designed as STM8S003 upgrade path

πŸ“‹ Reference alternative (not in catalog)

STM8S003F3P6 Maximum Ratings & Electrical Characteristics

Core STM8 8-bit
Max CPU Frequency 16 MHz
Performance 16 MIPS
Flash Memory 8 KB
RAM 1 KB
Data EEPROM 128 bytes
Supply Voltage 2.95 V to 5.5 V
Timers/Counters 7
ADC Resolution 10-bit, 5 channels
Communication Interfaces UART, SPI, I2C
Programmable I/Os 16
Watchdog Timer Yes (independent + window)
Run Mode Current 3.6 mA typical at 16 MHz
Halt Mode Current approx. 1 uA
Operating Temperature -40C to +85C
Package 20-TSSOP
Mounting Type Surface Mount
Programming Interface SWIM
RoHS Status Compliant

STM8S003F3P6 Pin Configuration

TSSOP-20 Package Pinout Diagram TSSOP-20 4.4x6.5mm, P0.65mm, JEDEC MO-153. 1 20 2 19 3 18 4 17 5 16 6 15 7 14 8 13 9 12 10 11 TSSOP-20
Pin 1 PD4 β€” I/O / UART1_CK / TIM1_BKIN
Pin 2 PD5 β€” I/O / UART1_TX (also used for SWIM programming)
Pin 3 PD6 β€” I/O / UART1_RX
Pin 4 NRST β€” Active-low reset / input
Pin 5 PA1 β€” I/O / OSCIN (external crystal input)
Pin 6 PA2 β€” I/O / OSCOUT (external crystal output)
Pin 7 VSS β€” Ground
Pin 8 VCAP β€” 1uF capacitor to ground for internal regulator
Pin 9 VDD β€” Power supply 2.95V to 5.5V
Pin 10 PA3 β€” I/O / TIM2_CH3
Pin 11 PB5 β€” I/O / ADC channel / I2C-related
Pin 12 PB4 β€” I/O / ADC channel
Pin 13 PC3 β€” I/O / TIM1_CH3 / SPI related
Pin 14 PC4 β€” I/O / TIM1_CH4 / ADC channel
Pin 15 PC5 β€” I/O / SPI_SCK
Pin 16 PC6 β€” I/O / SPI_MOSI / TIM1_CH1
Pin 17 PC7 β€” I/O / SPI_MISO / TIM1_CH2
Pin 18 PD1 β€” I/O / SWIM data interface
Pin 19 PD2 β€” I/O / ADC channel / TIM2_CH3
Pin 20 PD3 β€” I/O / ADC channel / TIM2_CH2

Typical Applications

STM8S003F3P6 is suitable for 6 applications: Home Appliances, Industrial Control, Sensor Interfaces, Consumer Electronics, Battery-Powered Devices, Motor Control Assistance.

🏭

Home Appliances

The STM8S003F3P6 fits white goods control panels and small appliance boards where 5V-tolerant I/O and low BOM cost dominate. Its 2.95V-5.5V supply range allows direct connection to appliance 5V rails, and the 10-bit ADC reads temperature sensors and potentiometer settings across 5 channels. The 128-byte EEPROM stores user settings through power cycles with 100k-cycle endurance. Running at 16 MHz with the internal RC oscillator, no crystal is needed, trimming board cost; SWIM in-circuit programming supports factory firmware updates.

βš™οΈ

Industrial Control

In industrial control nodes the STM8S003F3P6 provides watchdog timers (independent and window) for fail-safe operation, 16 robust I/Os for relay and LED driving, and a 16-bit timer for PWM generation. The -40C to +85C operating range covers cabinet environments. Its 3.6 mA run current suits always-on monitoring boards, and the UART links to RS-485 transceivers for fieldbus communication, keeping system cost well below 32-bit alternatives.

🧩

Sensor Interfaces

The integrated 10-bit ADC with 5 channels makes the STM8S003F3P6 a compact analog front-end hub for resistive and voltage-output sensors. I2C and SPI interfaces connect digital sensors such as temperature, humidity, and pressure ICs, while the EEPROM stores per-device calibration constants. At about 1 uA in Halt mode, battery-powered sensor pods can duty-cycle the MCU for multi-year operation, waking via external interrupts or the wakeup timer.

πŸ’‘

Consumer Electronics

For toys, chargers, lighting controls, and small display products, the STM8S003F3P6 delivers essential control logic at roughly $0.36 per unit at 1000 pieces (as of 2026-08-29). The 16 MHz internal oscillator eliminates crystal cost, and the TSSOP-20 footprint fits dense single-sided consumer boards. The 8-bit timer generates LED breathing effects and buzzer tones, while the 8 KB Flash comfortably hosts state machines, button debouncing, and simple communication protocols.

πŸ”‹

Battery-Powered Devices

Power tools, meters, and portable products benefit from the STM8S003F3P6's Halt mode current of approximately 1 uA and Active-Halt mode with periodic wakeup. Combined with a 2.95V low end of supply, the MCU operates directly from two-cell or three-cell alkaline stacks and single-cell Li-ion via an LDO. The ADC monitors battery voltage through a divider, and EEPROM retains usage counters. A 100 nF VDD decoupling capacitor plus sleep discipline keeps quiescent drain negligible.

πŸ”§

Motor Control Assistance

While the STM8S003F3P6 does not replace dedicated motor MCUs, its 16-bit timer with PWM output and complementary drive capability handles fan drivers, small DC motor speed control, and gate-level coordination with external drivers. The 5V-tolerant I/O drives MOSFET driver inputs directly, the ADC reads current-sense amplifiers for over-current detection, and the watchdog guarantees shutdown on firmware lockup, which is essential for any motor-driving application.

What is the maximum clock frequency of STM8S003F3P6?
The STM8S003F3P6 runs at a maximum core frequency of 16 MHz, delivering about 16 MIPS. According to STMicroelectronics datasheet STM8S003F3, the internal 16 MHz RC oscillator can drive the core without an external crystal, or the clock can be sourced externally for tighter frequency accuracy in timing-critical applications.
How much Flash and RAM does the STM8S003F3P6 have?
The STM8S003F3P6 provides 8 KB of Flash program memory, 1 KB of RAM, and 128 bytes of true data EEPROM. The EEPROM supports roughly 100,000 write/erase cycles per the ST datasheet, allowing calibration data or settings storage without external memory, which lowers total BOM cost.
What is the difference between STM8S003F3P6 and STM8S103F3P6?
The STM8S103F3P6 offers more data EEPROM (640 bytes vs 128 bytes) and a slightly different peripheral/performance profile, while the STM8S003F3P6 is the value line part with lower cost. Both use the STM8 core, 8 KB Flash, 1 KB RAM, and the same 20-TSSOP package, so they are largely drop-in interchangeable per FindIC and Utmel comparisons.
Is N76E003 a good replacement for STM8S003F3P6?
Yes. Nuvoton's N76E003 (e.g., N76E003AT20 in TSSOP-20) is widely cited, including by EEWorld, as a pin-to-pin replacement for the STM8S003F3P6 at very low cost. It offers an 8051 core at up to 16 MHz with 18 KB Flash. Note that firmware must be rewritten since the core and toolchain differ.
Can MM32F0010A1T replace STM8S003F3P6 in an existing PCB?
Yes. The MindMotion MM32F0010A1T is an ARM Cortex-M0 MCU in TSSOP-20 designed as a pin-compatible upgrade path from the STM8S003F3P6, offering 32 KB Flash. Hardware is drop-in on the same footprint, but firmware must be ported from STM8 to the ARM toolchain and peripheral registers differ.
What is the supply voltage range of STM8S003F3P6?
The STM8S003F3P6 operates from 2.95V to 5.5V. This wide range per the ST datasheet STM8S003F3 makes it suitable for both 3.3V and 5V systems, including directly powered 5V industrial and appliance environments without an intermediate regulator.
What are the key specifications of STM8S003F3P6 that engineers should know?
The STM8S003F3P6 is an 8-bit STM8-core MCU: 16 MHz max frequency (16 MIPS), 8 KB Flash, 1 KB RAM, 128 B EEPROM, 10-bit ADC with 5 channels, UART/SPI/I2C, 16 I/Os, 7 timers, 2.95V-5.5V supply, -40C to +85C, in 20-TSSOP. Run current is 3.6 mA at 16 MHz; Halt mode is about 1 uA. Source: ST datasheet STM8S003F3.
Where can I download the STM8S003F3P6 datasheet PDF?
The official STM8S003F3P6 datasheet PDF is available free on STMicroelectronics' website at st.com/resource/en/datasheet/stm8s003f3.pdf. This 103-page document covers features, pinout, electrical characteristics, mechanical data, and ordering information for the STM8S003F3/K3 value line family.
What is the price of STM8S003F3P6?
As of 2026-08-29, STM8S003F3P6 pricing is approximately $0.62 at 1 unit, $0.56 at 10 units, $0.48 at 100 units, $0.42 at 500 units, and $0.36 at 1000 units, based on current distributor data. It is one of the lowest-cost branded 8-bit MCUs available in TSSOP-20.
Is STM8S003F3P6 in stock and where can I buy it online?
Yes, the STM8S003F3P6 is an active part stocked by major distributors including DigiKey (ships same day) and Mouser, with large quantities reported in stock (over 40,000 pcs at some suppliers). It can be purchased online from XAIPART or any authorized ST distributor.
When should I choose STM8S003F3P6 over STM8S103F3P6?
Choose the STM8S003F3P6 when minimizing cost in designs needing 128 bytes or less of EEPROM; choose the STM8S103F3P6 when you need up to 640 bytes of EEPROM for larger data logging. Both share the STM8 core, 8 KB Flash, and 20-TSSOP package, so PCB reuse is trivial either direction.
Does STM8S003F3P6 need an external crystal?
No, an external crystal is optional. The STM8S003F3P6 integrates a 16 MHz internal RC oscillator accurate to about 2% over temperature, which is sufficient for UART communication and most appliance tasks. For precise timing such as CAN bit timing or precision measurement, add an external crystal on the OSC pins.
What low-power modes does the STM8S003F3P6 support?
The STM8S003F3P6 supports Wait, Active-Halt, and Halt low-power modes. According to the ST datasheet, Run mode at 16 MHz draws 3.6 mA typical, while Halt mode drops to approximately 1 uA, enabling multi-year battery life in duty-cycled applications when combined with wakeup timers.
What is the best cross-brand equivalent for STM8S003F3P6?
The best cross-brand pin-compatible equivalents are Nuvoton N76E003AT20 (8051 core, 18 KB Flash, TSSOP-20) and MindMotion MM32F0010A1T (Cortex-M0, 32 KB Flash, TSSOP-20). Both fit the same footprint, but require firmware porting since neither uses the STM8 core or ST toolchain.

Engineering reference data for STM8S003F3P6 β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the STM8S003F3P6 for cost-driven 3.3V/5V control tasks needing up to 8 KB of code with genuine EEPROM and ST's SWIM tooling. Choose STM8S103F3P6 when you need up to 640 B of EEPROM or its slightly richer peripheral set - same footprint, code largely portable. Choose Nuvoton N76E003AT20 when unit cost is the overriding factor and you accept an 8051 firmware rewrite. Choose MindMotion MM32F0010A1T when future headroom matters (32 KB Flash, Cortex-M0, 48 MHz) and a port is planned anyway. All five parts share the 20-TSSOP footprint, so PCB layout can be reused across the family; only firmware and toolchain differ.

Comparison with Alternatives

Parameter This Product STM8S103F3P6 N76E003AT20 MM32F0010A1T
Package 20-TSSOP 20-TSSOP - same 20-TSSOP - same 20-TSSOP - same
Brand STMicroelectronics STMicroelectronics Nuvoton Technology MindMotion
Core STM8 8-bit STM8 8-bit 8051 8-bit ARM Cortex-M0
Flash Memory 8 KB 8 KB 18 KB 32 KB
Max Frequency 16 MHz 16 MHz 16 MHz 48 MHz
Firmware Compatibility STM8 toolchain (STVD/IAR) STM8 toolchain - code compatible Keil 8051 - rewrite required ARM toolchain - port required

Key Differentiators

  • Lowest-cost STM8 value line entry (vs STM8S103F3P6)
  • Integrated true EEPROM (vs N76E003AT20)
  • Unified ST ecosystem portability (vs MM32F0010A1T)

Design Notes

Decouple VDD with a 100 nF ceramic capacitor placed as close to pin 9 as possible, and fit the mandatory 1 uF capacitor on VCAP (pin 8) for the internal 1.8V core regulator - omitting VCAP capacitance causes unreliable startup. Keep the NRST trace short and add a 100 nF reset capacitor plus 10k pull-up if the reset line is routed near switching noise sources.

The STM8S003 value line has a limited Flash write endurance budget and a locked option-byte scheme; write-protect misconfiguration can permanently disable SWIM access. Always enable SWIM read-out via option bytes before deploying, and verify the PD1/PD2 SWIM/OSC pin roles since SWIM shares UART TX and PD1 - reserve SWIM access on production test fixtures.

Use the Active-Halt or Halt modes for battery designs: Halt draws roughly 1 uA while Run at 16 MHz draws 3.6 mA typical. Wake sources in Halt are limited (external interrupt on configured pins, AWU timer), so verify your wake source is available on the chosen pin before committing the layout. The internal RC oscillator accuracy of about 2% limits UART baud error margins at high baud rates - test worst-case temperature corners.

ADC readings benefit from grounding: route analog sensor returns to VSS pin 7 directly and avoid sharing high-current I/O ground paths. Sample with the ADC in single-shot mode between PWM switching edges to reduce ripple-induced noise, and average 4-16 readings in firmware for the 10-bit converter's effective resolution.

Compliance Information

RoHS
Compliant
REACH
Unknown
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Unknown

RoHS compliant and MSL 3 per distributor data (PartGenie). REACH and halogen-free status not stated in provided data.

Data verified on: 2026-08-29 β€” data verified and curated by XAIPART's component engineering team

Related Searches

STM8S003F3P6 STM8S003F3P6 datasheet PDF STM8S003F3P6 STMicroelectronics buy STM8S003F3P6 price 1000 units STM8S003F3P6 vs STM8S103F3P6 difference STM8S003F3P6 drop-in replacement N76E003 STM8S003F3P6 pinout TSSOP-20 8-bit MCU 8KB flash 16MHz TSSOP-20 STM8S003F3P6 home appliance control what can replace STM8S003F3P6 STM8S003F3P6 equivalent cross reference STM8S003F3P6 low power halt mode current

Related Components & Terms

STMicroelectronics STM8S003F3P6 STM8S103F3P6 STM8 core 8-bit microcontroller MCU ARM Cortex-M0 N76E003AT20 MM32F0010A1T 20-TSSOP TSSOP package family surface mount SWIM RoHS 10-bit ADC UART SPI I2C data EEPROM home appliances industrial control low-power Halt mode Harvard architecture
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details