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

How To Remove Debug Interface on NRF52832

Hello,

I can successfully put my nRF52832 into System OFF mode, however, the Debug Mode Interface is still running, so the current consumption is > 2mA. What are the command(s)/Soft Device APIs to truly take the system out of Debug Mode? I'm using SDK v11.0.0 and S132. I'm reading a lot of information on other posts, but none that pertain to SDK v11.0.0 with the Soft Device running S132. Please assist, thank you. 

Please note, I've already tried removing all the debug hardware and battery after flashing and re-attaching the battery, but still not getting the correct results. Thanks!

Best,

Sami

Parents Reply
  • Oh, then my code is incorrect? You mention that I need to set the GPIO pins as inputs. Therefore I need to remove my call to nrf_gpio_input_disconnect( pinID ) and replace with: 

    nrf_gpio_cfg_watcher( pinID ); // Set GPIO pins as inputs

    gpio_interrupt_disable( pinID ); // Disable interrupts

    nrf_drv_gpiote_in_uninit( pinID ); // Uninitialize

    Can you please confirm? Thanks!

Children
Related