完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
nrf51822芯片datasheet原文,说是系统可以设置在System OFF MODE,此模式下CPU停止,外设运行,RAM数据保存,是最省电的睡眠,系统可以被GPIO的detect信号唤醒而后重启,原文如下:
System OFF is the deepest power saving mode the system can enter. In this mode, the system’s core functionality is powered down and all ongoing tasks are terminated. The only mechanism that is functional and responsive in this mode is the reset mechanism. One or more blocks of the RAM can be retained in System OFF mode depending on the settings in the RAMON register. The system can be woken up from system OFF mode either from the DETECT signal generated by the GPIO peripheral, or from a reset. When the system wakes up from OFF mode, a system reset is performed. 库函sd_power_system_off()的函数说明是:Puts the chip in System OFF mode. 我用这个函数点灯基本确定CPU是睡下去了,但是GPIO中断没有唤醒起来。 芯片GPIO关于DETECT信号有这样的说明,如下: ORT is an event that can be generated from multiple input pins using the GPIO DETECT signal. The event will be generated on the rising edge of the DETECT signal. See section 13.1 on page 55 for more information about the DETECT signal. This feature is always enabled although the peripheral itself appears to be IDLE, that is, no clocks or other power intensive infrastructure have to be requested to keep this feature enabled. This feature can therefore be used to wake-up the CPU from a WFI or WFE type sleep in System ON with all peripherals and the CPU idle, that is, lowest power consumption in System ON mode. 我个人觉得,detect信号就是一个高低电平,GPIO原文也说这个DETECT信号可以将CPU从睡眠模式唤醒,但是实际却还是没有唤醒。希望有搞这一块的朋友帮一起看看,或者加QQ312382027讨论一下。谢谢哈 |
|
相关推荐
7个回答
|
|
|
|
|
|
此外,蓝牙好几个Demo应用软件中有个power_manage()的应用,小弟看了这是调用库函数
,关于这个函数nordic官网SDK提供的API手册说明如下:
See AlsoCMSIS_SCBNoteIf an application interrupt has happened since the last time sd_app_evt_wait was called this function will return immediately and not go to sleep. This is to avoid race conditions that can occur when a flag is updated in the interrupt handler and processed in the main loop.PostconditionAn application interrupt has happened or a interrupt pending flag is set.Return values
小弟英文水平有限,看了几遍也没看明白这个函数到底有什么作用?如何用? 哪位大哥大姐大神,百忙中能抽点空,帮看看讨论讨论,拜谢哪。 |
|||||
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
http://www.trtos.com/web/wp/?p=792
|
|
|
|
少年,给个链接你,希望能帮到你http://www.trtos.com/web/wp/?p=792
|
|
|
|
只有小组成员才能发言,加入小组>>
如何使用STM32+nrf24l01架构把有线USB设备无线化?
2429 浏览 7 评论
请问能利用51单片机和nRF24L01模块实现实时语音无线传输吗?
2209 浏览 5 评论
2959 浏览 3 评论
2655 浏览 8 评论
为什么ucosii上移植lwip后系统进入了HardFault_Handler?
2624 浏览 4 评论
请教各位大咖:有没有接收频率32M左右的芯片推荐的?先感谢啦!
409浏览 1评论
671浏览 0评论
741浏览 0评论
459浏览 0评论
265浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-17 10:20 , Processed in 1.202434 second(s), Total 88, Slave 73 queries .
Powered by 电子发烧友网
© 2015 www.ws-dc.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号