Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Combo Forum Discussions

cohuc_3807591
Level 3
Level 3
5 likes given First like given

Hello All:

I was wondering about some of the best practices around using the hibernate APIs on 43907. Is it necessary to bring the network down and call wiced_deinit() (or some other combo of functions to bring down all of the resources associated with initialization) before going into hibernate state or does going into hibernate do that sortof implicitly? The example given is great, but im just looking for some extra info on integrating into a more complex application. Thanks in advance!

0 Likes
1 Solution
PriyaM_16
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

In hibernation, all the blocks are powered off expect the HIB block itself. The HIB block signals the PMU to turn off the chip and turn on again after exiting from hibernation. Upon startup the device goes through cold boot sequence. So it is not necessary to bring network down and call wiced deinit but it would be advisable to make sure your work is done before entering hibernation because no state is saved during hibernation other than the logic state of HIB block.

View solution in original post

1 Reply
PriyaM_16
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

In hibernation, all the blocks are powered off expect the HIB block itself. The HIB block signals the PMU to turn off the chip and turn on again after exiting from hibernation. Upon startup the device goes through cold boot sequence. So it is not necessary to bring network down and call wiced deinit but it would be advisable to make sure your work is done before entering hibernation because no state is saved during hibernation other than the logic state of HIB block.