STM8S003F3P6 Microcontroller Pinout, Features, Schematic

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

  • 16 MHz advanced STM8 core with Harvard architecture and a 3-stage pipeline
  • Extended instruction set

Memory

  • 8 Kbytes of Flash program memory
  • 1 Kbyte of RAM
  • 128 bytes of true data EEPROM, rated for up to 100,000 write/erase cycles

Clock, reset, and supply

  • 2.95 V to 5.5 V operating supply
  • Internal user-trimmable 16 MHz RC and internal low-power 128 kHz RC clock sources
  • Clock security system, watchdogs, brown-out reset, and low-power modes

Peripherals and development

  • 16-bit advanced-control and general-purpose timers, an 8-bit basic timer, and an auto-wakeup timer
  • UART, SPI up to 8 Mbit/s, and I²C up to 400 Kbit/s
  • 10-bit ADC with up to five multiplexed channels on STM8S003F3 devices
  • Single-wire interface module (SWIM) for programming and non-intrusive debugging

STM8S003F3P6 Parameters

AttributeValue
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
Data ROM TypeEEPROM
Interface TypeI2C, 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

Engineering checks for STM8S003F3P6 pinout, schematic, and programming

Before using an STM8S003F3P6 in a PCB, firmware, repair, or validation workflow, verify the exact TSSOP-20 pinout and the board-level requirements instead of relying only on family-level specifications.

Design and troubleshooting checklist

AreaWhat to checkWhy it matters
Minimum circuitProvide VDD, VSS, NRST, SWIM, local decoupling, and a stable supply close to the MCUPower integrity and reset wiring must be correct before firmware or peripheral debugging is meaningful
Pin multiplexingReserve ADC, timer, UART, I²C, SPI, and GPIO functions before assigning connector pinsThe TSSOP-20 package requires tradeoffs between programming access and application I/O
Factory flashingExpose SWIM, NRST, ground, and power test pads with clear polarity marksProduction boards need repeatable programming and recovery after assembly

Official ST references:

Conclusion

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.

Share to:

Scroll to Top

Instant Quote