STM32L4 Architecture

Similar documents
STM32L4 System operating modes

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

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

STM bit ARM Cortex MCUs STM32F030 Series

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

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

Introducing STM32 L0x Series. April

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

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

Interconnects, Memory, GPIO

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

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

STM32G0 MCU Series Efficiency at its Best

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

Designing with STM32F2x & STM32F4

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

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

STM32F4 Introduction F1/F2/F4 Comparison Features Highlight

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

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

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

LPC4370FET256. Features and benefits

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

STM32 Cortex-M3 STM32F STM32L STM32W

Universität Dortmund. MCUs Low-Power Features

Advanced Microcontrollers Grzegorz Budzyń Extras: STM32F4Discovery

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

STM32 F0 Value Line. Entry-level MCUs

AT-501 Cortex-A5 System On Module Product Brief

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

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

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003

Universität Dortmund. IO and Peripheral Interfaces

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

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

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

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

AN4809 Application note

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

Product Technical Brief S3C2416 May 2008

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

STM32F3. Cuauhtémoc Carbajal ITESM CEM 12/08/2013


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

STM32 F2 series High performance Cortex M3 MCUs

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

Reset and clock control (RCC)

Cypress PSoC 6 Microcontrollers

Military Grade SmartFusion Customizable System-on-Chip (csoc)

AK-STM32-ETH Development Board

STM8L151x6/8 STM8L152x6/8

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

Xynergy It really makes the difference!

Copyright 2016 Xilinx

Ultra Low Power Microcontroller - Design Criteria - June 2017

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

STM32 Journal. In this Issue:

Introducing Giant Gecko Series 1 (GG11)

Zynq-7000 All Programmable SoC Product Overview

University Program Advance Material

AN Migrating to the LPC1700 series

STM32L052x6 STM32L052x8

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

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Introduction to ARM LPC2148 Microcontroller

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

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

STM8L151x4, STM8L151x6, STM8L152x4, STM8L152x6

Cannon Mountain Dr Longmont, CO LS6410 Hardware Design Perspective

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

AN4749 Application note

NuMicro Family M2351 Series Product Brief

STM8 platform 8-bit microcontrollers

SAM A5 ARM Cortex - A5 MPUs

BLE MODULE SPECIFICATIONS

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

NXP Microcontrollers Selection Guide

BATSEL KEY3 KEY2 HOSCO GPIO0 DCDIS HOSCI KEY0 D4 KEY1 D3. Reset Default. 2 D7 BI / L Bit7 of ext. memory data bus

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

Product overview. Technology in Quality. ColdFire Module ARM Moduls System Integration Kit s Complete Systems

T he key to building a presence in a new market

AN4809 Application note

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

STM32 Ecosystem workshop. T.O.M.A.S Team

Arduino Uno R3 INTRODUCTION

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

STM32SnippetsL0. STM32L0xx Snippets firmware package. Features. Description

cxt200 1 Datasheet, Revision 1.0

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

Intelop. *As new IP blocks become available, please contact the factory for the latest updated info.

Freedom FRDM-KV31F Development Platform User s Guide

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet

ILI2511. ILI2511 Single Chip Capacitive Touch Sensor Controller. Specification ILI TECHNOLOGY CORP. Version: V1.4. Date: 2018/7/5

AN2585 Application note

STM8L151x8 STM8L152x8 STM8L151R6 STM8L152R6

Serial Communication. Simplex Half-Duplex Duplex

WHICH MICRO? What does MCU needs to do in my system? What are the tasks? Dr. Adriana Becker-Gomez

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

Key Features. General Description. Basic System. ARM926-EJ RISC Controller. Memory. AMBA Bus

Transcription:

STM32L4 Architecture

1 High-performance STM32L4 series 3

I-bus D-bus S-bus FPU coprocessor Core 3 ARM Cortex -M4F float var = 0.0f; instructions data IRQ1 PUSH ISR1 results SIMD instructions 12 cycles Known IRQ latency BUS MATRIX

ART I-bus D-bus S-bus ARM Cortex -M4F ~0WS whatever CPU frequency is Dual-Bank (RWW) Memory 4 1kB OTP memory FLASH (1MB) OTP System Memory 64+8bit (ECC) SRAM1 (96kB) SRAM2 (32kB) 32+4bit(parity) Readout protection Write protection Bootloaders BUS MATRIX FMC QUADSPI NOR FLASH NAND FLASH PSRAM SRAM

16B FIFO QUADSPI Registers / Control Quad SPI Interface 5 The Quad-SPI memory interface provides a communication interface with external serial Flash memories Fully configurable AHB Clock Management CLK CLK QSPI Flash Supports Execute in Place (XiP) Memory mapped Shift Register BK1_IO0/SO BK1_IO1/SI BK1_IO2 BK1_IO3 BK1_nCS Q0/SI Q1/SO Q2/nWP Q3/nHOLD ncs Application benefits Supports all SPI Flash memories Only a few (4+2) pins needed Easy memory expansion in existing project

Performance & power consumption 6 Data fetch performance comparison Time to read a 10kB table from external Quad-SPI Flash / internal Flash / internal SRAM Code execution from internal Flash memory Conditions External QSPI Internal Flash Internal SRAM CPU @ 80 MHz QSPI SDR 4 lanes @ 40 MHz 257 µs 152 µs 88 µs CPU @ 48 MHz - QSPI DDR 4 lanes @ 48 MHz 214 µs 227 µs 147 µs External Quad-SPI: Micron N25Q256A13EF840E / XiP Mode - Internal Flash: ART enable - Compiler: IAR v7.30.1.7746 Power consumption of the STM32L4 during this benchmark (External Flash memory excluded) Conditions External QSPI Internal Flash Internal SRAM CPU @ 80 MHz QSPI SDR 4 lanes @ 40 MHz 21 ma 12.74 ma 14.11 ma CPU @ 48 MHz - QSPI DDR 4 lanes @ 48 MHz 14.6 ma 8.79 ma 8.64 ma External Quad-SPI: Micron N25Q256A13EF840E / XiP Mode - Internal Flash: ART enable - Compiler: IAR v7.30.1.7746 The external Flash consumption depends on the Quad-SPI Flash device. We measured ~4.7 ma @ 80 MHz/SDR and ~6.1 ma @48 MHz/DDR on data read benchmark for the selected part.

ART I-bus D-bus S-bus DMA 7 ARM Cortex -M4F DMA1 DMA2 Access to everything Triggered by any peripheral FLASH (1MB) SRAM1 (96kB) Fast and Slow peripherals SRAM2 (32kB) AHB1 Periph. APB1 Periph. APB2 Periph. AHB2 Periph. FMC QUADSPI GPIO ADC USB AES RNG BUS MATRIX

RESET CLK Source MSI (default) MSI (in PLL mode) 80MHz max Clock Sources Parameters 9 Frequency Conso Precision (0-85 C) 100kHz~48MHz (4MHz default) 100kHz~48MHz 0.6~155µA Settling time -3.5%~+3% 10~2.5µs 60ps (cycle to cycle jitter) 252.5µs (10% of final freq) Including stabilization time HSI 16MHz 155µA ±1% 3.8 µs HSE external crystal 4~48MHz ~440µA (8MHz, 10pF) - 2ms + Clock Source Wake-Up time PLL 2~80MHz ~520µA (@344MHz VCO) N/A 15µs (2MHz input) LSI 32kHz 0.11µA ~10% 125µs LSE external crystal 32.768kHz (typ.) ~0.25µA - ~2s LSE usually woken-up only once after power-on

Debug support 10 STM32L4 provides on-chip debug support MCU programming Application debugging Code analysis Application benefits Basic debugging features Advanced features (Embedded Trace Macrocell) to quickly identify malfunctioning code Coverage and profiling features

STM32L4 series 10 1 High-performance 2 Multiple Peripherals

IrDA SIR, Smartcard, Modbus, LIN, RS-232/485 flow control 6 3 3 UART up to 10Mbit/s 7, 8, 9 data bits Even/odd or no-parity Synchronous mode (Master) Swappable Tx/Rx pins Auto-baudrate detection USB2.0 Full Speed (12Mbps) OTG2.0 spec support Link Power Management Battery Charger Detection HSE crystal not needed (thanks to MSI in PLL mode) I2C up to 1Mbit/s (Fast Mode+) Master or Slave (Multi) 7b and 10b addressing mode Multiple 7b addressing mode Clock stretching support Fully programmable timing 1 1 1 USB! CAN up to 1Mbit/s CAN protocol v2.0a and B 2x receive FIFO (3 stages) 14 scalable filter banks HSE crystal not needed (thanks to 1% HSI) SMBus 2.0 PMBus 1.1 DMA support by all these peripherals Connectivity 11 SPI up to 40MHz (f PCLK/2 ) Master or Slave (Multi) Full/Half-duplex or Simplex Two-wire interface as min. Motorola and TI standards Tx & Rx FIFOs, CRC SDMMC default speed (<25MHz) high-speed support (50MHz) 1b, 4b and 8b data mode Secure Digital (SD) 2.0 MultiMediaCard (MMC) 4.2 SD I/O devices (SDIO) 2.0 Wi-Fi, Bluetooth, Camera, Memory modules

Connectivity addon 12 1 SWPMI 2 1 SAI IRTIM 100Kbit/s to 2Mbit/s single-wire protocol ETSI TS 102 613 standard (Master mode) Full duplex Smartcard interface! 2 x Serial Audio Interface blocks up to 32-bit/192kHz various protocols support (including I2S SPDIF and AC 97) To external device (DAC ) by I2C TIM17 TIM16 Supports RC5, RC6, RCA, SIRC, IRTIM Up to 20mA direct IR LED driving IR_OUT pin! 1 DFSDM Digital Filter for Sigma Delta Modulators Interface!

STM32L4 - DFSDM Digital filter for Sigma-Delta modulators interface

DFSDM: introduction and typical usage 15 Behavior like ADC with scalable speed/resolution and external analog front end 1-bit data stream analog input u Analog part External SD modulator DFSDM optional Optical isolation STM32 DATA CLK ADC in spread architecture fast serial line Split of analog and digital part: Benefit from external analog selection Benefit from internal digital features (DFSDM) Application benefits External analog part: selection according needs: precision, less noise, extra fast, galvanic isolation, linearity, cheap, high voltage-side operation Digital part: serial line interface (1 or 2 wires), scalable speed vs. resolution (up to 24 bits), full features like ADC Examples: electricity meter, motor control, medical applications, MEMS microphone audio,

Key features Decreased CPU burden and low-latency HW safety features 16 Transceivers Fast serial input (20 MHz): SPI or Manchester-coded mode (with clock absence detection) Clock generation Internal parallel data input Filters 16-bit register data input (write by CPU/DMA) Sinc1, Sinc2, Sinc3, Sinc4, Sinc5 and FastSinc filters with oversampling ratio up to 1024 Integrator with oversampling ratio up to 1024 Application Benefits Support for various SD modulators suppliers (ST, TI, Analog Devices, ) Speed vs. resolution selection by filter configuration Internal data post-processing (SAR ADC results,...) Additional functions: watchdog, short-circuit detector, extremes detector, offset correction

Block diagram 17 Internal 16-bit data External SD modulator(s) CLK_OUT 1+1 16 8 Parallel transceivers 8 Serial transceivers 16 1+1 M U X 4 units 32 Digital filter 32 Integrator 32 (Sinc) 1+1 Output data unit 24 24 B U S Up to 8 analog signals 8 shortcircuit detectors Sinc filter 4 watchdogs 4 extremes detector

low consumption (down to 400nA) progr. hysteresis (0, 8, 15 or 27mV) low propag. delay (down to 0.1µs) COMP1 up to 4mA output (35µA I VDDA ) low error with load -3/+1(2.048V), ±2 (2.5V) V REF+ (no 64pin) ADC/DAC VREFINT 1.2V VREFBUF 2.048V / 2.5V + - COMP2 + - Analog chain 13 Tsensor V TS Timers / IRQ 4.7µA, 70µs (ON) 5µs sampling 2.5mV/ C slope factory calibration (30 C, 110 C) V BAT DAC1 DAC2 Rail-to-Rail In/Out Normal mode (120µA, 1.6MHz GBW) LP mode (45µA, 0.42MHz GBW) ADC1 ADC2 V BAT /3 OPAMP1 OPAMP2 ADC3 GPIO 2 channels DAC 8b or 12b resolution Buffered output S&H for low-power app Noise & Triangular wave generator + - P G A + - P G A up to 5.33 Msamples/s (12-bit SAR) 16-bit with oversampling Sequencer, Differential inputs Low consumption (210µA @1MSps) 3x analog watchdog per ADC

Control logic 14 14 11x 16-bit timers 2x 32-bit timers 1x 24-bit SysTick (Core) 2x Low-Power timer TIM RTC GLASS LCD 17x CAPCOM in total 6x CAPCOM with compl. out Suitable for motor control full calendar support (BCD) 2x Alarm (sub-second res.) Periodic Wake-Up Timer 3x Tamper pins (opt. filtering) Smooth digital calibration Inside V BAT domain 300nA @1.8V up to 176 (44x4) or 320 (40x8) segments 1/2, 1/3, 1/4, 1/8 or static duty 1/2, 1/3, 1/4 or static bias Dual-buffer LCD_RAM Internal STEP-UP 1.5µA @3.0V 1/8 duty, 1/4 bias 64div ratio interconnection matrix

STM32L4 series 16 1 High-performance 2 Multiple Peripherals 3 Safety and Security featured

WRP ECC Safety features 17 LOCK PARITY WDGs BOR GPIO PWR MEMORY CORE DBG MPU PVD CLK Control DMA CSS Connectivity Analog BKIN CRC Safety Security Analog WDG

PcROP Firewall Security features 18 MPU GPIO MEMORY CORE PWR DBG RDP CLK Control DMA AES Connectivity Analog RTC with 3x tamper RNG Safety Security

STM32L4 series 19 1 High-performance 2 Multiple Peripherals 3 Safety and Security featured 4 Ultra-Low-Power consuming

Wake Up LOW LEAKAGE Wake Up ON OFF LP Entry ULP 20 ON OFF Voltage Scaling Low- Power Modes GPIO PWR MEMORY CORE DBG LP Debug MSI CLK Control DMA BAM Wake Up LSE Wake Up Connectivity Safety Analog Security Low Conso CSS (LSE) Painted Green AES

1.71V~3.6V 1.62V~3.6V Power Supply 26 3.0V~3.6V 1.08V~3.6V V DD V DDA up to 5V V DDIO2 V DDUSB Ext. (I)C V DDIO2 pin PG[15:2] 5V tolerant (FT) pin Ext. (I)C What is on GPIOG[15:2]? 2x I2C 2x SPI 1x SAI 2x UART 2x Timer V SS V SSA V LCD EXTERNAL / INTERNAL 1.55V~3.6V V BAT + Charging option 2.5V - 3.6V

STM32L4 BOM reduction How we can reduce list of components by using STM32L4 device

Low cost, low power 2-channel ADC (Single Integration): 2 external comparators 2 external capacitors Nice to have, but 28 External ADC converter data processing: High CPU load on data processing Data collection from stereo MEMS microphone: High CPU load on PDM decoding V dd 32kHz LSE C L1 C L2 Precise clock for USB and system: 2 lines for the crystal 3 external components C L1 C L2 USB connector to the host: Power supply >3.3V External resistor Additional hardware for USB reconnection V dd Configured state on N I/O lines in STANDBY mode: N external pull-up/pull-down resistors Measurement of low amplitude analog signals: External OpAmps 2 external resistors per OpAmp External Flash memory to store more data NOR Flash over FSMC: 19 lines (16 data, 3 control)

Low cost, low power 2-channel ADC (Single Integration): Built-in comparators STM32L4 offer 29 External ΣΔ ADC converter data processing: Built-in Digital Filter for Sigma Delta Modulators Data collection from stereo MEMS microphone: Built-in Digital Filter for Sigma Delta Modulators (HW processing of PDM signal) 32kHz LSE DFSDM Vddusb Precise clock for USB and system: Built-in precise RC oscillators: MSI 48MHz self-trimmable to LSE C L1 C L2 48MHz RC HSI 1% USB connector to the host: Separate USB power supply Built-in pull-up resistor on DP line Software reconnection Configured state on N I/O lines in STANDBY mode: Programmable pull-ups/pull-downs on I/O lines Measurement of low amplitude analog signals: Built-in PGA (programmable gain amplifiers) Possible to add external components External Flash memory to store more data QSPI Flash memory: 6 lines (4 data, 2 control)

Enjoy! /STM32 @ST_World st.com/e2e www.st.com/stm32l4