Features
Core
-
16 MHz advanced STM8 core with Harvard architecture and 3-stage instruction pipeline
-
Extended instruction set for enhanced performance
Memories
-
Program memory: 8 Kbytes Flash; data retention of 20 years at 55 °C after 10k write/erase cycles
-
Data memory: 640 bytes true EEPROM; endurance of 300k write cycles
-
RAM: 1 Kbyte
Clock, Reset and Power Management
-
Operating voltage range: 2.95 V to 5.5 V
-
Flexible clock control with 4 master sources:
-
Low-power crystal oscillator
-
External clock input
-
Internal user-trimmable 16 MHz RC oscillator
-
Internal low-power 128 kHz RC oscillator
-
-
Clock security system with monitor
-
Power management features:
-
Low power modes: wait, active-halt, halt
-
Selective peripheral clock disabling
-
-
Always-on, low-power power-on and brown-out reset circuits
Interrupt Management
-
Nested interrupt controller supporting up to 32 interrupts
-
Up to 27 external interrupts on 6 vectors
Timers
-
Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion, flexible sync
-
16-bit general-purpose timer with 3 CAPCOM channels (input capture, output compare or PWM)
-
8-bit basic timer with prescaler
-
Auto wake-up timer
-
Window watchdog and independent watchdog timers
Communication Interfaces
-
UART with clock output for synchronous mode; supports Smartcard, IrDA, LIN master
-
SPI interface up to 8 Mbit/s
-
I2C interface up to 400 Kbit/s
Analog to Digital Converter (ADC)
-
10-bit ADC with ±1 LSB accuracy, up to 5 multiplexed channels, scan mode and analog watchdog
I/O
-
Up to 28 I/O lines in 32-pin package, including 21 high-sink outputs
-
Robust I/O design with protection against current injection
Development Support
-
Embedded SWIM (Single Wire Interface Module) for fast in-system programming and non-intrusive debugging
Tags: STM8S103F3P6, STM8, 8-bit microcontroller, low-cost MCU, UART, SPI, I2C, SOIC-20