wx_J33khZuS 发表于 2015-6-10 14:53:16

csr1010睡眠模式唤醒问题

本帖最后由 wx_J33khZuS 于 2015-6-10 14:54 编辑

我让csr1010进入睡眠模式后,wake pin无法唤醒,求大神指点
我用按键触发休眠:

初始化按键,设置wake pin:

在 AppProcessSystemEvent()中处理按键事件和唤醒事件,
唤醒我使用的还是pio 11。
我要用按键唤醒,还需要做哪些事情?





xxhuan_2003 发表于 2015-6-10 18:27:52

if the application requests Dormant, In this state the device will *only* wake up if there is an external event on the WAKE pin.
就是说进入dormant方式,只有WAKEUP那个IC脚可以唤醒,普通IO不能唤醒的

wx_J33khZuS 发表于 2015-6-10 18:39:45

xxhuan_2003 发表于 2015-6-10 18:27
if the application requests Dormant, In this state the device will *only* wake up if there is an e ...

wake pin具体需要怎么设置呢?文档里我没有发现设置方法

xxhuan_2003 发表于 2015-6-10 20:17:47

wx_J33khZuS 发表于 2015-6-10 18:39
wake pin具体需要怎么设置呢?文档里我没有发现设置方法

Wakeup PIN不能设置!!!不能当按键用,仅仅用来唤醒dormant模式

xxhuan_2003 发表于 2015-6-10 20:18:32

xxhuan_2003 发表于 2015-6-10 20:17
Wakeup PIN不能设置!!!不能当按键用,仅仅用来唤醒dormant模式

是仅仅能当唤醒用!!!

wx_J33khZuS 发表于 2015-6-11 09:05:25

xxhuan_2003 发表于 2015-6-10 20:18
是仅仅能当唤醒用!!!

谢谢,我再试试

wx_J33khZuS 发表于 2015-6-15 18:35:05

xxhuan_2003 发表于 2015-6-10 20:17
Wakeup PIN不能设置!!!不能当按键用,仅仅用来唤醒dormant模式


是这个脚才是唯一的wake pin 吗?




xxhuan_2003 发表于 2015-6-16 10:11:25

我只知道dormant只有wakeup能唤醒,普通IO不可以唤醒的

wx_J33khZuS 发表于 2015-6-16 10:19:38

xxhuan_2003 发表于 2015-6-16 10:11
我只知道dormant只有wakeup能唤醒,普通IO不可以唤醒的

对啊,只讲dormant用wake pin唤醒,其他的就没有了

wangbobo 发表于 2017-8-2 18:03:24


请问一下怎么才能进入deep sleep模式,是这个函数吗SleepModeChange(sleep_mode_deep)?文档上说需要配置的PIO去唤醒,是哪个函数配置的?
页: [1] 2
查看完整版本: csr1010睡眠模式唤醒问题