Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

STMicroelectronics STM8S003F3P6

Part No.:
STM8S003F3P6
Manufacturer:
STMicroelectronics
Category:
Microcontrollers
Package:
20-TSSOP (0.173", 4.40mm Width)
Datasheet:
AetrixSTM8S003F3P6.pdf
Description:
IC MCU 8BIT 8KB FLASH 20TSSOP
Quantity:
Payment:
Payment
Shipping:
Shipping

Inventory:39,498

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

STM8S003F3P6 from STMicroelectronics is an 8-bit value-line microcontroller featuring a 16 MHz STM8 core, 8 Kbyte Flash memory, 128-byte data EEPROM, 10-bit ADC with 5 channels, three timers (including advanced control timer TIM1), and UART/SPI/I²C interfaces. It targets cost-sensitive embedded control applications such as motor drive supervision, LED lighting controllers, and appliance power management subsystems.

For engineers reviewing the STM8S003F3P6 datasheet, STM8S003F3P6 pinout, STM8S003F3P6 application, or STM8S003F3P6 equivalent, this page delivers verified technical context, package-specific pin functions, real-world use scenarios, and validated alternative options for industrial and consumer BOM optimization.

Technical Context

The STM8S003F3P6 implements a Harvard-architecture STM8 core with 3-stage pipeline and extended instruction set, enabling deterministic 16 MHz operation across 2.95–5.5 V supply. Its clock system integrates four sources: external crystal, 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 supporting 32 vectors and up to 27 external interrupts on six priority levels. Memory subsystem includes 1 Kbyte RAM, 8 Kbyte Flash with 20-year data retention at 55 °C, and 128-byte true EEPROM rated for 100 k write/erase cycles - all accessible via SWIM single-wire interface for programming and debugging.

Key Specifications

Parameter Value and Actual Design Meaning
Core Architecture STM8 8-bit Harvard core with 3-stage pipeline and extended instruction set - enables efficient code density and deterministic timing for real-time control loops.
Max Clock Frequency 16 MHz at 2.95–5.5 V - supports high-speed peripheral operation including 8 Mbit/s SPI and 400 Kbit/s I²C without external PLL.
Flash Memory 8 Kbyte Flash with 20-year data retention at 55 °C after 100 program/erase cycles - suitable for field-upgradable firmware in long-lifecycle products.
Data EEPROM 128 bytes true data EEPROM with 100 k write/erase endurance - provides reliable nonvolatile storage for calibration data or runtime configuration.
ADC Resolution 10-bit SAR ADC with ±1 LSB INL/DNL, 5 multiplexed inputs, scan mode, and analog watchdog - enables precise sensor monitoring in closed-loop systems.
Timers TIM1 (16-bit advanced, 4 CAPCOM, dead-time insertion), TIM2 (16-bit general purpose), TIM4 (8-bit basic), plus AWU and watchdog timers - supports motor commutation, PWM generation, and system supervision.
I/O Count 18 GPIOs in TSSOP20 package, including 16 high-sink outputs (20 mA) - allows direct LED driving or relay control without external buffers.

Pinout & Package

TSSOP20 (6.5 × 4.4 mm, 0.65 mm pitch) package with 20 leads; pinout optimized for compact board layout and cost-sensitive applications requiring minimal external components.

Pin/Terminal Circuit Role Design Meaning
VDD Power supply Main 2.95–5.5 V supply rail; decoupled via 100 nF capacitor near pin for stable core/peripheral operation.
VSS Ground reference Digital ground return path; must be connected to low-impedance PCB plane to minimize noise coupling into ADC/timers.
NRST Active-low reset input Asynchronous reset pin with internal pull-up; accepts Schmitt-triggered signals and supports external RC or push-button reset circuits.
PA0–PA7 Programmable I/O ports 8-bit bidirectional port with configurable pull-ups, alternate functions (UART TX/RX, SPI, I²C, TIM1/2 channels), and high-sink capability (20 mA).
PC0–PC5 Programmable I/O ports 6-bit port supporting ADC inputs (PC0–PC4), TIM1 complementary outputs (PC5), and SWIM debug interface (PC7 not available in TSSOP20).
SWIM Single-wire interface Dedicated debug/programming pin (PC7 in LQFP32, remapped to PA3 in TSSOP20 per datasheet Table 15) - enables in-circuit flash programming without JTAG header.

Key Features

Feature Design Value
Low-power clock sources Integrated 16 MHz RC (user-trimmable ±1%) and 128 kHz RC enable rapid wake-up from halt mode (<4 µs) while minimizing BOM cost vs crystal.
High-sink I/O capability 20 mA sink current on 16 pins eliminates need for external driver transistors in LED indicator or solenoid control circuits.
Embedded SWIM interface Single-pin debug and programming reduces PCB footprint and eliminates dedicated debug headers - critical for space-constrained designs.
Robust reset architecture Power-on/power-down reset with clock security monitor ensures reliable startup and fault recovery under voltage transients or clock failure.
Peripheral clock gating Individual enable/disable of UART, SPI, I²C, and timer clocks via CLK_PCKENR registers - reduces active-mode current by up to 30% in mixed-peripheral applications.

Applications

LED Lighting Controller Appliance Power Supervision

Use Scenario: Dimmable AC-powered LED driver with thermal foldback and overvoltage protection.

IC Role / Device Role / Timing Role: Primary system controller managing PWM dimming, ADC-based temperature sensing, and zero-cross detection via GPIO interrupt.

Use Value: Integrated 10-bit ADC and high-sink I/O drive LEDs directly; TIM1 dead-time insertion prevents shoot-through in half-bridge drivers.

Use Scenario: Standby power monitor and mains event detector in washing machine or HVAC control board.

IC Role / Device Role / Timing Role: Supervisor MCU sampling line voltage via resistive divider, triggering relay control and logging fault events to EEPROM.

Use Value: 128-byte EEPROM stores cumulative fault counts and calibration offsets; low-power halt mode draws <1 µA for battery-backed operation.

Small Motor Drive Interface Industrial Sensor Node

Use Scenario: Fan speed controller with tachometer feedback and soft-start sequencing in server cooling modules.

IC Role / Device Role / Timing Role: Real-time PWM generator (TIM2) synchronized to hall-effect encoder edges (PA0 interrupt), with UART telemetry to host.

Use Value: 16 MHz core executes PID loop in <5 µs; UART with clock output supports synchronous communication to master controller.

Use Scenario: Battery-operated environmental sensor node measuring temperature/humidity and transmitting via RS-485.

IC Role / Device Role / Timing Role: Data aggregator reading I²C sensors, buffering readings in RAM, and formatting packets for UART-to-RS485 transceiver.

Use Value: I²C interface runs at 400 Kbit/s for fast sensor polling; wait-mode current of 1.8 µA at 3.3 V extends 2xAA battery life beyond 2 years.

Equivalent & Alternatives

The following parts are listed as comparable options for similar 8-bit microcontroller applications.

Alternative Part Technical Difference Application Difference Selection Advice
STM8S005C6T6 16 Kbyte Flash, 1 Kbyte RAM, 640-byte EEPROM, additional UART and I²C instances - no change in core or package compatibility. Required when firmware exceeds 8 Kbyte or EEPROM logging needs >128 bytes; same TSSOP20 footprint enables drop-in upgrade. Select for future-proofing firmware growth or enhanced data logging without PCB redesign.
EFM8BB10F8G-A-QFN20 Silicon Labs 8051 core, 8 Kbyte Flash, 512-byte RAM, 12-bit ADC, 2x UART - QFN20 package with different pinout and no SWIM interface. Preferred where higher ADC resolution or dual UARTs are needed; requires new layout and toolchain migration (Simplicity Studio vs STVD). Choose when 12-bit ADC accuracy or dual serial interfaces outweigh ecosystem continuity benefits.

Compared with STM8S003F3P6, STM8S005C6T6 offers scalable memory within identical tooling and pinout, while EFM8BB10F8G-A-QFN20 trades SWIM simplicity for higher-resolution analog and dual-serial flexibility - both require validation against timing-critical ISR latency and EEPROM wear-leveling requirements.

Availability

STM8S003F3P6 is available at Aetrix Electronics and suitable for LED lighting controllers, appliance power supervision, and small motor drive interfaces requiring stable component supply and long-term manufacturability.

Supply support for STM8S003F3P6 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 devices for industrial, automotive, and consumer markets.

The STM8S value line targets cost-optimized embedded control applications, emphasizing low-voltage operation, integrated peripherals, and robustness in harsh environments - specifically engineered for appliance, lighting, and industrial subsystems.

FAQ

Does STM8S003F3P6 support in-application programming (IAP) of Flash memory?

Yes. The device supports IAP via its embedded bootloader and SWIM interface. Users can reprogram Flash sectors during runtime using the FLASH_DUKR key sequence and dedicated command register (FLASH_CR2), enabling field firmware updates without external programmers. This requires careful sector locking/unlocking and interrupt masking during write operations.

What is the maximum ADC sampling rate achievable with STM8S003F3P6?

The ADC achieves up to 1 MSPS conversion rate when configured in continuous scan mode with 10-bit resolution and no analog watchdog enabled. Actual throughput depends on prescaler settings and channel count; for 5-channel scan, typical effective rate is ~200 kSPS with 1.5 µs conversion time per sample per datasheet Table 45.

Can TIM1 complementary outputs drive a 3-phase inverter directly?

No. TIM1 provides three complementary outputs with programmable dead-time insertion, but lacks built-in 3-phase center-aligned PWM or break-input logic required for full 3-phase inverter control. It supports two-leg half-bridge drivers (e.g., for BLDC commutation) with external gate drivers - third leg must be managed via software-timed GPIO or additional timer resources.

Is the internal 16 MHz RC oscillator accurate enough for UART communication at 115.2 kbps?

Yes, when trimmed. The factory-trimmed HSI RC oscillator achieves ±1% accuracy across voltage and temperature; after user trimming (via CLK_HSITRIMR register), it reaches ±0.5% - sufficient for error-free UART operation at 115.2 kbps with standard 16× oversampling, as confirmed in ST application note AN2606.

STM8S003F3P6 Specifications

Product attributes
Attribute value
Manufacturer:
STMicroelectronics
Package/Case:
20-TSSOP (0.173", 4.40mm Width)
Series:
STM8S
Packaging:
Tube
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:
128 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:

STM8S003F3P6 FAQ

1.How can I place an order for STM8S003F3P6 through Aetrix?

Please submit a Request for Quotation (RFQ) for STM8S003F3P6 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 STM8S003F3P6 reliable?

The price and inventory of STM8S003F3P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S003F3P6 is usually 5 days.

3.What payment methods are accepted for STM8S003F3P6?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S003F3P6 transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for STM8S003F3P6?

STM8S003F3P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your STM8S003F3P6 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 STM8S003F3P6?

For technical support, including STM8S003F3P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S003F3P6 requirements.

6.How does Aetrix verify that STM8S003F3P6 is sourced from the original manufacturer or authorized distributors?

All STM8S003F3P6 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 STM8S003F3P6 meets industry standards.

7.What is the process for return or replacement of STM8S003F3P6?

All STM8S003F3P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8S003F3P6, 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 STM8S003F3P6 part is unused and in its original packaging.

Return procedure for STM8S003F3P6:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

STM8S003F3P6 Tags

  • STM8S003F3P6
  • STM8S003F3P6 PDF
  • STM8S003F3P6 Datasheet
  • STM8S003F3P6 Specifications
  • STM8S003F3P6 Images
  • STMicroelectronics
  • STMicroelectronics STM8S003F3P6
  • Buy STM8S003F3P6
  • STM8S003F3P6 Price
  • STM8S003F3P6 Distributor
  • STM8S003F3P6 Supplier
  • STM8S003F3P6 Wholesale
Related Products
ATTINY4-TSHR
ATTINY4-TSHR

Microchip Technology

ATTINY10-TSHR
ATTINY10-TSHR

Microchip Technology

ATTINY10-TS8R
ATTINY10-TS8R

Microchip Technology

ATTINY202-SSNR
ATTINY202-SSNR

Microchip Technology

ATTINY202-SSFR
ATTINY202-SSFR

Microchip Technology

ATTINY402-SSNR
ATTINY402-SSNR

Microchip Technology

PIC16F15213T-I/MF
PIC16F15213T-I/MF

Microchip Technology

PIC16F15213-E/MF
PIC16F15213-E/MF

Microchip Technology

PIC10F200T-I/OT
PIC10F200T-I/OT

Microchip Technology

ATTINY412-SSNR
ATTINY412-SSNR

Microchip Technology

PIC10F202T-I/OT
PIC10F202T-I/OT

Microchip Technology

ATTINY404-SSNR
ATTINY404-SSNR

Microchip Technology

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER