This is information on a product in full production.
July 2018 DS7204 Rev 11 1/123
STM8L151C2/K2/G2/F2
STM8L151C3/K3/G3/F3
8-bit ultra-low-power MCU, up to 8 KB Flash, up to 256 bytes data
EEPROM, RTC, timers, USART, I2C, SPI, ADC, comparators
Datasheet - production data
Features
• Operating conditions
– Operating power supply: 1.65 to 3.6 V
(without BOR), 1.8 to 3.6 V (with BOR)
– Te mperature range: -40 to 85 or 125 °C
• Low power features
– 5 low-power modes: Wait, Low power run,
Low-power wait, Active-halt with RTC, Halt
– Ultra-low leakage per I/0: 50 nA
– Fast wakeup from Halt: 5 µs
• Advanced STM8 core
– Harvard archite ctu r e an d 3- sta g e pipelin e
– Max freq: 16 MHz, 16 CISC MIPS peak
– Up to 40 external interrupt sources
• Reset and supply management
– Low-power, ultra safe BOR reset with 5
selectable thresholds
– Ultra-low po wer POR/PDR
– Programmable voltage detector (PVD)
• Clock management
– 32 kHz and 1-16 MHz crystal oscillators
– Internal 16 MHz factory-trimmed RC
– Internal 38 kHz low consumption RC
– Clock security system
• Low power RTC
– BCD calendar with alarm interrupt
– Digital calibration with +/- 0.5 ppm accuracy
– LSE security system
– Auto-wakeup from Halt w/ periodic interrupt
• Memories
– Up to 8 Kbyte of Fla sh program memo ry
plus 256 byte of data EEPROM with ECC
– Flexible write/read protection modes
– 1 Kbyte of RAM
• DMA
– 4 channels supporting ADC, SPI, I
2
C,
USART, timers
– 1 channel for memory-to-memory
• 12-bit ADC up to 1 Msps/28 channels
– Temp. sensor and internal ref. voltage
• 2 ultra-low-power comparators
– 1 with fixed thresh ol d and 1 rail to rail
– Wakeup capability
• Timers
– Two 16-bit timers with 2 channels (IC, OC,
PWM), quadrature encoder (TIM2, TIM3)
– One 8-bit timer with 7-bit prescaler (TIM4)
– 1 Window and 1 independent watchdog
– Beeper timer with 1, 2 or 4 kHz frequencies
• Communication interfaces
– One synchronous serial interface (SPI)
–Fast I
2
C 400 kHz
– One USART
• Up to 41 I/Os, all mappable on interrupt vectors
• Up to 20 capacitive sensing channels
supporting touchkey, proximity touch, linear
touch, and rotary touch sensors
• Development su pp or t
– Fast on-chip programming and non-
intrusive debugging with SWIM
– Bootloader using USART
• 96-bit unique ID
LQFP48 (7x7 mm)
UFQFPN32 (5x5 mm)
UFQFPN28 (4x4 mm)
UFQFPN20 (3x3 mm)
TSSOP20 (6.4x4.4 mm)
www.st.com