init/de-init around hibernate in CYW43907

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

cross mob
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
250 replies posted 100 replies posted 50 replies posted

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
250 replies posted 100 replies posted 50 replies posted

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.