Hello, I discovered strange behaviour related to reset pin on my nrf52833 prototype and SDK17. My board has only reset button connected to reset input and 10K pull-up resistor.
App is built with CONFIG_GPIO_AS_PINRESET and BOARD_CUSTOM directives and #define BSP_BTN_BLE_ENABLED 0 in sdk_config.h. My custom_board.h is just a copy of pca10100.h.
My application blinks LED once at start of main. When I apply reset, I noticed that LED blinks only every second time I push reset button.
When I investigate using power profiler, "failed" reset shows some activity lasting around 200ms where average current is around 330uA and after that current drops to 0.7uA and app hangs forever. I presume device is in system off state at this stage, based on such low current. In this state I apply reset again and app starts working fine.
By the way, before target programming using Jlink, I do "erase all" before download, making sure that my previously installed DFU secure bootloader is removed.
Is there any explanation for this behaviour?
thanks