5.5 KiB
STM32L412-Nucleo BSP Introduction
MCU: STM32L412RB @80MHz, 128KB FLASH, 40KB RAM
The STM32L412xx devices are ultra-low-power microcontrollers based on the high-performance Arm® Cortex®-M4 32-bit RISC core operating at a frequency of up to 80 MHz. The Cortex-M4 core features a Floating point unit (FPU) single precision that supports all Arm® single-precision data-processing instructions and data types. It also implements a full set of DSP instructions and a memory protection unit (MPU) which enhances application security.
The STM32L412xx devices embed high-speed memories (Flash memory up to 128 Kbyte,40 Kbyte of SRAM), a Quad SPI Flash memories interface (available on all packages) and an extensive range of enhanced I/Os and peripherals connected to two APB buses, two AHB buses and a 32-bit multi-AHB bus matrix. The STM32L412xx devices embed several protection mechanisms for embedded Flash memory and SRAM: readout protection, write protection, proprietary code readout protection and Firewall. The devices offer two fast 12-bit ADC (5 Msps), two comparators, one operational amplifier, a low-power RTC, one general-purpose 32-bit timer, one 16-bit PWM timer dedicated to motor control, four general-purpose 16-bit timers, and two 16-bit low-power timers. In addition, up to 12 capacitive sensing channels are available. They also feature standard and advanced communication interfaces, namely three I2Cs, two SPIs, three USARTs and one Low-Power UART, one USB full-speed device crystal less. The STM32L412xx operates in the -40 to +85 °C (+105 °C junction) and -40 to +125 °C (+130 °C junction) temperature ranges from a 1.71 to 3.6 V VDD power supply when using internal LDO regulator and a 1.00 to 1.32V VDD12 power supply when using external SMPS supply. A comprehensive set of power-saving modes makes possible the design of low-power applications. Some independent power supplies are supported: analog independent supply input for ADC, OPAMP and comparator. A VBAT input makes it possible to backup the RTC and backup registers. Dedicated VDD12 power supplies can be used to bypass the internal LDO regulator when connected to an external SMPS. The STM32L412xx family offers six packages from 32 to 64-pin packages.
KEY FEATURES
-
Ultra-low-power with FlexPowerControl
- 1.71 V to 3.6 V power supply
- -40 °C to 85/125 °C temperature range
- 300 nA in VBAT mode: supply for RTC and 32x32-bit backup registers
- 16 nA Shutdown mode (4 wakeup pins)
- 32 nA Standby mode (4 wakeup pins)
- 245 nA Standby mode with RTC
- 0.7 µA Stop 2 mode, 0.95 µA with RTC
- 79 µA/MHz run mode (LDO Mode)
- 28 μA/MHz run mode (@3.3 V SMPS Mode)
- Batch acquisition mode (BAM)
- 4 µs wakeup from Stop mode
- Brown out reset (BOR)
- Interconnect matrix
-
Core: Arm® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator™) allowing 0-wait-state execution from Flash memory, frequency up to 80 MHz, MPU, 100DMIPS and DSP instructions
-
Performance benchmark
- 1.25 DMIPS/MHz (Drystone 2.1)
- 273.55 CoreMark® (3.42 CoreMark/MHz @ 80 MHz)
-
Energy benchmark
- 442 ULPMark-CP®
- 165 ULPMark-PP®
-
Clock Sources
- 4 to 48 MHz crystal oscillator
- 32 kHz crystal oscillator for RTC (LSE)
- Internal 16 MHz factory-trimmed RC (±1%)
- Internal low-power 32 kHz RC (±5%)
- Internal multispeed 100 kHz to 48 MHz oscillator, auto-trimmed by LSE (better than ±0.25 % accuracy)
- Internal 48 MHz with clock recovery
- PLL for system clock
-
Up to 52 fast I/Os, most 5 V-tolerant
-
RTC with HW calendar, alarms and calibration
-
Up to 12 capacitive sensing channels: support touchkey, linear and rotary touch sensors
-
10x timers: 1x 16-bit advanced motor-control, 1x 32-bit and 2x 16-bit general purpose, 1x 16-bit basic, 2x low-power 16-bit timers (available in Stop mode), 2x watchdogs, SysTick timer
-
Memories
- 128 KB single bank Flash, proprietary code readout protection
- 40 KB of SRAM including 8 KB with hardware parity check
- Quad SPI memory interface with XIP capability
-
Rich analog peripherals (independent supply)
- 2x 12-bit ADC 5 Msps, up to 16-bit with hardware oversampling, 200 µA/Msps
- 2x operational amplifiers with built-in PGA
- 1x ultra-low-power comparator
- Accurate 2.5 V or 2.048 V reference voltage buffered output
-
12x communication interfaces
- USB 2.0 full-speed crystal less solution with LPM and BCD
- 3x I2C FM+(1 Mbit/s), SMBus/PMBus
- 3x USARTs (ISO 7816, LIN, IrDA, modem)
- 1x LPUART (Stop 2 wake-up)
- 2x SPIs (and 1x Quad SPI)
- IRTIM (Infrared interface)
-
14-channel DMA controller
-
True random number generator
-
CRC calculation unit, 96-bit unique ID
-
Development support: serial wire debug (SWD), JTAG, Embedded Trace Macrocell™
-
All packages are ECOPACK2 compliant
Read more
Documents | Description |
---|---|
STM32_Nucleo-64_BSP_Introduction | How to run RT-Thread on STM32 Nucleo-64 boards (Must-Read) |
STM32L412RB ST Official Website | STM32L412RB datasheet and other resources |
Maintained By
Translated By
Meco Man @ RT-Thread Community