Hi,
I want to use pin21 as normal GPIO ?How to disable reset on Pin 21 of nrf52832?
Hi,
I want to use pin21 as normal GPIO ?How to disable reset on Pin 21 of nrf52832?
Simply define globally CONFIG_GPIO_AS_PINRESET
, as per explanation in components\toolchain\system_nrf52.c
file:
/* Configure GPIO pads as pPin Reset pin if Pin Reset capabilities desired. If CONFIG_GPIO_AS_PINRESET is not
defined, pin reset will not be available. One GPIO (see Product Specification to see which one) will then be
reserved for PinReset and not available as normal GPIO. */
Simply define globally CONFIG_GPIO_AS_PINRESET
, as per explanation in components\toolchain\system_nrf52.c
file:
/* Configure GPIO pads as pPin Reset pin if Pin Reset capabilities desired. If CONFIG_GPIO_AS_PINRESET is not
defined, pin reset will not be available. One GPIO (see Product Specification to see which one) will then be
reserved for PinReset and not available as normal GPIO. */
actually opposite of that. CONFIG_GPIO_AS_PINRESET should be removed if you want to use pin as GPIO.
didnt work!
splatspeed1Could you please open a new devzone case regarding your issue?