|
|
|
|
|
业务洽谈:
联系人:张顺平
手机:17727550196(微信同号)
QQ:3003262363
EMAIL:zsp2018@szczkjgs.com
联系人:鄢先辉
手机:17727552449 (微信同号)
QQ:2850985542
EMAIL:yanxianhui@szczkjgs.com
负责人联络方式:
手机:13713728695(微信同号)
QQ:3003207580
EMAIL:panbo@szczkjgs.com
联系人:潘波 |
|
|
|
|
|
|
|
当前位置:首页 -> 方案设计 |
|
|
STM32L151超低功耗32位MCU开发方案 |
|
|
文章来源: 更新时间:2015/5/4 8:56:00 |
|
ST公司的STM32L151xE和STM32L152xE是采用高性能ARM® Cortex®-M3 RISC内核的高性能超低功耗32位MCU,工作频率32 MHz (33.3 DMIPS),集成了USB连接电源,存储器保护单元(MPU),高速嵌入存储器(512KB 闪存和80KB RAM),以及连接到两个APB总线的增强I/O和外设.主要用在医疗和手持设备,应用控制和用户接口,PC外设,游戏,GPS和体育运动设备以及民用计量表.本文介绍了STM32L151xE和STM32L152xE主要特性, 框图和开发板STM32L-DISCOVERY主要特性,框图,电路图,材料清单和PCB设计文件.
The ultra-low-power STM32L151xE and STM32L152xE devices incorporate the connectivity power of the universal serial bus (USB) with the high-performance ARM® Cortex®-M3 32-bit RISC core operating at a frequency of 32 MHz (33.3 DMIPS), a memory protection unit (MPU), high-speed embedded memories (Flash memory up to 512 Kbytes and RAM up to 80 Kbytes), and an extensive range of enhanced I/Os and peripherals connected to two APB buses.
The STM32L151xE and STM32L152xE devices offer two operational amplifiers, one 12-bit ADC, two DACs, two ultra-low-power comparators, one general-purpose 32-bit timer, six general-purpose 16-bit timers and two basic timers, which can be used as time bases.
Moreover, the STM32L151xE and STM32L152xE devices contain standard and advanced communication interfaces: up to two I2Cs, three SPIs, two I2S, three USARTs, two UARTs and an USB. The STM32L151xE and STM32L152xE devices offer up to 34 capacitive sensing channels to simply add a touch sensing functionality to any application.They also include a real-time clock and a set of backup registers that remain powered in Standby mode.
Finally, the integrated LCD controller (except STM32L151xE devices) has a built-in LCD voltage generator that allows to drive up to 8 multiplexed LCDs with the contrast independent of the supply voltage.
The ultra-low-power STM32L151xE and STM32L152xE devices operate from a 1.8 to 3.6 V power supply (down to 1.65 V at power down) with BOR and from a 1.65 to 3.6 V power supply without BOR option. They are available in the -40 to +85 °C and -40 to +105 °C temperature ranges. A comprehensive set of power-saving modes allows the design of low-power applications.
These features make the ultra-low-power STM32L151xE and STM32L152xE microcontroller family suitable for a wide range of applications:
• Medical and handheld equipment
• Application control and user interface
• PC peripherals, gaming, GPS and sport equipment
• Alarm systems, wired and wireless sensors, video intercom
• Utility metering
STM32L151xE和STM32L152xE主要特性:
• Ultra-low-power platform
– 1.65 V to 3.6 V power supply
– -40 ℃ to 105 ℃ temperature range
– 290 nA Standby mode (3 wakeup pins)
– 1.11 μA Standby mode + RTC
– 560 nA Stop mode (16 wakeup lines)
– 1.4 μA Stop mode + RTC
– 11 μA Low-power run mode down to 4.6 μA in Low-power sleep mode
– 195 μA/MHz Run mode
– 10 nA ultra-low I/O leakage
– 8 μs wakeup time
• Core: ARM® Cortex®-M3 32-bit CPU
– From 32 kHz up to 32 MHz max
– 1.25 DMIPS/MHz (Dhrystone 2.1)
– Memory protection unit
• Up to 34 capacitive sensing channels
• CRC calculation unit, 96-bit unique ID
• Reset and supply management
– Low-power, ultrasafe BOR (brownout reset) with 5 selectable thresholds
– Ultra-low-power POR/PDR
– Programmable voltage detector (PVD)
• Clock sources
– 1 to 24 MHz crystal oscillator
– 32 kHz oscillator for RTC with calibration
– Internal 16 MHz oscillator factory trimmed RC(+/-1%) with PLL option
– Internal low-power 37 kHz oscillator
– Internal multispeed low-power 65 kHz to 4.2 MHz oscillator
– PLL for CPU clock and USB (48 MHz)
• Pre-programmed bootloader
– USB and USART supported
• Up to 116 fast I/Os (102 I/Os 5V tolerant), all mappable on 16 external interrupt vectors
• Memories
– 512 KB Flash with ECC (with 2 banks of 256 KB enabling RWW capability)
– 80 KB RAM
– 16 KB of true EEPROM with ECC
– 128 Byte backup register
• LCD driver (except STM32L151xE devices) up to 8x40 segments, contrast adjustment, blinking mode, step-up converter
• Rich analog peripherals (down to 1.8 V)
– 2x operational amplifiers
– 12-bit ADC 1 Msps up to 40 channels
– 12-bit DAC 2 ch with output buffers
– 2x ultra-low-power comparators (window mode and wake up capability)
• DMA controller 12x channels
• 11x peripheral communication interfaces
– 1x USB 2.0 (internal 48 MHz PLL)
– 5x USART – 3x SPI 16 Mbits/s (2x SPI with I2S)
– 2x I2C (SMBus/PMBus)
• 11x timers: 1x 32-bit, 6x 16-bit with up to 4 IC/OC/PWM channels, 2x 16-bit basic timers, 2x watchdog timers (independent and window)
• Development support: serial wire debug, JTAG and trace
图1.STM32L151xE和STM32L152xE框图
开发板STM32L-DISCOVERY
The STM32L-DISCOVERY (order code STM32L-DISCOVERY) and the32L152CDISCOVERY (order code STM32L152C-DISCO) help you to discover the STM32Lultra low power features and to develop and share your applications. The STM32LDISCOVERYand 32L152CDISCOVERY are based on an STM32L152RBT6 (128 Kbytes ofFlash memory) and an STM32L152RCT6 (256 Kbytes of Flash memory), respectively.
They include an ST-LINK/V2 embedded debug tool interface, LCD (24 segments, 4commons), LEDs, pushbuttons, a linear touch sensor, and four touchkeys.
In this document, STM32L1 discovery refers both to the STM32L-DISCOVERY and to the32L152CDISCOVERY. STM32L-DISCOVERY and 32L152CDISCOVERY kits arefunctionally equivalent. The difference is the internal Flash memory size (128 Kbytes or256 Kbytes).
图2.开发板STM32L-DISCOVERY外形图
开发板STM32L-DISCOVERY主要特性:
• An STM32L152RBT6 (128 Kbyte Flash memory, 16 Kbyte RAM, 4 Kbyte dataEEPROM) or STM32L152RCT6 (256 Kbyte Flash memory, 32 Kbyte RAM, 8 Kbytedata EEPROM) microcontroller in a 64-pin LQFP package
• On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone STLINK/V2 (with SWD connector for programming and debugging)
• Board power supply: through USB bus or from an external 3.3 or 5 V supply voltage
• External application power supply: 3 V and 5 V
• IDD current measurement
• LCD
– DIP28 package
– 24 segments, 4 commons
• Four LEDs:
– LD1 (red/green) indicating USB communication
– LD2 (red) indicating that 3.3 V power supply is ON
– Two user LEDs, LD3 (green) and LD4 (blue)
• Two pushbuttons (user and reset)
• One linear touch sensor and four touchkeys
• Extension header for LQFP64 I/Os for quick connection to prototyping board and easy
Probing
图3.开发板STM32L-DISCOVERY框图
图4.开发板STM32L-DISCOVERY电路图(1)
图5.开发板STM32L-DISCOVERY电路图(2)
图6.开发板STM32L-DISCOVERY电路图(3):MCU
图7.开发板STM32L-DISCOVERY电路图(4):LCD
图8.开发板STM32L-DISCOVERY电路图(5):Idd测量
图9.开发板STM32L-DISCOVERY电路图(6)
图10.开发板STM32L-DISCOVERY PCB元件布局图:顶层
图11.开发板STM32L-DISCOVERY PCB元件布局图:底层 |
|
|
|
|
|
|