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

nRF52805 can't enter into sleep mode

Excuse me, I use BSP_EVENT_KEY_0 to get into the sleep mode, however, it will go to the NRF_BREAKPOINT_COND and then reset the device;.
case BSP_EVENT_KEY_0:
SEGGER_RTT_printf(0,"long push\n");
nrf_gpio_pin_set(18);
sleep_mode_enter();
I defined the DEBUG in app_error_weak to find out the bug , the information it output is ERROR 8198 [Unknown error code] at :000> PC at: 0x00000000End of error report
I try to close the softdevice, twi and uart/uartE, however, it still doesn't work.
I have uploaded my code to the github, the example I use is in nRF52805_sleep/examples/ble_peripheral/ble_app_hids_mouse/pca10040e_nRF52805/s112/arm5_no_packs/
The address of my code in github is https://github.com/1436294280/nRF52805_sleep
Hope you can help me:)
Parents Reply Children
Related