hi ... i am using nRF52832 ,i want to save the battery so i am planning to use system off mode . how to wake up the device from system off mode using threshold value or either system on mode
is it possible ? how to do
Thanks in advance
hi ... i am using nRF52832 ,i want to save the battery so i am planning to use system off mode . how to wake up the device from system off mode using threshold value or either system on mode
is it possible ? how to do
Thanks in advance
In system OFF the chip can wake up by the ANADETECT signal, created by the LPCOMP peripheral: http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=2_1_0_17_1#unique_1707892264
And from the LPCOMP peripheral:
The LPCOMP can wake up the system from System OFF by asserting the ANADETECT signal. The ANADETECT signal can be derived from any of the event sources that generate the UP, DOWN and CROSS events. In case of wakeup from System OFF, no events will be generated, only the ANADETECT signal. See the ANADETECT register (ANADETECT) for more information on how to configure the ANADETECT signal.
And here is an example in the SDK demonstrating the use of LPCOMP: http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lpcomp_example.html?cp=4_0_0_4_5_17
Can we wake up by using threshold value
Ok, so I think you are finished with you code now. It goes to sleep in the idle_state_handle() and wake up using app_timer interrupt.
Using LED pin for what?
led pin to wake up the device from system off mode ..as per option 1
Not sure what "led pin" is, but yes you can wake the chip up from system OFF using a GPIO pin interrupt signal from the temperature sensor.
How to do that can you explain me
How to do that can you explain me