chipKIT® Development Platform

Inspired by Arduino™

Hibernate wifi in WF32

Created Sat, 26 Apr 2014 12:20:25 +0000 by picman


picman

Sat, 26 Apr 2014 12:20:25 +0000

Hi, How to hibernate the wifi module in WF32 and reconnect later? Thanks.


Ian_B

Mon, 28 Apr 2014 21:06:42 +0000

From the WF32 Reference manual:

The active low HIBERNATE signal is used to power the WiFi module down and put it into a low power state.

Looking at the pinouts in the manual, this corresponds to digital pin 58 (RG01) on the WF32. So writing this pin LOW would put it into hibernate, and then writing it HIGH should take it out. I'm not sure if there is a function in an MPIDE library that does this already.


picman

Tue, 27 May 2014 09:27:45 +0000

Thanks for your help. Wifi goes into hibernation with a low signal on pin 58 (i can feel the wifi module cools down in few minutes), but sending high signal does not bring it back, it crashes.

Same thing with wifi reset (pin 59). After sending a momentary reset signal (low) and making it high again, wifi cannot connect.

I could have saved some power with hibernation, but looks like I'm out of luck.


majenko

Tue, 27 May 2014 12:42:55 +0000

I guess that after hibernation you have to go through the full initialization routines again, which either you're not, or aren't working a second time around.