Hi
I am making some low-power wireless sensors powered by coin cells, which will sleep for long intervals between readings/transmits. I am using the micro ESB libraries without a softdevice. Because I want the sensor to wake up without external input, I am putting the system into SYSTEM ON ,waking up after a defined interval.
-I have successfully got the sensors to communicate with a base station with the micro USB libraries
-
I have successfully put them into SYSTEM ON sleep-mode, wake up after an interval, and transmit a new reading, but this is with HFCLK on and therefore draws ~1mA
-
I have successfully turned off the TWI peripheral and the HFCLK before going into SYSTEM ON, and driven current consumption down to ~3uA (great!)
-
BUT when the sensors no longer communicate with the base station if I have turned the HFCLK off before going into SYSTEM ON
I think there is something that I should be doing to prepare the radio before going into SYSTEM ON, or wake it up properly afterwards, but am unsure what.
- What is the correct sequence of instructions to put the system to sleep with HFCLK off, and wake it back up again, if I am using micro esb without a softdevice?
- Do it need to shutdown and reinitialise the radio?