AN3193 Application Note
AN3193 Application Note
Application note
STM32L1xx
ultralow power features overview
Introduction
The STM32L1xx product line belongs to the STMicroelectronics ultralow power
EnergyLiteTM platform and complements the 8-bit STM8Lxx family with 32-bit highperformance CortexTM-M3 based microcontrollers offering an extended memory and bigger
packages.
Both microcontroller families are based on the ST's proprietary 130 nm ultralow leakage
process and have many analog and digital peripherals in common, which eases the
transition from one architecture to the other and offers users the opportunity to capitalize on
the knowledge acquired on one platform.
This application note describes the key low power features of the STM32L1xx family and
explains their benefits for applications where energy consumption is a major concern.
Important note: This document is not intended to replace STM32L1xx datasheets. All values
given in this document are for guidance only. Please refer to the related datasheet to get
guaranteed values and up-to-date characterization data.
September 2013
DocID17369 Rev 2
1/13
www.st.com
Contents
AN3193
Contents
1
Energy-efficient processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2/13
DocID17369 Rev 2
AN3193
DocID17369 Rev 2
3/13
13
Energy-efficient processing
AN3193
Energy-efficient processing
The STM32L1 is built around the Cortex-M3, an industry standard 32-bit core, which has
been designed, among other criteria, for low power applications. The Cortex-M3 offers a
class-leading performance and code density. Although performance is not naturally linked
with low current consumption, it is a key benefit for most of the low power applications which
have to wake up periodically to execute software tasks. In this case, the Cortex-M3 spends
less time in Run mode due to its processing performance, thus maximizing the time in deep
sleep mode. If we consider only the processing consumption, expressed in mA/DMIPS
(DMIPS standing for Dhrystone MIPS measured using the public benchmark Rev 2.0), the
performance of the Cortex M3 is significantly better than that of the other architectures, in
particular 16-bit microcontrollers.
The performance in DMIPS/MHz being given by the core and its memory interface, the
processing consumption in mA/DMIPS can be maximized using voltage scaling. This
method, also called undervolting, consists of adapting dynamically the supply voltage of the
internal logic with the operating frequency. The STM32L1xx offers three dynamically
selectable voltage ranges, as summarized in the following figure, from 1.8 V (range 1) down
to 1.2 V (range 3), which offers a gain of more than 25% in terms of consumption.
4/13
DocID17369 Rev 2
AN3193
Energy-efficient processing
Figure 1. STM32L1xx performance versus VDD and VCORE range
MH z
240 A / MHz
32
32 MHz
195 A / MHz
16
1WS
16MHz
16 MHz
F CPU > 8 MHz
1WS
178 A / MHz
4MHz
2 MHz
V CORE
1.2V
VD D
8 MHz
1WS
0 WS
0 WS
0 WS
1.5V
1.65V - 3.6V
1.8 V
2V - 3.6V
Range 1
Range 2
Range 3
ai178201
DocID17369 Rev 2
5/13
13
AN3193
Consumption
CPU
Flash
/ EEPROM
RAM
DMA &
Periph.
Clock
LCD RTC
82 A / MHz (Range 2)
No
ON
ON
Active
Any
Available
Yes
ON or OFF
ON
Active
MSI
Available
No
OFF
ON
Active
MSI
Available
No
OFF
ON
Frozen
LSE,
LSI
Available
No
OFF
ON
Frozen
LSE,
LSI
OFF OFF
OFF
OFF
OFF
OFF
LSE,
LSI
OFF
OFF
OFF
OFF
OFF
LSE,
LSI
OFF OFF
65 A/MHz (Range 3)
Low power
run
Low power
sleep
10.4 A
(Flash OFF, 32 kHz)
5.1 A
(periph. OFF)
6.1 A
(1 timer ON)
Stop
with RTC
1.3 A (1.8 V)
Stop
500 nA
Standby
with RTC
1.3 A (3 V)
1 A (1.8 V)
Standby
270 nA
1.6 A (3 V)
ON
Two new modes have been implemented on the STM32L1xx in addition to the STM32F
modes: the Low power run and Low power sleep modes. They offer Run and Sleep mode
functionality for applications with extremely low current consumption where some
peripherals cannot be switched off (for instance communication peripherals or timers), or
where the CPU is processing continuously at low speed to minimize current variations.
Several functional blocks can be used to reach a very low current:
The voltage regulator is in low power (LP) mode to reduce its quiescent current
Non-volatile memory can be switched off, processing being done on the 16-Kbyte RAM
The master clock source comes from the MSI internal RC oscillator, which can be
reduced down to 1.5 A.
The maximum current that the regulator can deliver in LP mode only limits the operating
frequency and the number of peripherals that can be activated.
6/13
DocID17369 Rev 2
AN3193
The glass LCD is one of the most common displays in low power applications, because
of its inherently low current consumption, low price and customization easiness. The
STM32L1xx includes a versatile LCD controller, which can drive displays with up to 8
common lines and 40 segments, with the capability of selecting individually the I/O
ports assigned to the LCD for an optimal use of the chip alternate functions. It also
controls an optional internal step-up converter to maintain the LCD contrast on a wide
range of VDD values with consumptions as low as 5 A (LCD consumption not
included).
DocID17369 Rev 2
7/13
13
AN3193
The HSE clock (4-24 MHz high speed external clock), typically used to feed the PLL
and to generate a CPU clock frequency of up to 32 MHz and a 48-MHz frequency for
the USB controller.
The LSE (typically 32.768 kHz low speed external clock) usually used to provide a low
power clock source to the real time clock but which can also be used as LCD clock.
The LSI clock (37 kHz low speed internal clock) is a low accuracy ultralow power
source that can feed the real time clock (with a limited accuracy), the LCD controller
and the independent watchdog.
The HSI clock (16 MHz high speed internal clock) is a high speed voltagecompensated oscillator.
The MSI clock (64 kHz to 4 MHz multi speed internal clock) is a medium accuracy
oscillator with adjustable frequency and low current consumption. It is designed to
operate with a current proportional to the frequency, so as to minimize the internal
oscillator consumption overhead for the low CPU frequencies. The following table
summarizes the characteristics and uses of the various oscillators.
Table 2. STM32L1xx clock source characteristics (preliminary data(1))
Clock
Consumption
User
trimming
trimmable
Frequency
Master clock
(+ RTC & LCD)
1-24 MHz
0.5 to 0.7 mA
Crystal dependent,
down to tens of ppm
LSE
32.768 kHz
(typical)
0.45 A (1.8 V)
0.6 A (3 V)
Crystal dependent,
down to a few ppm
HSI
Master clock
16 MHz
100 A
1% typical(2)
Yes(2)
Yes
MSI
Master clock
64 kHz
128 kHz
256 kHz
512 kHz
1.02 MHz
2.1 MHz
4.1 MHz
0.6 A
0.9 A
1.4 A
2.2 A
4 A
7 A
12 A
0.5% typical
Yes
Yes
LSI
38 kHz
0.4 A (3 V)
-30% to +50%(3)
No
source
HSE
Accuracy
Factory
Use
(typical)
Not applicable
1. Based on preliminary characterization or design simulations. See product datasheet for detailed electrical characteristics
2. On the Value Line family (STM32L100xx devices) the HSI oscillator is not trimmed, therefore please refer to device
datasheet for the correct accuracy.
3. -10% to +4% drift after initial measurement
8/13
DocID17369 Rev 2
AN3193
DocID17369 Rev 2
9/13
13
AN3193
10/13
DocID17369 Rev 2
AN3193
Conclusion
Conclusion
The main features of the STM32L1xx devices are presented in this application note. They
show the benefits offered by this microcontroller family to reduce the MCU's current
consumption in embedded systems.
The STM32L1 family extends the ST's EnergyLiteTM platform for applications requiring
additional memory sizes and bigger packages. It complements the STM32 portfolio keeping
compatibility with other STM32 devices.
With its Cortex-M3 core and its energy-efficient architecture system, this microcontroller
family supports low power modes without compromizing the processing performance.
Its rich set of peripherals can cover a wide range of applications, while numerous low power
modes give a full flexibility to adjust on-the-fly the consumption to any task.
This results in an extended operating lifetime for today's and tomorrow's always greener
applications.
DocID17369 Rev 2
11/13
13
Revision history
AN3193
Revision history
Table 3. Document revision history
12/13
Date
Revision
Changes
16-Apr-2010
Initial release.
20-Sep-2013
DocID17369 Rev 2
AN3193
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (ST) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to STs terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN STS TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE
SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B)
AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS
OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT
PURCHASERS SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS
EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY
DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE
DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
DocID17369 Rev 2
13/13
13