STM32 L4 Series STM32Lx complete offer STM32 L0 Entry STM32 L1 Mainstream STM32 L4 Analog/DSP Cortex-M0+ 32 MHz 1.65 to 3.6V 8/16-bits Appli. Cortex-M3 32 MHz 1.65 to 3.6V Wide portfolio Cortex-M4 w/FPU 80+ MHz 1.65 to 3.6V Advanced Analog High Performance 3 lines Cost Effectiveness USB, LCD, Analog 16KB – 192KB 20KB SRAM 3 lines USB, LCD, AES, Analog 3 lines ADC 5 Msps, PGA, Compar., DAC, Op-Amp, USB, LCD, AES 64KB – 1MB Cost smart Broad Range 32KB – 512KB 80KB SRAM Advanced & High Performance 2 Memory size (Bytes) Full Ultra-low-power Family C-M3 512K 256K C-M0+ 16K STM8 L1 32K 8-bit STM32 L0 128K STM32 L1 384K STM32 L4 C-M4 1M 64K 3 4K 4.8 (16MHz) 30 (32MHz) 33.6 (32MHz) 100 (80MHz) Dmips (Fmax CPU) STM32 L4 strategy • Maintain the leadership in ultra-low power by providing a high-end version (more memory, more peripherals, innovation and horsepower) • Convergence between High Performance and Ultra-Low power • Build a family (from 32kbytes up to 2 Mbytes) at a cost effective price 4 Birth of the STM32 L4 High-performance ARM Cortex-M4 FPU Ultra-low-power • STM32L4 is a perfect fit in terms of ultra-low power, performances, memory size, and peripherals at a cost effective price. • Convergence between High performance and Ultra-low power series 5 STM32 L47 block diagram – 1 MB 6 STM32 L4 outstanding features • Overall architecture review and improvement – new Ultra-low power platform - VBAT domain with charging feature • Cortex-M4F(FPU) core with MPU and DSP instruction • More performance up to 80 MHz, ART Accelerator™ all across the voltage range • Higher memory range (up to 1-Mbyte of Flash dual bank and 128-Kbyte of RAM). 32K RAM with HW parity check. • 3 x ULP ADC SAR 12-bit (with 16-bit mode with HW oversampling) 5 MSPS • USB OTG FS: no additional crystal needed if a 32,768 kHz is used (MSI auto-calibrated with LSE, 0.25%) • Available in STOP mode with wake up capability: I²C, LP UART, LP timer • Touch sensing Controller • Quad SPI, Digital Filter for ∑∆ Modulator, SWP 7 Ultra-Low-Power and Flexibility 8 FlexPowerControl STM32L4 is based on a new platform optimized to reduce power consumption and increase flexibility Down to 30 nA for I/O wake-up with additional Shutdown mode RTC available for all power modes (from Active down to VBAT) External level shifter no longer needed Separate VDD supplies (down to 1.08 V) Down to 360 nA keeping 32 Kbytes of SRAM active in Standby mode 4 nA VBAT mode with charging capability Automatic switch to maintain power for RTC and backup registers STM32L4 Wake up MCU with any peripheral (Communication I/Fs, analog circuits, timers …) I/O level kept in low power modes Optimization of system consumption USB capable with 32 kHz crystal oscillator (Dedicated crystal oscillator is no longer needed for USB function) Internal oscillator from 100 kHz to 48 MHz (+/-0.25% int. clock accuracy over voltage/temperature with LSE) 1 leader and performance booster 1 ULP Ultra-low-power modes Best power consumption numbers with full flexibility Wake-up time VBAT 4 nA / 300 nA* 250 µs SHUTDOWN 14 µs STANDBY 14 µs STANDBY + 32 KB RAM 5 µs STOP 2 (full retention) 4 µs STOP 1 (full retention) 6 cycles SLEEP RUN at 24 MHz RUN at 80 MHz Tamper: 3 I/Os, RTC Wake-up sources: reset pin, 5 I/Os 30 nA / 330 nA* 130 nA / 430 nA* Wake-up sources: + RTC, BOR, IWDG 360 nA / 660 nA* 1.1 µA / 1.4 µA* 7.3 µA / 7.6 µA* 35 µA / MHz Wake-up sources: + all I/Os, PVD, LCD, COMPs, I²C, LPUART, LPTIM Wake-up sources: + all I²C, UART Wake-up sources: any interrupt or event 100 µA / MHz 112 µA / MHz Note : * without RTC / with RTC 1 leader and performance booster 1 ULP 9 Efficient run and fast wake-up 10 Ready for Launch Control ? From 0 to 48 MHz in less than 5 µs • Thanks to our internal oscillator (MSI) used at start-up (programmable from 100 kHz to 48 MHz) • PLL wake-up time < 15 µs (needed to reach fMAX) < 5 µs! Run 48 MHz Run 80 MHz STOP mode 1 ULP leader and performance booster Providing more performance 11 Do not compromise on performance with STM32L4 CoreMark score Execution performance from Flash 273 Linear performance thanks to ST ART AcceleratorTM • Up to 80 MHz/ 100 DMIPS with ART Accelerator™ • Up to 273 CoreMark Result • ARM Cortex-M4 with DSP instructions and floating-point unit (FPU) • Optimized DMA (14 channels) Competitors: impact of wait states • SPI up to 40 Mbit/s, USART 10 Mbit/s CPU frequency 80 MHz 1 ULP leader and performance booster Digital Filter for Sigma Delta Modulators 8 x parallel inputs with up to 24-bit data output resolution Smart peripherals Δ Metering 12 LCD Display VBAT with RTC for battery backup STM32L4 88×40 or 4×44 with step-up converter 240 nA in VBAT mode for RTC and 32x 32-bit backup registers Anti Tamper pin 3 x tamper pins for battery domain TNRG & AES for Security 128-/256-bit AES key encryption hardware accelerator Electricity/Gas /Water Smart Meter SPI / UART/ SDIO for Wireless 3x SPIs (4x SPIs with the Quad SPI) 6x USARTs (ISO 7816, LIN, IrDA, modem) 1 x SDIO FSMC External memory interface for static memories supporting SRAM, PSRAM, NOR and NAND I/Os Up to 114 fast I/Os for buttons & relays 2 Innovation Digital Filter for Sigma Delta Modulators with PDM (Pulse Density Modulation) microphone input support Smart peripherals Fitness tracker - Wristband 13 TFT Display STM32L4 Sensors FSMC Parallel interface to TFT SPI Up to 40 MHz speed I²C 3x I²C FM+(1 Mbit/s), SMBus/PMBus Batch Acquisition Mode (BAM) USB USB OTG 2.0 full-speed, LPM and BCD SPI / UART 3x SPIs (4x SPIs with the Quad SPI) 6x USARTs (ISO 7816, LIN, IrDA, modem) OPAMP 2x op amp with built-in PGA DAC SAI 2x serial audio interfaces 2x 12-bit DAC, low-power sample and hold SWP Single wire protocol master interface (SWPMI) ADC 3× 12-bit ADC 5 MSPS, up to 16-bit with hardware oversampling, 200 μA/MSPS 2 Innovation Motor Control : Smart Peripherals Industrial Sensors 2x 16-bit advanced motor-control timers 3x 12-bit ADCs: 5 MSPS, with up to 16-bit with hardware oversampling, 200 μA/MSPS 14 LCD Display 8×40 or 4×44 with step-up converter STM32L4 CAN Bus (2.0B Active) High temperature from -40°C up to 125°C TNRG & AES for Security SPI / UART 128/256-bit AES key encryption hardware accelarator 3x SPIs (4x SPIs with the Quad SPI) 6x USARTs (ISO 7816, LIN, IrDA, modem) FSMC External memory interface for static memories supporting SRAM, PSRAM, NOR and NAND I/Os Up to 114 GPIOs I²C 3x I²C FM+(1 Mbit/s), SMBus/PMBus 2 Innovation RUN & Low power modes (1/2) • RUN and voltage scaling: Range Max frequency Dynamic consumption Range 1 80 MHz ~127 uA/MHz Range 2 26 MHz ~100 uA/MHz • VBAT domain • VBAT domain target consumption with RTC/LSE on <300 nA • Automatic internal switch between VBAT and VDD • Internal connection to ADC for voltage monitoring • VBAT charging 15 RUN & Low power modes (2/2) • STOP 1 mode • Low power timer clocked by LSI or LSE running in STOP1 mode, wakeup capable • All I²C and USART with wakeup from STOP1 capability • Wakeup ~7µs in flash, ~4µs in RAM • STOP 2 mode • 1 x Low Power timer wakeup capable • 1x I²C and 1x Low Power USART with wakeup from STOP2 capability • Wakeup ~9µs, ~4µs in RAM • Standby mode • Configurable pull-up, pull-down or Hi-z on all I/Os (state kept even during wake-up) • Ultra Low Power BOR always ON • Possibility to backup 32kbytes of RAM (200 nA) • Wakeup 20µs • Shutdown mode • Configurable pull-up, pull-down or Hi-z on all I/Os (state kept even during wake-up) • Wakeup 270µs 16 Clock key features • Choice of clock sources for low-power, accuracy, and performance • Three internal clock sources • High-speed internal 16 MHz RC oscillator (HSI) • Multi-speed internal RC oscillator (MSI) • Low-speed internal 32 kHz RC oscillator (LSI) • Two external oscillators • High-speed external 4 to 48 MHz oscillator (HSE) with clock security system • Low-speed external 32.768 kHz oscillator (LSE) with clock security system • Three PLLs, each with three independent outputs Simplified clock tree To other PLLs HSI / P / Q / R VCO MSI /M *N HSE PLL PLLCLK To CPU, DMA, memories, AHB peripherals SYSCLK AHB PRESCALE R HCLK APB1 PRESCALER PCLK1 To APB1 peripherals APB2 PRESCALER PCLK2 To APB2 peripherals PLLCLK Available in VBAT and all low-power modes Available in all modes except Shutdown and VBAT mode / 32 LSE LSI To RTC, LCD Clocks • LSE: programmable amplifier driving capability (2 modes) • High drive to support high Cload (12.5pF) and faster startup • Low drive for low power • MSI auto-calibrated with LSE (seen as LSE PLL like) • Programmable frequency from 100 kHz to 48 MHz • Accuracy with LSE:0.25% • Allows USB FS device functionality with only LSE • LSI Parameters Accuracy over parts Accuracy over temperature STM32L15x 26..56KHz -10% / +4% (0..85°C) STM32L4x ~5% 19 Analog 26/10/2015 ADC SAR 12-bit Parameters Conversion time(12-bit) Channels Consumption STM32L4x Max. 5 MSPS (14cy@72 MHz) 24 (single ended or differential inputs) 200µA/MSPS VDDA 1.65V ≤ VDDA ≤ 3.6V VDDA independent from VDD VREF 1.2V ≤ VREF+ ≤ VDDA External or generated internally (2.048V or 2.5V) DNL +/-1LSB INL +/-2LSB OFFSET with calibration +/-2LSB TUE +/-5LSB • • • 21 Selectable 6-to 12-bit resolution, programmable speed versus resolution Up to 16-bit mode selectable (oversampling) Consumption vs. conversion rate optimization: <20 µA @100 Ksps, ~1mA @5 MSPS Other analog peripherals • 2x OPAMPs • Built-in PGA : gain 1, 2, 4, 8, 16 • 2x rail to rail COMPARATORS • The 2 inputs and the output available on I/Os • Configurable propagation delay vs. consumption : 3 modes 300nA, 5µA, 100µA • Programmable hysteresis : 0, 7mV, 13mV, 25mV (typ) • Offset : +/-20mV max • Wakeup from STOP1 and STOP2 capability • 2x DACs • Improved offset and TUE • Low power Sample and Hold mode available in STOP1 mode 22 Digital 26/10/2015 Timers Timers STM32L4x 32-bit 4 channels 2 16-bit 4-channels 2 16-bit 2 channels 1 16-bit 1 channels 2 16-bit basic 2 Ultra Low Power Timer 2 16-bit Advanced Timer 4 channels 2 • NEW Low Power Timer 16-bit timer • 1 output compare • Configurable output : pulse, PWM • Independent clocks : LSI, LSE or HSI or external input (can run without internal oscillator) • Programmable digital glitch filter • Pulse counter and encoder mode • Can run in STOP1 and STOP2, wakeup capability 24 Communication peripherals IP SPI USART I²C SDMMC CAN Main improvements Programmable frame from 4 to 16bit (bit granularity), TI mode support 32bit FIFO (buffer like) to optimize bus bandwidth (performance & power consumption) Improved BUSY status bit for optimum usage of the IP Up to 40 MHz High speed communication support Data enable capability to allow the management of external transceivers Smart card mode improvement with T=1 capability Dual clock domain (for wake-up keeping right data frame & stable baud rate versus fCPU) All known limitation correction with Flag management improvement for an easy use Wake-up on address and multiple slave address capabilities to emulate several devices on the bus Improved SMBUS function Fast mode + 20mA capability fully supported Programmable filter on input pins Dual clock domain (for wake-up keeping right data frame & stable baud rate versus fCPU) Supports SD-Card, MMC and SDIO. High speed up to 48 MHz Supports CAN protocol version 2.0 A, B Active 25 Communication peripherals IP USB OTG FS Serial Audio Interface Low Power UART SWP New communication peripherals USB with MSI/LSE (32.768kHz quartz) to reach 48MHz with 0.25% accuracy (USB spec). •Dedicated 3V3 supply input •1 bidirectional control endpoint + 5 IN endpoints + 5 OUT endpoints •Link power management (LPM) support •Battery charging detection (BCD) support, •Attach Detection Protocol (ADP) support with wakeup from STOP •Suspend/resume support with wakeup from STOP No more I²S feature on SPI 2 SAIs (1 SAI is bi-directional) Dual clock domain (for wake-up keeping right data frame & stable baud rate versus fCPU) Wake-up from Deep STOP capability Up to 9600 bauds when clocked by LSE, functional in Deep STOP. Single Wire Protocol for smartcards (ETSI TS 102 613) 26 Other digital peripherals • AES • “Tiny” AES with 256-bit key . • Encryption or decryption time: • 297 cycles for 256-bit key • 214 cycles for 128-bit key • Galois/Counter Mode (GCM) supported • RNG • True Random Generator (32-bit) • FSMC • Support the following modes (16- and 8- bit): • • • • NAND Flash SRAM PSRAM NOR Flash 27 Other digital peripherals • NEW : Quad SPI • Allows to address single, dual and quad SPI external flash • Execution support, up to 512MB memory mapped • NEW : Digital Filter for Sigma Delta Modulator • For connection to external Sigma delta modulator (e.g.: STPMS2) • Up to 4 filters, 8 multiplexed channels • Support also digital Microphone Mems (PDM to PCM conversion and filtering done in HW) 28 High integration 29 High integration with high memory size in small packages Package size down to 4.4 x 3.8 mm Connectivity Parallel Interface FSMC 8-/16-bit (TFT-LCD, SRAM, NOR, NAND) Display LCD driver 8 x 40 Cortex-M4 80 MHz FPU MPU ETM USB OTG, 1x SD/SDIO/MMC, 3 x SPI, 3 x I²C, 1x CAN, 1 x Quad SPI, 5 x USART + 1 x ULP UART, 1 x SWP DMA Timers ART Accelerator™ 17 timers including: 2 x 16-bit advanced motor control timers 2 x ULP timers 7 x 16-bit-timers 2 x 32-bit timers Up to 1-Mbyte Flash with ECC Dual Bank Digital AES (256-bit), TRNG, 2 x SAI, DFSDM (8 channels) Analog 128-Kbyte RAM I/Os Up to 114 I/Os Touch-sensing controller 3 x 16-bit ADC, 2 x DAC, 2 x comparators, 2 x op amps 1 x temperature sensor 3 Integration and safety Safety and security 30 Integrated safety and security features SAFETY • Brown-out Reset in all modes • Clock Security System • SRAM parity check • Backup byte registers • Supply monitoring • Flash with ECC with status register (address) • Dual watchdog ULP with performance SECURITY • Anti-tamper detection • Memory Protection Unit (MPU) • Read and Write Protection • Unique ID • AES-256 Encryption • JTAG fuse • True Random Number Generator • Software IP Protection 3 Integration and safety STM32L4: continuity in STM32 portfolio 31 9 product series / 32 product lines STM32L4 benefits from pin-to-pin compatibility across the family 2 High-performance 398 CoreMark 120 MHz 150 DMIPS 4 Mainstream 106 CoreMark 48 MHz 38 DMIPS 75 CoreMark 32 MHz 26 DMIPS Cortex-M0 Cortex-M0+ number of lines 608 CoreMark 180 MHz 225 DMIPS 5 Cortex-M3 1 000 CoreMark 200 MHz 428 DMIPS 6 (*) from CCM-SRAM 3 93 CoreMark 32 MHz 33 DMIPS 1 245 CoreMark* 72 MHz 90 DMIPS 177 CoreMark 72 MHz 61 DMIPS 3 Ultra-low-power 7 1 273 CoreMark 80 MHz 100 DMIPS Cortex-M4 Cortex-M7 4 Great investment STM32L ULP offer 32 STM32L4 completes the ultra-low-power family Cost-smart ULP Champion Broad Range Foundation ULP with performance Cortex-M0+ @ 32 MHz Operating range: 1.65 to 3.6V 8/16-bit applications Numerous pin counts Cortex-M3 @ 32 MHz Operating range: 1.65 to 3.6V Wide choice of memory sizes Cortex-M4 w/ FPU @ 80 MHz Operating range: 1.71 to 3.6V Advanced Peripheral Performance 3 product lines, Cost-effective, Smaller packages USB, LCD, Analog 16 to 192 Kbytes of Flash Up to 20 Kbytes of SRAM 3 product lines, USB, LCD, AES, Rich Analog True EEPROM, Dual bank Flash (RWW) 32 to 512 Kbytes of Flash Up to 80 Kbytes of SRAM 3 product lines, ADC 5 Msps, PGA, Compar., DAC, op amp, USB OTG, LCD, AES 256 Kbytes to 1 Mbyte of Flash Up to 128 Kbytes of SRAM 4 Great investment STM32L, a complete offer 33 STM32L4 completes the ultra-low-power family 100 DMIPS 273 CoreMark Performance More performance More memory and pin counts Flash size (bytes) 1M 512 K 384 K 256 K 192 K 128 K 64 K 32 K 16 K 33 DMIPS 93 CoreMark 8K Pins 20 26 DMIPS 75 CoreMark 28 36 32 48 49 63 64 100 132 144 More packages WLCSP 32 32 80 QFN BGA LQFP MHz 4 Great investment Cortex®-M4 (DSP + FPU) – 80 MHz STM32L4 series • • • • • • • ART Accelerator™ USART, SPI, I²C Quad SPI 16 and 32-bit timers SAI + audio PLL SWP 1x CAN 2x RAM Memory 2x Op (KB) I/F Comp amps 8-ch / 4x 16- bit Sigma ADC Delta (5 Msps) Interface Segment AES LCD 128/256-bit Driver Product line Flash (KB) STM32L471 Access 512 to 1024 128 SDIO FSMC 3 • 2x 12-bit DAC STM32L475 • Temperature sensor USB OTG 256 to 1024 128 SDIO FSMC 3 • Low voltage 1.71 to 3.6 V • VBAT Mode • Unique ID • Capacitive Touch sensing STM32L476 USB OTG & LCD 256 to 1024 128 SDIO FSMC 3 Up to 8x40 STM32L486 USB OTG & LCD & AES 1024 128 SDIO FSMC 3 Up to 8x40 Legend: USB2.0 OTG FS 34 Available in Q2/2015 4 Great investment STM32L4 portfolio 35 Flash size (bytes) STM32L486RG 1M STM32L486JG STM32L486VG STM32L486QG STM32L486ZG 5 STM32L476RG STM32L476JG STM32L476VG STM32L476QG STM32L476ZG 512 K STM32L476RE STM32L476JE STM32L476VE STM32L476QE STM32L476ZE 256 K STM32L476RC STM32L476VC Pin count LQFP64 WLCSP72 LQFP100 (10x10x1.4 mm) (4.4x3.8x0.585 mm) (14x14x1.4 mm) Legend: With 128/256-bit AES Hardware Encryption UFBGA132 (7x7x0.6 mm) LQFP144 (20x20x1.4 mm) Without 128/256-bit AES Hardware Encryption Available in Q2/2015 4 Great investment STM32L4 ecosystem HARDWARE TOOLS SOFTWARE TOOLS (Available in Q2/2015) (Available in Q2/2015) STM32 Nucleo Discovery kit Evaluation board 36 STM32CubeMX featuring code generation and power consumption calculation 5 Flexible prototyping Key feature prototyping Full feature evaluation 4 Great investment SUMMARY 4 Keys of STM32 L4 series 1 ULP leader and performance booster 2 Innovation 3 Integration and safety 4 Great Investment 37 Cortex®-M4 (DSP + FPU) – 80 MHz STM32L4 series Product line FLASH (KB) RAM (KB) Memory I/F 2 x OpAmp 2x Comp. 8ch / 4x Sigma Delta Interface 12- bit ADC 5 Msps 16 bit HW oversampling STM32L471 Access 512 to 1024 128 SDIO FSMC 3 USB2.0 OTG FS Segment LCD Driver • • • • • • • ART Accelerator™ USART, SPI, I²C QuadSPI 16 and 32-bit timers SAI + audio PLL SWP 1x CAN • • 2x 12-bit DAC Temperature sensor STM32L475 USB OTG 256 to 1024 128 SDIO FSMC 3 • Low voltage 1.71V to 3.6V Vbat Mode Unique ID Capacitive Touch sensing STM32L476 USB OTG & LCD 256 to 1024 128 SDIO FSMC 3 Up to 8x40 STM32L486 USB OTG & LCD & AES 1024 128 SDIO FSMC 3 Up to 8x40 • • • AES 128/256-bit 38 Thank you www.st.com/stm32 39