基于ST公司的STM32L476xx系列32位ARM MCU开发方案
原标题:ST STM32L476xx系列32位ARM MCU开发方案
ST公司的stm32L476xx系列是基于高性能32位ARM® Cortex®-M4 RISC核的超低功耗微控制器(MCU),运算频率80MHz, 处理性能高达100 DMIPS,功耗为100µA/MHz,嵌入了高速存储器(闪存高达1MB,SRAM高达128KB),可根据不同处理需求调整功耗的动态电压调整,内置FlexPowerControl的智能架构和有7个子模式选项的电源管理模式,其中包括停机,待机和最低功耗30nA的关机模式,非常适合节能型消费电子产品,工业,医学和计量产品的需求.本文介绍了STM32L476xx系列主要特性,框图,以及评估板STM32L476G-EVAL主要特性,框图,电路图,材料清单和PCB元件布局图.
The STM32L476xx devices are the 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 which 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 STM32L476xx devices embed high-speed memories (Flash memory up to 1 Mbyte, up to 128 Kbyte of SRAM), a flexible external memory controller (FSMC) for static memories (for devices with packages of 100 pins and more), 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 STM32L476xx devices embed several protection mechanisms for embedded Flash memory and SRAM: readout protection, write protection, proprietary code readout protection and Firewall. The devices offer up to three fast 12-bit ADCs (5 Msps), two comparators, two operational amplifiers, two DAC channels, an internal voltage reference buffer, a low-power RTC, two general-purpose 32-bit timer, two 16-bit PWM timers dedicated to motor control, seven general-purpose 16-bit timers, and two 16-bit low-power timers. The devices support four digital filters for external sigma delta modulators (DFSDM). In addition, up to 24 capacitive sensing channels are available. The devices also embed an integrated LCD driver 8x40 or 4x44, with internal step-up converter. They also feature standard and advanced communication interfaces.
• Three I2Cs
• Three SPIs
• Three USARTs, two UARTs and one Low-Power UART.
• Two SAIs (Serial Audio Interfaces)
• One SDMMC
• One CAN
• One USB OTG full-speed
• One SWPMI (Single Wire Protocol Master Interface)
The STM32L476xx operates in the -40 to +85 °C (+105 °C junction), -40 to +105 °C (+125 °C junction) and -40 to +125 °C (+130 °C junction) temperature ranges from a 1.71 to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications. Some independent power supplies are supported: analog independent supply input for ADC, DAC, OPAMPs and comparators, 3.3 V dedicated supply input for USB and up to 14 I/Os can be supplied independently down to 1.08V. A VBAT input allows to backup the RTC and backup registers.
STM32L476xx系列主要特性:
• Ultra-low-power with FlexPowerControl
– 1.71 V to 3.6 V power supply
– -40 °C to 85/105/125 °C temperature range
– 300 nA in VBAT mode: supply for RTC and 32x32-bit backup registers
– 30 nA Shutdown mode (5 wakeup pins)
– 120 nA Standby mode (5 wakeup pins)
– 420 nA Standby mode with RTC
– 1.1 μA Stop 2 mode, 1.4 μA Stop 2 with RTC
– 100 μA/MHz run mode
– Batch acquisition mode (BAM)
– 4 μs wakeup from Stop mode
– Brown out reset (BOR) in all modes except shutdown
– 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/1.25DMIPS/MHz (Dhrystone 2.1), and DSP instructions
• 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)
– 3 PLLs for system clock, USB, audio, ADC
• RTC with HW calendar, alarms and calibration
• LCD 8 × 40 or 4 × 44 with step-up converter
• Up to 24 capacitive sensing channels: support touchkey, linear and rotary touch sensors
• 16x timers: 2 x 16-bit advanced motor-control, 2 x 32-bit and 5 x 16-bit general purpose, 2x 16-bit basic, 2x low-power 16-bit timers (available in Stop mode), 2x watchdogs, SysTick timer
• Up to 114 fast I/Os, most 5 V-tolerant, up to 14 I/Os with independent supply down to 1.08 V
• Memories
– Up to 1 MB Flash, 2 banks read-while-write, proprietary code readout protection
– Up to 128 KB of SRAM including 32 KB with hardware parity check
– External memory interface for static memories supporting SRAM, PSRAM, NOR and NAND memories – Quad SPI memory interface
• 4x digital filters for sigma delta modulator
• Rich analog peripherals (independent supply)
– 3× 12-bit ADC 5 Msps, up to 16-bit with hardware oversampling, 200 μA/Msps
– 2x 12-bit DAC, low-power sample and hold
– 2x operational amplifiers with built-in PGA
– 2x ultra-low-power comparators
• 18x communication interfaces
– USB OTG 2.0 full-speed, LPM and BCD
– 2x SAIs (serial audio interface)
– 3x I2C FM+(1 Mbit/s), SMBus/PMBus
– 6x USARTs (ISO 7816, LIN, IrDA, modem)
– 3x SPIs (4x SPIs with the Quad SPI)
– CAN (2.0B Active) and SDMMC interface
– SWPMI single wire protocol master I/F
• 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™
图1.STM32L476xx系列框图
评估板STM32L476G-EVAL
The STM32L476G-EVAL evaluation board has been designed as a complete demonstration and development platform for STMicroelectronics ARM® Cortex®-M4 core-based STM32L476ZGT6 microcontroller with three I²C buses, three SPI, six USART ports, CAN port, SWPMI, two SAI ports, 12-bit ADC, 12-bit DAC, LCD driver, internal 128-Kbyte SRAM and 1-Mbyte Flash memory, Quad-SPI port, touch sensing capability, USB OTG FS port, LCD controller, Flexible Memory Controller (FMC), JTAG debugging support.
The full range of hardware features on the board can be used to evaluate all peripherals (USB OTG FS, USART, digital microphones, ADC and DAC, dot-matrix TFT LCD, LCD glass module, IrDA, LDR, SRAM, NOR Flash memory device, Quad-SPI Flash memory device, microSD card, sigma-delta modulators, smartcard with SWP, CAN transceiver, I²C, EEPROM, RF-EEPROM) and develop user’s applications. Extension headers make it possible to easily connect a daughterboard or wrapping board for a specific application.An ST-LINK/V2-1 is integrated on the board, as embedded in-circuit debugger and programmer for the STM32 MCU and USB virtual COM port bridge.
评估板STM32L476G-EVAL主要特性:
STM32L476ZGT6 microcontroller with 1-Mbyte Flash memory and 128-Kbyte RAM
Four power supply options: power jack, ST-LINK/V2-1 USB connector, USB OTG FS connector, daughterboard
Microcontroller supply voltage: 3.3 V or range from 1.71 V to 3.6 V
Two MEMS digital microphones
Two stereo audio headphones jack outputs with independent audio content
Slot for microSD card supporting SD, SDHC, SDXC
4-Gbyte microSD card bundled
16-Mbit (1M x 16 bit) SRAM device
128-Mbit (8M x 16 bit) NOR Flash memory device
256-Mbit Quad-SPI Flash memory device with Double Transfer Rate (DTR) support
RF-EEPROM with I²C bus
EEPROM supporting 1 MHz I²C-bus communication speed
RS-232 port configurable for communication or STM32L476ZGT6 flashing
IrDA transceiver
USB OTG FS Micro-AB port
CAN 2.0A/B-compliant port
Joystick with four-way controller and selector
Reset and wake-up / tamper buttons
Touch-sensing button
Light-dependent resistor (LDR)
Potentiometer
Coin battery cell for power backup
LCD glass module daughterboard (MB979) with 40x8-segment LCD driven directly by STM32L476ZGT6
2.8-inch 320x240 dot-matrix color TFT LCD panel with resistive touchscreen
Smartcard connector and SWP support
NFC transceiver connector
Connector for ADC input and DAC output
Power-metering demonstration with dual-channel sigma-delta modulator
PT100 thermal sensor with dual-channel sigma-delta modulator
STM32L476ZGT6 current consumption measurement circuit
Access to comparator and operational amplifier of STM32L476ZGT6
Extension connector for motor control module
JTAG/SWD, ETM trace debug support, user interface through USB virtual COM port, embedded ST-LINK/V2-1 debug and flashing facility
图2.评估板STM32L476G-EVAL外形图
图3.评估板STM32L476G-EVAL框图
责任编辑:HanFeng
【免责声明】
1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。
2、本文的引用仅供读者交流学习使用,不涉及商业目的。
3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。
4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。
拍明芯城拥有对此声明的最终解释权。