查看EFM32的源代码
←
EFM32
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== Low Power == === Notes === <source lang=cpp> void loop() { EMU_EnterEM2(true); INFOLN("wakeup em2"); } </source> EnterEM2 后,正常应该进入睡眠。但在接调试口时,大部分时间进不了,会持续打印 wakeup em2 电源供电,大概率会进入睡眠,被唤醒后的入口点,首先进入 RTCDRV_StartTimer 设定的韩式,然后回到睡眠点,打印 wakeup em2,不会重入 setup() <br> === Energy Mode === * EM0 (Run Mode): 114 µA/MHz; All peripherals can be active * EM1 (Sleep Mode): 48 µA/MHz; All peripherals, including DMA, PRS and memory system, are still available * EM2 (Deep Sleep Mode): 0.9 µA; High-Frequency Oscillator is turned off, 32.768 kHz oscillator running, selected low energy peripherals (RTC, LEUART, I2C, WDOG, ACMP and PCNT) are still available. RTC, Power-on Reset, Brown-out Detection and full RAM and CPU retention is also included. * EM3 (Stop Mode): 0.5 µA; Low-Frequency Oscillator is disabled, but there is still '''full CPU and RAM retention''', as well as Power-on Reset, '''Pin reset''', '''EM4 wake-up''' and Brown-out Detection. The '''low-power ACMP''', asynchronous external interrupt, PCNT, and '''I2C can wake-up the device''' * EM4 (Shutoff Mode): 20nA; Pin reset, GPIO pin wake-up, GPIO pin retention and the PowerOn Reset are available. All pins are put into their reset state. <br> === ADC === * 3s 测一次,持续电流:3mA <br> === LoRa === * 1min 一个点,20dBm,无 EM,持续 4.73mA,峰值 138mA * 1min 一个点,20dBm,loop 中 EMU_EnterEM2(true) 后,持续 1.73mA,峰值 138mA * 1min 一个点,20dBm,loop 中 EMU_EnterEM2(true) 后,持续 1.73mA,加 spi_end() 无变化 * 1min 一个点,20dBm,loop 中 EMU_EnterEM2(true) 后,持续 1.73mA,加 spi_end() + spi_pin 都拉低,无变化 * 1min 一个点,20dBm,loop 中 EMU_EnterEM2(true) 后,持续 1.73mA,加 sx127x.setSleepMode(),电流变为 0.22mA * 1min 一个点,20dBm,loop 中 EMU_EnterEM2(true) 后,持续 1.73mA,加 sx127x.setSleepMode() + wire_end(),电流降低为 54.6 uA * 1min 一个点,20dBm,loop 中 EMU_EnterEM2(true) 后,持续 1.73mA,加 sx127x.setSleepMode() + wire_end() + dev_pwr_off(),sht2x 还有供电,电流低为 0.5 uA <br> === Testing Note === * 20191115, autoeco-p,90s interval,15h,0.148Wh (5V),0.00986667Wh/h;For 8000mAh@3.6V battery = 28.8 Wh, 28.8/0.00986667 = 2918.9h = 121.6days ... * 20191115 11:34 - 20191127 13:34, autoeco-th,20s interval,290h, 15.805Wh (5V), 0.0545Wh/h; For 8000mAh@3.6V battery = 28.8 Wh, 28.8/0.0545 = 528.4h = 22 days ... * 20191128 15:26 - , autoeco-th, 10s interval, <br>
返回到
EFM32
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面