MC13213 and BeeStack Low Power Module

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

MC13213 and BeeStack Low Power Module

1,530 Views
Spell
Contributor I
Hi guys,

I'm starting to use the Low Power library in MAC codebase but I have a problem.

When I call one radio interface functions like PWRLib_RadioDozeReq or PWRLib_RadioAcomaDozeReq I'm not able to set the radio modem in Acoma or Doze state because both functions returns always an error...

Do you have any suggestion to me?

regards,
Filippo
Labels (1)
0 Kudos
Reply
1 Reply

366 Views
Mads
Contributor V
Spell,
 
if you look at these functions you will see that they call the low power functions in the MAC.
the MAC will return not sucess in case the MAC does not allow you to go to sleep.
 
the typical scenario is that your device is a RxOnWhenIdle device (e.g. a coordinator or router)
and not a polling end device. in this case you will not be allowed to sleep.
 
Please look at the 802.15.4 reference manual for details about these functions, and take a look at the MyStarNetwork demo that utilized the power lib.
 
BR,
Mads
0 Kudos
Reply