版本:simplelink_cc13x2_26x2_sdk_4_30_00_54
cc1352p里面的zigbee 终端如何进入sleep,设置sleep时间,设置sleep模式,唤醒sleep的代码在哪里,没有找到。。。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
版本:simplelink_cc13x2_26x2_sdk_4_30_00_54
cc1352p里面的zigbee 终端如何进入sleep,设置sleep时间,设置sleep模式,唤醒sleep的代码在哪里,没有找到。。。
1. 基本上application如果有喚醒事件,或是GPI觸發就會醒來,這樣application還需要控制sleep多久?
2. 沒有
3. 是
4. 可以用Power_setConstraint
1 请问您为何要控制sleep时长?一般都是中断或者其他事件来自动唤醒的
2 您可以看一下数据手册
3 是的,您的理解是正确的
4 建议您看一下例程内的相关API,另外请您参考文档
Z-Stack End Device Power Consumption Measurement With the SimpleLink™ Wireless MCU Family
1. 可以參考 pinstandby 例程
2. M4 cpu和sensor controller是独立的,所以M4可以是sleep狀態也可以不是,如果M4 cpu是sleep狀態,sensor controller有消息要通知M4 cpu的时候,可以去唤醒M4 cpu
3. 最新的協議棧我記得polling預設是3秒