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
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
One more,, i tried to advertise when i need to send data using fimer . I have tried alot after advertising , data is not transfering i am getting fatal error why ? I need to advdrtise only when i need then send the data and disconnect . flow like check the threshold using timer ----advertise start -----if connected-----send the data ----and then disconnect .. i am achieving upto connected state after that i am getting fatal error . How to solve ? Is this possible?
One more,, i tried to advertise when i need to send data using fimer . I have tried alot after advertising , data is not transfering i am getting fatal error why ? I need to advdrtise only when i need then send the data and disconnect . flow like check the threshold using timer ----advertise start -----if connected-----send the data ----and then disconnect .. i am achieving upto connected state after that i am getting fatal error . How to solve ? Is this possible?