STM32L4 System operating modes

Similar documents
Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

STM8L and STM32 L1 series. Ultra-low-power platform

STM32L4+ MCU series Excellence in ultra-low-power with more performance

AN4809 Application note

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller.

Universität Dortmund. MCUs Low-Power Features

AN4809 Application note

STM32G0 MCU Series Efficiency at its Best

Reset and clock control (RCC)

STM32L4 Architecture

Ultra-low-power ARM Cortex -M4 32-bit MCU+FPU, 100DMIPS, up to 1MB Flash, 128 KB SRAM, USB OTG FS, LCD, analog, audio. STM32L476xx

The course provides all necessary theoretical and practical know-how for start developing platforms based on STM32L4 family.

Ultra-low-power ARM Cortex -M4 32-bit MCU+FPU, 100DMIPS, up to 1MB Flash, 128KB SRAM, USB OTG FS, LCD, analog, audio, AES.

Introducing STM32 L0x Series. April

AN4749 Application note

Microcontrollers: Lecture 2 Low power Modes, Buses, Memory, GPIOs. Michele Magno

New STM32WB Series MCU with Built-in BLE 5 and IEEE


Ultra-low-power ARM Cortex -M4 32-bit MCU+FPU, 100DMIPS, 1MB Flash, 320KB SRAM, USB OTG FS, audio, AES+HASH, ext. SMPS

STM32 Cortex-M3 STM32F STM32L STM32W

STM32F4 Labs. T.O.M.A.S Technically Oriented Microcontroller Application Services V1.07

STM bit ARM Cortex MCUs STM32F030 Series

New STM32WB Series MCU with built-in Bluetooth 5 and IEEE

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

STM32L052x6 STM32L052x8

AN4311 Application note

Ultra Low Power Microcontroller - Design Criteria - June 2017

STM32L4A6xG. Ultra-low-power Arm Cortex -M4 32-bit MCU+FPU, 100DMIPS, 1MB Flash, 320KB SRAM, USB OTG FS, audio, AES+HASH, ext. SMPS.

STM32F4 Introduction F1/F2/F4 Comparison Features Highlight

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

STM32 F-2 series High-performance Cortex-M3 MCUs

AN2585 Application note

STM32 F2 series High performance Cortex M3 MCUs

Interconnects, Memory, GPIO

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

New STM32 F7 Series. World s 1 st to market, ARM Cortex -M7 based 32-bit MCU

STM8 platform 8-bit microcontrollers

Hello, and welcome to this presentation of the STM32 Real- Time Clock. It covers the main features of this peripheral, which is used to provide a

Hello, and welcome to this presentation of the STM32L4 System Configuration Controller.

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

EFM32....the world s most energy friendly microcontrollers

Embedded Programming with ARM Cortex-M3 Basic Experiments 1

AT-501 Cortex-A5 System On Module Product Brief

STM8L151x6/8 STM8L152x6/8

Webinar Dec Less power consumption and unbeatable UI performance on TouchGFX & STM32L4+ solution

8. Power Management and Sleep Modes

STM32L051x6 STM32L051x8

2-Oct-13. the world s most energy friendly microcontrollers and radios

STM32L496xx. Ultra-low-power ARM Cortex -M4 32-bit MCU+FPU, 100DMIPS, up to 1MB Flash, 320KB SRAM, USB OTG FS, audio, ext. SMPS.

AN4649 Application note

Designing with STM32F2x & STM32F4

STM32G070CB/KB/RB. Arm Cortex -M0+ 32-bit MCU, 128 KB Flash, 36 KB RAM, 4x USART, timers, ADC, comm. I/Fs, V. Features

AN4515 Application note

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015

Engineer-to-Engineer Note

Xynergy It really makes the difference!

STM8L151x4, STM8L151x6, STM8L152x4, STM8L152x6

AN3147 Application note

ARM Cortex core microcontrollers 12 th Energy efficient operation

Hello, and welcome to this presentation of the STM32F7 System Configuration Controller.

AN4831 Application note

STM32SnippetsL0. STM32L0xx Snippets firmware package. Features. Description

STM32CubeL4 demonstration firmware for 32L476GDISCOVERY discovery kit

Arm -Cortex -M4 32b MCU+FPU, 125 DMIPS, 1.5MB Flash, 320KB RAM, USB OTG FS, 1 ADC, 2 DACs, 2 DFSDMs, AES. STM32F423xH

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

AN4936 Application note

STM32 F0 Value Line. Entry-level MCUs

Atmel SAM L21 picopower Cortex-M0+ Microcontrollers

Wearable is so HOT! Intelligence. Value-added service STM32

AK-STM32-ETH Development Board

Introducing Giant Gecko Series 1 (GG11)

AN4616 Application note

ARDUINO MEGA INTRODUCTION

Creating Energy Efficient Computers Marius Grannæs

AN3147 Application note

Hello, and welcome to this presentation of the STM32 general-purpose IO interface. It covers the general-purpose input and output interface and how

Introduction to ARM LPC2148 Microcontroller

STM32L and STM8L MCU families

T he key to building a presence in a new market

STM8AL31E8x STM8AL3LE8x

STM32 Journal. In this Issue:

STM8 8 bit MCU family Jump to new record heights! Simply Smarter

[MG2420] MCU Module Datasheet. (No. ADS0705) V1.0

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia (

STM8AL313x/4x/6x STM8AL3L4x/6x

ARM Cortex-M4 32b MCU+FPU, 225DMIPS, up to 2MB Flash/256+4KB RAM, USB OTG HS/FS, Ethernet, 17 TIMs, 3 ADCs, 20 comm. interfaces, camera & LCD-TFT

STM32L151xx STM32L152xx

Low Power Design. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

BLE MODULE SPECIFICATIONS

STM32x. tec.pres. STM32 ARM CortexTM-M3 Based Product Introduction

MCU Solutions for IoT A U G U S T

RL78 Ultra Low Power MCU Lab

STM32F412xE STM32F412xG

Product specification

Embedded Systems Architecture

Typical Applications: GHz Bluetooth low energy systems - Proprietary 2.4 GHz systems - Sports and leisure equipment - Mobile phone accessories,

Embedded System Architecture

STM8L151x8 STM8L152x8 STM8L151R6 STM8L152R6

Transcription:

STM32L4 System operating modes

Typical application profile 2 Tperiod Tperiod I DD Process IRQ ACTIVE IRQ ACTIVE OFF STARTUP INITIALIZATION TASKS Tasks TASKS INACTIVE INACTIVE INACTIVE Application phases: OFF power is not applied to MCU STARTUP INITIALIZATION MCU performs configuration (peripherals, clocks, ) Tperiod INACTIVE MCU is in low power mode to reduce power consumption ACTIVE MCU is in normal mode and performs tasks Time

RUN (Range1) at 80 MHz 120 µa / MHz** Overview 3 RUN (Range2) at 26 MHz 100 µa / MHz** Wake-up time LPRUN at 2 MHz 112 µa / MHz** 6 cycles SLEEP at 26 MHz 35 µa / MHz 6 cycles 4 µs 5 µs 14 µs LPSLEEP at 2 MHz 48 µa / MHz STOP 1 (full retention) 6.6 µa / 6.9 µa* STOP 2 (full retention) 1.1 µa / 1.4 µa* STANDBY + 32 KB RAM 350 na / 650 na* Application benefits High performance CoreMark score = 273 Outstanding power efficiency ULPBbench score = 187.7 14 µs STANDBY 115 na / 415 na* 256 µs SHUTDOWN VBAT 30 na / 330 na* 4 na / 300 na* Typ @ VDD =1.8 V @ 25 C * : with RTC ** : from SRAM1

Key features 4 Down to 100 µa/mhz in Run mode with code execution from FLASH (RUN) Down to 350 na with 32 kb RAM retained (Standby) Down to 30 na with I/O wake-up (Shutdown) Wake-up from high number of peripherals (RTC in each mode)

Voltage regulators Two Voltage Regulators The Main Regulator with two voltage ranges for Dynamic Voltage Scaling; used in Run and Sleep modes The Low-power Regulator for Lowpower run, Low-power sleep, Stop 1, and Stop 2 modes In Standby and Shutdown mode both regulators are off. V DD V BAT Range1/2 Main Regulator Low-Power Regulator V DD monitoring Run/Sleep LPRun/LPSleep/Stop Core Logic SRAM2 Retention RTC Backup Domain 5

peripherals GPIO DMA FSMC QUADSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC clocks HSI HSE LSI LSE MSI All MCU s resources are ON FLASH memory (1 MB) Cortex M4 Active cell SRAM 1 (96 kb) SRAM 2 (32 kb) Run mode: Range 1 System frequency up to the maximum value Clocked-off cell Main Regulator (MR) Range 1 (up to 80 MHz) Range 2 (up to 26 MHz) Low-power Regulator (LPR) up to 2 MHz Cell in powerdown Range 1 from FLASH 131 µa/mhz at 80 MHz (10.5 ma) Periph and clock 6

peripherals GPIO DMA FSMC QUADSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC clocks HSI HSE LSI LSE MSI FLASH memory (1 Mbyte) Cortex M4 Active cell SRAM 1 (96 kb) SRAM 2 (32 kb) Run mode: Range 2 Most of MCU s resources are ON System frequency is limited Clocked-off cell Main Regulator (MR) Range 1 (up to 80 MHz) Range 2 (up to 26 MHz) Low-power Regulator (LPR) up to 2 MHz Cell in powerdown Range 2 from SRAM1 100 µa/mhz at 26 MHz (2,6 ma) Periph and clock 7

peripherals GPIO DMA FSMC DMA QUADSPI FSMC QUADSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC clocks HSI HSE LSI LSE MSI Main regulator is OFF System frequency is limited FLASH memory (1 MB) Cortex M4 Active cell SRAM 1 (96 kb) SRAM 2 (32 kb) Low-power run mode Clocked-off cell Main Regulator (MR) Range 1 (up to 80 MHz) Range 2 (up to 26 MHz) Low-power Regulator (LPR) up to 2 MHz Cell in powerdown from FLASH 135 µa/mhz at 2 MHz (269 µa) From SRAM1 112 µa/mhz at 2 MHz (225 µa) Periph and clock 8

Current Effitiency (µa/mhz) Power optimization versus frequency 9 Flexibility between required performance and consumption 500 450 400 350 LPRun Run Range 2 Run Range 1 300 250 200 FLASH ART Off FLASH ART On SRAM1 SRAM2 150 100 50 2MHz 26MHz 80MHz 0 0.1 1 10 100 Frequency (MHz)

peripherals GPIO DMA FSMC DMA QUADSPI FSMC QUADSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC Zzz clocks HSI HSE LSI LSE MSI Core is stopped All peripherals and clocks are available Fastest wakeup time FLASH memory (1 MB) Cortex M4 Active cell SRAM 1 (96 kb) SRAM 2 (32 kb) Clocked-off cell Main Regulator (MR) Range 1 (up to 80 MHz) Range 2 (up to 26 MHz) Low Power Regulator (LPR) up to 2 MHz Sleep mode Cell in powerdown Wakeup time: 6 cycles Range 1 37 µa/mhz at 80 MHz (2.96 ma) Range 2 35 µa/mhz at 26 MHz (0.92 ma) Periph and clock 10

peripherals GPIO DMA FSMC DMA QUADSPI FSMC QUADSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC Zzz clocks HSI HSE LSI LSE MSI Core is stopped Cortex M4 Active cell Low-power sleep mode Main regulator is OFF Fastest wakeup time FLASH memory (1 MB) SRAM 1 (96 kb) SRAM 2 (32 kb) Clocked-off cell Main Regulator (MR) Range 1 (up to 80 MHZ) Range 2 (up to 26 MHZ) Low Power Regulator (LPR) up to 2 MHz Cell in powerdown Wakeup time: 6 cycles FLASH ON, SRAMs OFF 48 µa/mhz at 2 MHz (96 µa) Periph and clock 11

Stop modes 12 Lowest power modes with full retention SRAM1, SRAM2 and all peripheral registers retention All high-speed clocks are stopped LSE (32.768 khz external oscillator) and LSI (32 khz internal oscillator) can be enabled Several peripherals can stay active to wake device up from Stop mode System Clock at wakeup can be HIS or MSI up to 48MHz In Stop 2 current consumption is lower; in Stop 1 more active peripherals are supported and wake up time is shorter

peripherals GPIO DMA FSMC QSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC I/Os kept, and configurable Zzz clocks HSI HSE LSI LSE MSI w/o RTC: 6.6 µa @ 3.0 V w/ RTC: 7.1 µa @ 3.0 V FLASH memory (1 MB) Cortex M4 SRAM 1 (96 kb) SRAM 2 (32 kb) Stop 1 mode Wakeup time @ 48 MHz: In SRAM: 4 µs In FLASH memory: 6 µs Main Regulator (MR) Low Power Regulator (LPR) Backup domain Backup Register (32x32-bits) RTC Wake-up event NRST BOR PVD PVM RTC + Tamper USB OTG USART I2C 1 / I2C 2 SWPMI LPTIM 2 GPIOs Active cell Clocked-off cell cell Cell in power-down 13

peripherals GPIO DMA FSMC QSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC I/Os kept, and configurable Zzz clocks HSI HSE LSI LSE MSI w/o RTC: 1.2 µa @ 3.0 V w/ RTC: 1.7 µa @ 3.0 V FLASH memory (1 MB) Cortex M4 SRAM 1 (96 kb) SRAM 2 (32 kb) Stop 2 mode 14 Wakeup time @ 48 MHz: In SRAM: 5 µs In FLASH memory: 8 µs Main Regulator (MR) Low Power Regulator (LPR) Backup domain Backup Register (32x32-bits) RTC Wake-up event NRST BOR PVD PVM RTC + Tamper GPIOs Active cell Clocked-off cell cell Cell in power-down

Stop 1 & Stop 2 comparison 15 Voltage range Stop 1 mode Stop 2 mode Consumption 25 C, 3 V 25 C, 3 V 6.6 µa w/o RTC 1.2 µa w/o RTC Wakeup time to 48 MHz Wakeup clock 6 µs in FLASH memory 4 µs in RAM MSI (configurable up to 48 MHz) or HSI (at 16 MHz), RTC, I/Os, BOR, PVD, PVM, s, 8 µs in FLASH memory 5 µs in RAM Peripherals USB (suspend, ADP) 2 LP TIMERs 1 (Start, address match or byte reception) 5 UARTs (Start, address match or byte reception) 3 I2C (address match) SWPMI (resume from suspend) 1 LP TIMER (LPTIM1) 1 (Start, address match or byte reception) 1 I2C (I2C3) (address match)

Standby mode 16 Lowest power mode with SRAM2 retention Ultra low power consumption, down to 115 na without SRAM retention Possibility to retain 32 kb of SRAM2 5 wakeup pins: the polarity of each of the 5 wakeup pins is configurable Wakeup clock is MSI configurable from 1 to 8 MHz

peripherals GPIO DMA FSMC QSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC Standby mode with or without SRAM2 17 w/ SRAM w/o SRAM Zzz clocks HSI HSE LSI LSE MSI w/o RTC: 390 na @ 3.0 V w/ RTC: 890 na @ 3.0 V w/o RTC: 150 na @ 3.0 V w/ RTC: 650 na @ 3.0 V FLASH memory (1 MB) Cortex M4 SRAM 1 (96 kb) SRAM 2 (32 kb) Wakeup time @ 8 MHz: In FLASH memory: 14 µs Main Regulator (MR) Low Power Regulator (LPR) Backup domain Backup Register (32x32-bits) RTC Wake-up event NRST BOR RTC + Tamper 5 WKUP pins Active cell Clocked-off cell cell Cell in power-down

Shutdown mode 18 Similar to Standby but Lowest power mode NO power monitoring: no BOR, no switch to VBAT NO LSI, no 128-byte backup registers Wakeup sources: 5 wakeup pins, RTC Wakeup clock is MSI 4 MHz

peripherals GPIO DMA FSMC QSPI BOR PVD, PVM USB OTG USART I2C 1 / I2C 2 SPI CAN SDMMC SWPMI SAI DFSDM ADC DAC OPAMP Temp Sensor Timers LPTIM 2 WWDG Systick Timer Touch Sens RNG AES CRC I/Os can be configured w/ or w/o pull-up w/ or w/o pull-down But floating when exit from Shutdown Zzz clocks HSI HSE LSI LSE MSI w/o RTC: 60 na @ 3.0 V w/ RTC: 550 na @ 3.0 V FLASH memory (1 Mbyte) Cortex M4 SRAM 1 (96 kb) SRAM 2 (32 kb) Shutdown mode 19 Wakeup time @ 4 MHz: In FLASH memory: 250 µs Main Regulator (MR) Low Power Regulator (LPR) Backup domain Backup Register (32x32-bits) RTC Wake-up event NRST RTC + Tamper 5 WKUP pins Active cell Clocked-off cell cell Cell in power-down

How to associate LP modes 20 RUN: do you need high computation power, but would like to be green? LOW POWER RUN: do you have weak power source, but supercapacitors are too costly? SLEEP/LPSLEEP: do you need peripherals running all the time, but power budget is limited? STOP: do you need balance between wake up time and low power consumption? STANDBY: do you need to consume very little power, but still SRAM needs to be retained? SHUTDOWN: is a low power consumption a top priority in your design?

The End /STM32 @ST_World st.com/e2e www.st.com/stm32l4