Hello All,
I am having a trouble with the nReset Pin during Deep Sleep. The issue is that the board is waking up from Deep Sleep due to floating nReset Pin. I am using a nrf52480.
Before going to a Deep Sleep I am making this nReset Pin to the following configuration:-
// Disable The GPIO needed for N_RESET_PIN
nrf_gpio_cfg( N_RESET_PIN,
NRF_GPIO_PIN_DIR_INPUT,
NRF_GPIO_PIN_INPUT_CONNECT,
NRF_GPIO_PIN_PULLUP,
NRF_GPIO_PIN_S0S1,
NRF_GPIO_PIN_NOSENSE);
However when in deep sleep I manually checked that the nReset pin is in floating or Pull Up mode using a multimeter. Connected a multimeter (supposed to be very high impedance) to between Vdd and nRESET. Measured 0V as expected.
Then connected multimeter between gnd and nRESET. Measured 2.2V, however the sensor started to advertise.
As per this observation it is seen that the Pin configuration is going to NO_PULL from PULLUP while calling a Deep Sleep Function sd_power_system_off().
Why does this happen ?. Is there a work around for this ?.
Thanks,
Aswin :)