STM8S003F3P6 Microcontroller Pinout, Features, Schematic

STM8S003F3P6 Microcontroller

STM8S003F3P6 Description

STM8S003F3P6 is a microcontroller unit (MCU) developed by STMicroelectronics. It is a highly integrated device that combines the processing power of a central processing unit (CPU) with memory, input/output interfaces, and other peripherals on a single chip. The STM8S003F3P6 is based on an 8-bit architecture and provides a wide range of features, making it suitable for a variety of applications. It has a flash memory of 8KB, 1KB of RAM, and 128 bytes of EEPROM. It also has a wide range of communication interfaces such as SPI, I2C, UART, and CAN. The STM8S003F3P6 is widely used in applications such as industrial control systems, automotive electronics, consumer electronics, and more.

STM8S003F3P6 Pinout

STM8S003F3 TSSOP20 pinout
STM8S003F3 TSSOP20 pinout

STM8S003F3P6 Features

Core processor

  • Harvard University 16MHz advanced STM8 core architecture
  • three-level pipeline extended instruction set


  • Program memory: 8 KB flash memory
  • RAM:1 Kbyte
  • Data memory: 128 bytes real data EEPROM;
  • endurance up to 100k write/erase cycles

Clock, reset and supply management

  • 2.95V to 5.5V operating voltage
  • Flexible clock control with 4 master clock sources
  • Clock security system with clock monitor
  • Power management

Interrupt management

  • Nested interrupt controller with 32 interrupts
  • Up to 27 external interrupts on 6 vectors


  • The advanced control timer boasts a 16-bit resolution, along with four CAPCOM channels, 3 complementary outputs, and flexible synchronization.
  • The 16-bit general purpose timer includes three CAPCOM channels (IC, OC, or PWM).
  • 8-bit basic timer with 8-bit prescaler
  • Automatic wake-up timer
  • Window and independent watchdog timer

Communication interface

  • UART with clock output for synchronous operation, smart card, IrDA, LIN master mode
  • SPI interface up to 8 Mbit/s
  • 12C up to 400 Kbit/s 2C interface

Analog-to-digital converter (ADC)

  • 10-bit ADC, ±1 LSB ADC, up to 5 multiplexed channels, scan mode and analog supervisor


  • Up to 28 1/0 on 32-pin package, including 21 high absorption outputs
  • Highly robust input/output design, not subject to current injection

Development support

  • Embedded SWIM tool for highly effective programming and non-intrusive debugging

STM8S003F3P6 Parameters

Program memory size8KB
Data bus width8 bits
ADC resolution10 bits
Maximum clock frequency16 MHz
Number of inputs/outputs16 inputs/outputs
Data RAM size1KB
Supply voltage - min2.95 volts
Supply voltage-max5.5V
Minimum operating temperature-40 degrees Celsius
Maximum operating temperature+85 degrees Celsius
Data RAM TypeMemory
Data ROM size128B
Interface Type12C, SPI, UART
Number of ADC channels5 channels
Number of timers/counters3 timers
Operating supply voltage2.95V to 5.5V
Processor familySTM8S
Program memory typeSTM8S Flash memory
Unit weight191 mg

Block Diagram

STM8S003F3P6 Block Diagram
STM8S003F3P6 Block Diagram

STM8S003F3P6 Schematic

STM8S003F3P6 Schematic Diagram
STM8S003F3P6 Schematic Diagram


The STM8S003F3P6 is recognized for its ability to safeguard the Flash program memory and data EEPROM against accidental memory overwrites caused by software malfunctions. And there are two levels of write protection.

In addition, this write protection can be removed by writing a large number of key sequences in the control registers in order to perform in-application programming (IAP), which allows the application to modify the contents of the main program memory and data EEPROM, or to reprogram the device option bytes. Its security and reliability is very high.

About Well Done

Well Done Technology was established in 2008, focus on PCB reverse engineering, PCB assembly, PCB design and manufacturing. Our technical team of more than 20 people includes senior engineers with rich experience.


Latest Case

Need Help?

Scroll to Top
welldone pcb manufacturer

Start to Achieve Your PCB Project