Power Lib for SMAC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Power Lib for SMAC

3,631 次查看
kaiki
Contributor I
Hi,
Is there a direct implementation of the PWRLIB library for the SMAC?
Thanks,
K
标签 (1)
0 项奖励
回复
2 回复数

900 次查看
xevi
Contributor I
Hi,
in SMAC there are primitives like: MLMEHibernateRequest or MLMEWakeRequest or.....  These functions can be used to change the transiver power mode, also you can use the STOP modes to sleep the microprocessor. 
 
I hope to be usefull!
 
bye.
0 项奖励
回复

899 次查看
kaiki
Contributor I
Hi,
So when I'm ready to put the MCU to sleep I am completely switching off the Radio with a reset so I don't need to HibernateRequest or wakeRequest.

However the problem I am having is to have a RTI timer running while the mcu is in Stop2 and have that wake me up. Are there any samples out there that show how to do this?

But here is the greater problem I'm trying to solve :
I need to switch on once in a while and listen for any data specifically for me and go back to sleep if there isn't anything.
The only problem is that my environment is quite noisy (lots of 802.15.4 packets flying around) so its going to be a real current drain to listen for a packet, decode it and discard the ones not meant for me and go back to sleep.
Receive mode is a costly 37 mA and an active run mode on the MCU to decode and discard a packet.

Can anyone suggest any strategies to minimize current drain in this scenario?
0 项奖励
回复