This is information on a product in full production.
July 2018 DS12153 Rev 3 1/59
STM8L001J3
8-bit ultra-low-power microcontroller with up to 8-Kbyte
Flash memory, multifunction timers, comparators, UART, SPI, I2C
Datasheet - production data
Features
Main microcontroller features
Supply voltage range 1.8 V to 3.6 V
Low power consumption (Halt: 0.3 µA,
Active-halt: 0.8 µA, Dynamic Run:
150 µA/MHz)
STM8 Core with up to 16 CISC MIPS
throughput
Temp. range: -40 to 125 °C
Memories
8 Kbytes of Flash program including up to
2 Kbytes of data EEPROM
Error correction code (ECC)
Flexible write and read protection modes
In-application and in-circuit programming
Data EEPROM capability
1.5 Kbytes of static RAM
Clock management
Internal 16 MHz RC with fast wakeup time
(typ. 4 µs)
Internal low consumption 38 kHz RC
driving both the IWDG and the AWU
Reset and supply management
Ultra-low power POR/PDR
Three low-power modes: Wait, Active-halt,
Halt
Interrupt management
Nested interrupt controller with software
priority control
Up to 6 external interrupt sources
I/Os
Up to 6 I/Os, all mappable on external
interrupt vectors
I/Os with programmable input pull-ups, high
sink/source capability and one LED driver
infrared output
Peripherals
Two 16-bit general purpose timers (TIM2
and TIM3) with up and down counter and 1
channel (used as IC, OC, PWM)
One 8-bit timer (TIM4) with 7-bit prescaler
Infrared remote control (IR)
Independent watchdog
Auto-wakeup unit
Beeper timer with 1, 2 or 4 kHz frequencies
SPI synchronous serial interface
Fast I2C Multimaster/slave 400 kHz
UART with fractional baud rate generator
2 comparators with 1 input each
Development support
Hardware single wire interface module
(SWIM) for fast on-chip programming and
non intrusive debugging
SO8N
4.9x6 mm or 150 mils body width
www.st.com
STM8L001J3
2/59 DS12153 Rev 3
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.1 Central processing unit STM8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Development tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.3 Single wire data interface (SWIM) and debug module . . . . . . . . . . . . . . . . 9
3.4 Interrupt controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.5 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.6 Low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.7 Voltage regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.8 Clock control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.9 Independent watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.10 Auto-wakeup counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.11 General purpose and basic timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.12 Beeper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.13 Infrared (IR) interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.14 Comparators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.15 USART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.16 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.17 I2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5 Memory and register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6 Interrupt vector mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7 Option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8 Electrical parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30