Power Lib for SMAC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Power Lib for SMAC

3,266 Views
kaiki
Contributor I
Hi,
Is there a direct implementation of the PWRLIB library for the SMAC?
Thanks,
K
Labels (1)
0 Kudos
Reply
2 Replies

535 Views
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 Kudos
Reply

534 Views
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 Kudos
Reply