怀揣少年梦 发表于 2024-3-13 10:11

【ST NUCLEO-U5A5ZJ-Q开发板测评】06 STM32U5系列的低功耗有多强

<div class='showpostmsg'> 本帖最后由 怀揣少年梦 于 2024-3-14 13:18 编辑

<article data-content="[{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;3060-1621846615933&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;p5PQ-1621846617594&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;这期主要了解一下STM32实现超低功耗的机制以及实测一下STM32U5各种低功耗模式低功耗数据。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;TGhl-1707200525854&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;lyKK-1707200525852&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;一、STM32U5A5官方功耗数据&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;1vIH-1710292378292&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;bEbA-1710292378291&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;STM32U5A5是一款超低功耗的Cortex-M33内核的MCU,属于STM32U5系列;STM32U5系列是新一代超低功耗MCU,并且也是设计最为复杂的低功耗MCU。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;EesF-1710292472467&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;4yNd-1710292472466&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;官方给出的功耗数据如图:停止模式都在微安级别;待机和关断模式都达到了nA级别;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;o8nF-1710292356436&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9174/WEBRESOURCE9efb71fde4fcdf9c8655abc8bb10312e&quot;,&quot;width&quot;:895,&quot;height&quot;:750,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9174/WEBRESOURCE9efb71fde4fcdf9c8655abc8bb10312e&quot;,&quot;initialSize&quot;:{&quot;width&quot;:895,&quot;height&quot;:750}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;2Y92-1710292030285&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:0}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;bDTD-1710292030283&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;二、STM32U5系列实现超功耗的原因&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;Peg9-1710292660313&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;1ABs-1710292660311&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;1、支持SMPS;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;ZBLx-1710293155654&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;WBip-1710293155653&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;STM32U5系列MCU支持在运行和低功耗模式下使用内部 SMPS,从而能够设计出非常高效的低功耗应用。注意带有“Q”后缀的 STM32U5系列器件(例如 STM32U5xxxxQ),低功耗设计可应用于工业智能流量计、健康及健身类穿戴产品、医疗监护设备、POS支付终端等对于功耗和安全性同时有高要求的场景。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;2BCF-1710292803527&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;NT9b-1710292803526&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;2、40nm先进工艺&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;WRTM-1710293165977&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;9FfF-1710293165976&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;我们知道越先进的工艺代表着功耗性能越好,之前的STM32采用90nm工艺制程,而STM32U5采用更先进40nm工艺,那功耗必然会降低,并同时改善了漏电流和动态电流。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;WFP8-1710292943917&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;z4XB-1710292943916&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;3、优化功耗管理&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;RCd5-1710293191083&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;3NPV-1710293191082&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;STM32U5改善了功耗管理模式,增加了低功耗后台自主模式(LPBAM,Low Power Background Autonomous Mode),和一些可以在低功耗下运行的外设和功能。STM32U5中有16kB SRAM作为低功耗后台的自主模式的存储空间,可以在CPU休眠的情况下,将I2C、SPI、串口、ADC等外设数据通过LPDMA传送至其中,然后当数据累积到一定数量时再唤醒CPU进行一次性批处理。通过避免频繁唤醒CPU,从而达到节省功耗的目的。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;l3UU-1710293051965&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;a1Kx-1710293051964&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;4、集成了高频率的DC/DC以及LDO。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;HrR4-1710293199293&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;slSN-1710293199292&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;通过集成高频率DC/DC,可减少VDD至内核供电的转换损耗,实现最优化的动态功耗和最快速的动态响应。而通过LDO,则可解决DC/DC启动时间较慢的弊端&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;k1ls-1710293202560&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;b3Wn-1710293202559&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;5、分区FLASH和SRAM&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;kmhQ-1710293234640&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;xWX8-1710293234639&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;类似LPRAM,提供分区的FLASH和SRAM,用户可以根据应用场景,将不常用的Flash关闭并按需开启,又或者通过降低FLASH读取速度降低功耗&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;D8G8-1710293401156&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;mKRw-1710293401155&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;bf9f-1707200453043&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:0}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;weLa-1707200453041&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;三、低功耗模式有哪些&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;NQmM-1710293407639&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;zMoX-1710293407638&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;1、睡眠模式&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;vIqS-1710293556589&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;If26-1710293556588&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;CPU 时钟关闭,包括 Cortex-M33 内核(例如 NVIC、SysTick 等)在内的所有外设都可以运行,并在发生中断或事件时唤醒 CPU。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;P00u-1710293556593&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;5ZQX-1710293556592&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;2、停机模式&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;JNi2-1710293556595&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;2jxt-1710293556594&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;停机模式基于 Cortex-M33 深度睡眠模式与外设时钟门控的组合。核心域中的所有时钟均停止。禁用 PLL、MSIS、MSIK、HSI16 和 HSE 振荡器,如果外设请求,则可以在停机 0、停机 1、或停机 2 模式下启用 MSIS、MSIK、HSI16。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;b3Gd-1710293556603&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;M4GA-1710293556602&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;低功耗后台自主模式(LPBAM)&quot;,&quot;marks&quot;:[{&quot;type&quot;:&quot;bold&quot;}]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;IA6e-1710293556605&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;5PeR-1710293556604&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;一些外设是自主的,可以在需要时通过请求其内核时钟(最高 24MHz 的 MSIK,或 HSI16)及其总线(APB 或AHB)而在停机 0、停机 1、或停机 2 模式下运行,以便与 DMA(GPDMA1 或 LPDMA1,取决于外设和功耗模式)传输数据。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;mmse-1710293556607&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;Go2g-1710293556606&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;3、 待机模式&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;WLPS-1710293556611&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;LUiv-1710293556610&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;待机模式实现在保留欠压复位功能时的最低功耗:关闭内部调压器,从而关闭核心域。PLL、MSI(MSIS 和MSIK)RC、HSI16 RC 和 HSE 晶振也会关闭。RTC 可保持激活状态。可选择保留 8、56 或 64 KB 的 SRAM2。可以施加内部上拉或下拉来保持 I/O 电平。唤醒后的系统时钟为 MSIS,最高 4MHz。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;aQ8v-1710293556615&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;BQIj-1710293556614&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;4、关断模式&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;aWee-1710293556617&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;2Gsi-1710293556616&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;关断模式下功耗达到最低。该模式基于深度睡眠模式,其中调压器被禁用。因此核心域断电。通过关闭内部稳压器,以及禁用耗电监控,该模式可实现最低电流消耗。借助某一个(共五个)唤醒引脚或复位引脚,能够从该模式唤醒。由低速外部振荡器(LSE)定时的 RTC 在此模式下也是起作用的,具有唤醒功能模式。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;guLV-1710293645533&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;kwrL-1710293645532&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;XgTS-1710293649328&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:0},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;Z3yv-1710293649326&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;四、实测功耗数据&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;Lp3L-1710293657409&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;lttx-1710293657408&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;1、配置工程&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;dqyo-1710293670771&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;UQxU-1710293670770&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;1)直接使用STM32CubeMX根据板子创建工程&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;yHJN-1710293798023&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9219/WEBRESOURCE892229bf8e12924005865aa659663c99&quot;,&quot;width&quot;:1551,&quot;height&quot;:842,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9219/WEBRESOURCE892229bf8e12924005865aa659663c99&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1551,&quot;height&quot;:842}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;N8gP-1710293798026&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;hfl1-1710293798025&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;2)不配置外设&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;400Y-1710293900625&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9223/WEBRESOURCE45a723be6d00ebf101ab1dc5b76c17b7&quot;,&quot;width&quot;:453,&quot;height&quot;:449,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9223/WEBRESOURCE45a723be6d00ebf101ab1dc5b76c17b7&quot;,&quot;initialSize&quot;:{&quot;width&quot;:453,&quot;height&quot;:449}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;Ff55-1710293900628&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;eNr8-1710293900627&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;最后产生工程即可&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;uwDI-1710293914003&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28},&quot;version&quot;:1},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;obni-1710293914002&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;3)在main函数里面添加如下代码&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;2NBm-1710294325574&quot;,&quot;name&quot;:&quot;code&quot;,&quot;data&quot;:{&quot;language&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;wrap&quot;:false},&quot;nodes&quot;:[{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;SLuC-1710294325573&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;iSCJ-1710294325572&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;  HAL_Delay(5000); //避免MCU上电后直接休眠无法唤醒\r\r&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;eQKs-1710294363726&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;wlGM-1710294363725&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;nEQn-1710294327733&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;QeCC-1710294327732&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;//HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY_WFI);&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;WA2s-1710294327735&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;d6aO-1710294327734&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;lHwe-1710294327737&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;hc97-1710294327736&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;//HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI);&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;W3Fl-1710294327739&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;xw9y-1710294327738&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;2CCw-1710294327741&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;UhBP-1710294327740&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;//HAL_PWREx_EnterSTOP1Mode(PWR_STOPENTRY_WFI);&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;yPpi-1710294327743&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;zueg-1710294327742&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;P889-1710294327745&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;G1ny-1710294327744&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;//HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI);&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;iT68-1710294327747&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;r4mO-1710294327746&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;vR74-1710294327749&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;5FTx-1710294327748&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;//HAL_PWREx_EnterSTOP3Mode(PWR_STOPENTRY_WFI);&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;z69e-1710294327751&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;hIr4-1710294327750&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;liiy-1710294327753&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;hv1m-1710294327752&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;//HAL_PWR_EnterSTANDBYMode();&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;TLtc-1710294327755&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;cmiw-1710294327754&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}]},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;coPH-1710294327757&quot;,&quot;name&quot;:&quot;code-line&quot;,&quot;data&quot;:{},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;MzPk-1710294327756&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;//HAL_PWREx_EnterSHUTDOWNMode();&quot;,&quot;marks&quot;:[]}]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;LiGf-1710293943784&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;PF3J-1710293943785&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;2、实测数据&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;pOZR-1710294379525&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;iXO8-1710294379524&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;默认时钟频率是16M&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;9vrs-1710256797688&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9139/WEBRESOURCE97a3d41c0787a4d7d97d0842520d1861&quot;,&quot;width&quot;:1913,&quot;height&quot;:821,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9139/WEBRESOURCE97a3d41c0787a4d7d97d0842520d1861&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1913,&quot;height&quot;:821},&quot;loading&quot;:false}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;GxsP-1710256797692&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;cudr-1710256797691&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;1)运行模式&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;5Mom-1710294434605&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;e3PC-1710294434604&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;16MHz运行模式 2.1mA;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;ucFJ-1710295022199&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9249/WEBRESOURCEd71f1362e16cbbd11ab32564ac4fb951&quot;,&quot;width&quot;:1279,&quot;height&quot;:1706,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9249/WEBRESOURCEd71f1362e16cbbd11ab32564ac4fb951&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1279,&quot;height&quot;:1706}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;LtEN-1710294494834&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;RHYH-1710294494832&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;160MHz 运行模式 7.4mA&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;Q0s8-1710295091201&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9251/WEBRESOURCE7cc218f21677070a110d4a7c4cfb09f6&quot;,&quot;width&quot;:1279,&quot;height&quot;:1706,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9251/WEBRESOURCE7cc218f21677070a110d4a7c4cfb09f6&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1279,&quot;height&quot;:1706}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;ggOQ-1710294517527&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;0VLK-1710294517526&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;2)休眠模式 1.9mA 和16M的运行模式差不多&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;OASx-1710295010245&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9246/WEBRESOURCEbedefbb315946152ce86ef4b63791d02&quot;,&quot;width&quot;:1279,&quot;height&quot;:1706,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9246/WEBRESOURCEbedefbb315946152ce86ef4b63791d02&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1279,&quot;height&quot;:1706}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;75eG-1710294570381&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;PeDT-1710294570380&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;3)停止模式&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;lwku-1710294591120&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;6x44-1710294591119&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;模式0和模式1功耗一致:  49.4uA;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;RaXi-1710295619258&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9253/WEBRESOURCE09e652a72a288d60bb3713f8ec28a69c&quot;,&quot;width&quot;:1279,&quot;height&quot;:1706,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9253/WEBRESOURCE09e652a72a288d60bb3713f8ec28a69c&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1279,&quot;height&quot;:1706}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;heWW-1710294628779&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;UAbI-1710294628778&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;模式2::20.5uA;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;9VVP-1710295627208&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9255/WEBRESOURCE03104ff12710996f4521cd68e32dc8bf&quot;,&quot;width&quot;:1279,&quot;height&quot;:1706,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9255/WEBRESOURCE03104ff12710996f4521cd68e32dc8bf&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1279,&quot;height&quot;:1706}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;1TBW-1710294653901&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;UdGH-1710294653900&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;模式3:7.2uA;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;KcJ5-1710295638160&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9257/WEBRESOURCE33bc27809c49579d4b6ce2cd0f75c664&quot;,&quot;width&quot;:1279,&quot;height&quot;:1706,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9257/WEBRESOURCE33bc27809c49579d4b6ce2cd0f75c664&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1279,&quot;height&quot;:1706}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;g0Kj-1710294664209&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;5pCL-1710294664208&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;sFq5-1710294666435&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;wRut-1710294666434&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;4)待机模式 0.6uA &quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;3heb-1710295647201&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9260/WEBRESOURCE051e3a14eeecb116a6c34e81f51d6cef&quot;,&quot;width&quot;:1279,&quot;height&quot;:1706,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9260/WEBRESOURCE051e3a14eeecb116a6c34e81f51d6cef&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1279,&quot;height&quot;:1706}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;mVUF-1710294681783&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;BnHz-1710294681782&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;5)关断模式 0.5uA&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;fCP5-1710295653211&quot;,&quot;name&quot;:&quot;image&quot;,&quot;data&quot;:{&quot;version&quot;:1,&quot;url&quot;:&quot;https://note.youdao.com/yws/res/9262/WEBRESOURCE39aa69b8658ac64df8dc1b96901466d8&quot;,&quot;width&quot;:1279,&quot;height&quot;:1706,&quot;fromIdentity&quot;:&quot;&quot;},&quot;nodes&quot;:[],&quot;state&quot;:{&quot;loading&quot;:false,&quot;renderSource&quot;:&quot;https://note.youdao.com/yws/res/9262/WEBRESOURCE39aa69b8658ac64df8dc1b96901466d8&quot;,&quot;initialSize&quot;:{&quot;width&quot;:1279,&quot;height&quot;:1706}}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;fbcv-1710294724017&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;LXs2-1710294724016&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}},{&quot;type&quot;:&quot;block&quot;,&quot;id&quot;:&quot;AYfm-1710294724162&quot;,&quot;name&quot;:&quot;paragraph&quot;,&quot;data&quot;:{&quot;style&quot;:{&quot;textIndent&quot;:28}},&quot;nodes&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;id&quot;:&quot;KRwf-1710294724161&quot;,&quot;leaves&quot;:[{&quot;text&quot;:&quot;总结,从数据来看,STM32U5A5的低功耗模式下电流是很小的,在一些应用上可以做到很省电,不得不说,国内还没有哪家可以做到这么低了。&quot;,&quot;marks&quot;:[]}]}],&quot;state&quot;:{}}]">
<p>这期主要了解一下STM32实现超低功耗的机制以及实测一下STM32U5各种低功耗模式低功耗数据。</p>

<p>一、STM32U5A5官方功耗数据</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STM32U5A5是一款超低功耗的Cortex-M33内核的MCU,属于STM32U5系列;STM32U5系列是新一代超低功耗MCU,并且也是设计最为复杂的低功耗MCU。</p>

<p>官方给出的功耗数据如图:停止模式都在微安级别;待机和关断模式都达到了nA级别;</p>

<p> &nbsp;</p>

<p>二、STM32U5系列实现超功耗的原因</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、支持SMPS;</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STM32U5系列MCU支持在运行和低功耗模式下使用内部 SMPS,从而能够设计出非常高效的低功耗应用。注意带有&ldquo;Q&rdquo;后缀的 STM32U5系列器件(例如 STM32U5xxxxQ),低功耗设计可应用于工业智能流量计、健康及健身类穿戴产品、医疗监护设备、POS支付终端等对于功耗和安全性同时有高要求的场景。</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、40nm先进工艺</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我们知道越先进的工艺代表着功耗性能越好,之前的STM32采用90nm工艺制程,而STM32U5采用更先进40nm工艺,那功耗必然会降低,并同时改善了漏电流和动态电流。</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、优化功耗管理</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STM32U5改善了功耗管理模式,增加了低功耗后台自主模式(LPBAM,Low Power Background Autonomous Mode),和一些可以在低功耗下运行的外设和功能。STM32U5中有16kB SRAM作为低功耗后台的自主模式的存储空间,可以在CPU休眠的情况下,将I2C、SPI、串口、ADC等外设数据通过LPDMA传送至其中,然后当数据累积到一定数量时再唤醒CPU进行一次性批处理。通过避免频繁唤醒CPU,从而达到节省功耗的目的。</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4、集成了高频率的DC/DC以及LDO。</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;通过集成高频率DC/DC,可减少VDD至内核供电的转换损耗,实现最优化的动态功耗和最快速的动态响应。而通过LDO,则可解决DC/DC启动时间较慢的弊端</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5、分区FLASH和SRAM</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;类似LPRAM,提供分区的FLASH和SRAM,用户可以根据应用场景,将不常用的Flash关闭并按需开启,又或者通过降低FLASH读取速度降低功耗</p>

<p>三、低功耗模式有哪些</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、睡眠模式</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CPU 时钟关闭,包括 Cortex-M33 内核(例如 NVIC、SysTick 等)在内的所有外设都可以运行,并在发生中断或事件时唤醒 CPU。</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、停机模式</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;停机模式基于 Cortex-M33 深度睡眠模式与外设时钟门控的组合。核心域中的所有时钟均停止。禁用 PLL、MSIS、MSIK、HSI16 和 HSE 振荡器,如果外设请求,则可以在停机 0、停机 1、或停机 2 模式下启用 MSIS、MSIK、HSI16。</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;低功耗后台自主模式(LPBAM)</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一些外设是自主的,可以在需要时通过请求其内核时钟(最高 24MHz 的 MSIK,或 HSI16)及其总线(APB 或AHB)而在停机 0、停机 1、或停机 2 模式下运行,以便与 DMA(GPDMA1 或 LPDMA1,取决于外设和功耗模式)传输数据。</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、 待机模式</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;待机模式实现在保留欠压复位功能时的最低功耗:关闭内部调压器,从而关闭核心域。PLL、MSI(MSIS 和MSIK)RC、HSI16 RC 和 HSE 晶振也会关闭。RTC 可保持激活状态。可选择保留 8、56 或 64 KB 的 SRAM2。可以施加内部上拉或下拉来保持 I/O 电平。唤醒后的系统时钟为 MSIS,最高 4MHz。</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4、关断模式</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关断模式下功耗达到最低。该模式基于深度睡眠模式,其中调压器被禁用。因此核心域断电。通过关闭内部稳压器,以及禁用耗电监控,该模式可实现最低电流消耗。借助某一个(共五个)唤醒引脚或复位引脚,能够从该模式唤醒。由低速外部振荡器(LSE)定时的 RTC 在此模式下也是起作用的,具有唤醒功能模式。</p>

<p>四、实测功耗数据</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、配置工程</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1)直接使用STM32CubeMX根据板子创建工程</p>

<p> &nbsp;</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2)不配置外设</p>

<p> &nbsp;</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后产生工程即可</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3)在main函数里面添加如下代码</p>

<pre>
<code>HAL_Delay(5000);
        //HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY_WFI);

        //HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI);

        //HAL_PWREx_EnterSTOP1Mode(PWR_STOPENTRY_WFI);

       //HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI);

        //HAL_PWREx_EnterSTOP3Mode(PWR_STOPENTRY_WFI);

        //HAL_PWR_EnterSTANDBYMode();

        //HAL_PWREx_EnterSHUTDOWNMode();</code></pre>

<p>2、实测数据</p>

<p>默认时钟频率是16M</p>

<p> &nbsp;</p>

<p>1)运行模式</p>

<p>16MHz运行模式 2.1mA;</p>

<p> &nbsp;</p>

<p>160MHz 运行模式 7.4mA</p>

<p> &nbsp;</p>

<p>2)休眠模式 1.9mA 和16M的运行模式差不多</p>

<p> &nbsp;</p>

<p>3)停止模式</p>

<p>模式0和模式1功耗一致: 49.4uA;</p>

<p> &nbsp;</p>

<p>模式2::20.5uA;</p>

<p> &nbsp;</p>

<p>模式3:7.2uA;</p>

<p> &nbsp;</p>

<p>4)待机模式 0.6uA</p>

<p> &nbsp;</p>

<p>5)关断模式 0.5uA</p>

<p> &nbsp;</p>

<p>总结,从数据来看,STM32U5A5的低功耗模式下电流是很小的,在一些应用上可以做到很省电,不得不说,国内还没有哪家可以做到这么低了。</p>

<p>工程文件:</p>

<div></div>
</article>
</div><script>                                        var loginstr = '<div class="locked">查看本帖全部内容,请<a href="javascript:;"   style="color:#e60000" class="loginf">登录</a>或者<a href="https://bbs.eeworld.com.cn/member.php?mod=register_eeworld.php&action=wechat" style="color:#e60000" target="_blank">注册</a></div>';
                                       
                                        if(parseInt(discuz_uid)==0){
                                                                                                (function($){
                                                        var postHeight = getTextHeight(400);
                                                        $(".showpostmsg").html($(".showpostmsg").html());
                                                        $(".showpostmsg").after(loginstr);
                                                        $(".showpostmsg").css({height:postHeight,overflow:"hidden"});
                                                })(jQuery);
                                        }                </script><script type="text/javascript">(function(d,c){var a=d.createElement("script"),m=d.getElementsByTagName("script"),eewurl="//counter.eeworld.com.cn/pv/count/";a.src=eewurl+c;m.parentNode.insertBefore(a,m)})(document,523)</script>

小生意 发表于 2024-3-13 11:20

<p>全是英文完全看不懂版主厉害</p>

<p>要是可以吧英文知识复制到我大脑就好了</p>

怀揣少年梦 发表于 2024-3-13 13:03

小生意 发表于 2024-3-13 11:20
全是英文完全看不懂版主厉害

要是可以吧英文知识复制到我大脑就好了

<p>借助翻译软件,基本上还是可以看懂的</p>
页: [1]
查看完整版本: 【ST NUCLEO-U5A5ZJ-Q开发板测评】06 STM32U5系列的低功耗有多强