STM8L101x1 STM8L101x2 STM8L101x3 8-bit ultra-low power microcontroller with up to 8 Kbytes Flash, multifunction timers, comparators, USART, SPI, I2C Datasheet - production data Features Main microcontroller features Supply voltage range 1.65 V to 3.6 V UFQFPN32 5 x 5 mm Low power consumption (Halt: 0.3 A, UFQFPN28 LQFP32 4 x 4 mm 7x7 mm Active-halt: 0.8 A, Dynamic Run: 150 A/MHz) STM8 Core with up to 16 CISC MIPS throughput UFQFPN20 TSSOP20 3 x 3 mm 6.5 x 6.4 mm Temp. range: -40 to 85 C and 125 C Memories Peripherals Up to 8 Kbytes of Flash program including Two 16-bit general purpose timers (TIM2 up to 2 Kbytes of data EEPROM and TIM3) with up and down counter and 2 channels (used as IC, OC, PWM) Error correction code (ECC) One 8-bit timer (TIM4) with 7-bit prescaler Flexible write and read protection modes Infrared remote control (IR) In-application and in-circuit programming Independent watchdog Data EEPROM capability Auto-wakeup unit 1.5 Kbytes of static RAM Beeper timer with 1, 2 or 4 kHz frequencies Clock management SPI synchronous serial interface Internal 16 MHz RC with fast wakeup time Fast I2C Multimaster/slave 400 kHz (typ. 4 s) USART with fractional baud rate generator Internal low consumption 38 kHz RC driving both the IWDG and the AWU 2 comparators with 4 inputs each Reset and supply management Development support Ultra-low power POR/PDR Hardware single wire interface module (SWIM) for fast on-chip programming and Three low-power modes: Wait, Active-halt, non intrusive debugging Halt In-circuit emulation (ICE) Interrupt management 96-bit unique ID Nested interrupt controller with software priority control Table 1. Device summary Up to 29 external interrupt sources I/Os Reference Part numbers Up to 30 I/Os, all mappable on external STM8L101x1 STM8L101F1 interrupt vectors STM8L101x2 STM8L101F2, STM8L101G2 I/Os with programmable input pull-ups, high sink/source capability and one LED driver STM8L101F3, STM8L101G3, STM8L101x3 infrared output STM8L101K3 May 2017 DocID15275 Rev 16 1/88 This is information on a product in full production. www.st.comContents STM8L101x1 STM8L101x2 STM8L101x3 Contents 1 Introduction 8 2 Description . 9 3 Product overview 10 3.1 Central processing unit STM8 11 3.2 Development tools .11 3.3 Single wire data interface (SWIM) and debug module 11 3.4 Interrupt controller .11 3.5 Memory 12 3.6 Low power modes 12 3.7 Voltage regulators 12 3.8 Clock control . 12 3.9 Independent watchdog . 12 3.10 Auto-wakeup counter 13 3.11 General purpose and basic timers 13 3.12 Beeper . 13 3.13 Infrared (IR) interface 13 3.14 Comparators . 13 3.15 USART . 14 3.16 SPI 14 3.17 IC 14 4 Pin description 15 5 Memory and register map 23 6 Interrupt vector mapping 32 7 Option bytes 34 8 Unique ID . 36 2/88 DocID15275 Rev 16