This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 / GPIOTE / doesn't wake-up properly

Hello,

My custom board is based on an accelerometer which sends interrupts to nrf52832 to Sleep and Wake-up (pins GPIOTE).

(The FW is based on SDK15\examples\ble_peripheral\ble_app_uart)

The interrupts work ok.

If I upload the FW and connect to my app in nRF Connect then it works ok.

Once the MCU enter it Sleep mode then my app disappears from nRF Connect list ->ok

The problem is,once the system wakes-up, my app appears again in nRF Connect but impossible to connect in nRF Connect!  (it even blocks nRF Connect)

Here what I do to go to Sleep:

    nrf_drv_twi_disable(&m_twi);       //disable TWI for Low power mode
    sd_power_system_off();           //go in Low power mode

It's like this Sleep mode (or Wake-up) is missing something ...

Any idea?

Thanks.

Parents Reply Children
Related