NRF52805 RESET as a GPIO

Hello Team,

I want know how to use RESET pin [pin. no. 21] as a GPIO.

I followed below thread but it not work for me!

devzone.nordicsemi.com/.../disabling-pin-21-of-nrf52832

[ I have placed #define CONFIG_GPIO_AS_PINRESET in sdk_config.h ]

please let me know what kind of changes I have to make to use RESET pin as a GPIO in NRF52805.

I am using SDK15.2.0 and MDBT42T-DB-05 from RAYTAC

Thanks in advance!

-Dipak

Parents Reply
  • Hi Jared,

    Thanks for the reply!

    As I attached an image in that there is no any preprocessor declare for reset.

    " If you want to use the reset pin as a normal GPIO then you have to remove the pre-processor definition CONFIG_GPIO_AS_PINRESET which is defined in the makefile or project options if you use gcc or SES respectively. You also have to do a full erase, as the PSELRESET register is in the UICR. "

    Please guide me how to full erase PSELRESET register ?

    - Dipak

     

Children
Related