基于STM8L15xxx设计的超低功耗8位MCU开发方案

基于stm8l15xxx设计的超低功耗8位mcu开发方案
st公司的stm8l15xxx是超低功耗8位mcu系列,采用先进的stm8内核,动态功耗为192 μa/mhz,16mhz cpu时钟的性能高达16 mips, 工作电压从1.8 v 到3.6 v (低至1.65 v ),多达32kb嵌入闪存程序存储器,主要用在医疗和手提设备,pc外设,游戏机,gps,告警系统,有线和无线传感器.本文介绍了stm8l15xxx主要特性,方框图, 时钟树框图和超低功耗stm8l15lpboard演示板主要特性,详细电路图.
the stm8l15xxx devices are members of the stm8l ultralow power 8-bit family. they are referred to as medium-density devices in the stm8l15xxx reference manual (rm0031) and in the stm8l flash programming manual (pm0054). they provide the following benefits:
● integrated system
– up to 32 kbytes of medium-density embedded flash program memory
– 1 kbyte of data eeprom
– internal high speed and low-power low speed rc.
– embedded reset
● ultralow power consumption
– 192 μa/mhz (dynamic consumption)
– 1 μa in active-halt mode
– clock gated system and optimized power management
– capability to execute from ram for low power wait mode and low power run mode
● advanced features
– up to 16 mips at 16 mhz cpu clock frequency
– direct memory access (dma) for memory-to-memory or peripheral-to-memory access.
● short development cycles
– application scalability across a common family product architecture with compatible pinout, memory map and modular peripherals.
– wide choice of development tools
the stm8l15xxx family operates from 1.8 v to 3.6 v (down to 1.65 v at power down) and is available in the -40 to +85℃ and -40 to +125℃ temperature ranges.
the stm8l15xxx ultralow power family features the enhanced stm8 cpu core providing increased processing power (up to 16 mips at 16 mhz) while maintaining the advantages of a cisc architecture with improved code density, a 24-bit linear addressing space and an optimized architecture for low power operations.
the family includes an integrated debug module with a hardware interface (swim) which allows non-intrusive in-application debugging and ultrafast flash programming.all stm8l15xxx microcontrollers feature embedded data eeprom and low power lowvoltage single-supply program flash memory.
the stm8l15xxx family 8-bit microcontrollers incorporate an extensive range of enhanced i/os and peripherals. all devices offer 12-bit adc, dac, two comparators, real-time clock three 16-bit timers, one 8-bit timer as well as standard communication interface such as spi, i2c and usart. a 4x28-segment lcd is available on the stm8l152xx line.
the modular design of the peripheral set allows the same peripherals to be found in different st microcontroller families including 32-bit families. this makes any transition to a different family very easy, and simplified even more by the use of a common set of development tools.
these features make the stm8l15xxx 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
stm8l15xxx 主要特性:
■ operating conditions
– operating power supply range 1.8 v to 3.6 v (down to 1.65 v at power down)
– temperature range: - 40℃ to 85 or 125℃
■ low power features
– 5 low power modes: wait , low power run (5.1 μa), low power wait (3 μa), active-halt with full rtc (1.3 μa), halt (350 na)
– dynamic consumption: 195 μa/mhz+440μa
– ultralow leakage per i/0: 50 na
– fast wakeup from halt: 4.7 μs
■ advanced stm8 core
– harvard architecture and 3-stage pipeline
– max freq. 16 mhz, 16 cisc mips peak
– up to 40 external interrupt sources
■ reset and supply management
– low power, ultrasafe bor reset with 5 selectable thresholds
– ultralow power por/pdr
– programmable voltage detector (pvd)
■ clock management
– 1 to 16 mhz crystal oscillator
– 32 khz crystal oscillator
– internal 16 mhz factory-trimmed rc
– internal 38 khz low consumption rc
– clock security system
■ low power rtc
– bcd calendar with alarm interrupt
– auto-wakeup from halt w/ periodic interrupt
■ lcd: up to 4x28 segments w/ step-up converter
■ memories
– up to 32 kb of flash program memory and 1 kbyte of data eeprom with ecc, rww
– flexible write and read protection modes
– up to 2 kbytes of ram
■ dma
– 4 channels; supported peripherals: adc,dac, spi, i2c, usart, timers
– 1 channel for memory-to-memory
■ 12-bit dac with output buffer
■ 12-bit adc up to 1 msps/25 channels
– t. sensor and internal reference voltage
■ 2 ultralow power comparators
– 1 with fixed threshold and 1 rail to rail
– wakeup capability
■ timers
– two 16-bit timers with 2 channels (used as ic, oc, pwm), quadrature encoder
– one 16-bit advanced control timer with 3 channels, supporting motor control
– one 8-bit timer with 7-bit prescaler
– 2 watchdogs: 1 window, 1 independent
– beeper timer with 1, 2 or 4 khz frequencies
■ communication interfaces
– synchronous serial interface (spi)
– fast i2c 400 khz smbus and pmbus
– usart (iso 7816 interface and irda)
■ up to 41 i/os, all mappable on interrupt vectors
■ up to 16 capacitive sensing channels with free firmware
■ development support
– fast on-chip programming and non intrusive debugging with swim
– bootloader using usart
■ 96-bit unique id
图1.stm8l15xxx方框图
图2.stm8l15x时钟树框图
stm8l15lpboard超低功耗演示板
stm8l15lpboard low-power demonstration board the stm8l15lpboard low-power demonstration board demonstrates all the stm8l15x low-power modes, and permits the user to take consumption measurements in all modes.
stm8l15lpboard演示板主要特性:
■ swim debug support
■ mcu consumption auto-measurement circuit
■ function and wakeup buttons
■ 32.768 khz quartz
■ mcu pins connector
图3.stm8l15lpboard演示板外形图
图4.stm8l15lpboard(mb870b)电路图(1)
图5.stm8l15lpboard(mb870b)电路图(2)
图6.stm8l15lpboard(mb870b)电路图(3)
图7.stm8l15lpboard(mb870b)电路图(4)
图8.stm8l15lpboard(mb870b)电路图(5)
图9.stm8l15lpboard(mb870b)电路图(6)

CPU的基本组成和工作过程
改善散热结构提升白光LED使用寿命
基于范德华隧道二极管的宽带微型光谱仪开发
一种采用FPGA/DSP的灵巧干扰平台设计与实现
普源精电RIGOL示波器电流探头PCA1150的测量步骤详解
基于STM8L15xxx设计的超低功耗8位MCU开发方案
荣耀10评测 到底怎么样
西井科技发布全球首款全时无人驾驶电动重卡
STM32的时钟系统分析
BBC第一次尝试VR喜剧 表明VR可以搭配任何类型的作品
CMOS图像传感器将服务于感知领域 激光雷达(LiDAR)的事件导向方法
大众速腾,马自达昂克赛拉这几款车绝对是省油高手!
数据的价值到底有多大?大数据特征是什么
采用数据集中器设计为智能电网提供电力线通信
基于深度学习的智能机器人导航和感知
机械工程:用户和AI技术的放大效应
家电网购渗透率显著提高,预计2020年有望超过50%
基于光端机传输的收费站全光纤传输系统改造设计
苹果A14处理器将基于台积电5nm工艺制造 且总产量将比A13高出约50%到60%
【新品发布】泰酷辣!BGA封装核心板,你见过吗?