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

NFC as GPIO

Hello,

I'm using the same SDK used on the Thingy:52, compiling with GCC.  I'm using the Rigado BMD-350-A which uses the nrf52832.

I'd like to use P0.09 and P0.10 as GPIO instead of NFC.  I've added CFLAGS += -DCONFIG_NFCT_PINS_AS_GPIOS=1  (I've done that with and without the =1) to the makefile under CFLAGS += -DNRF52.  I've also used nRFjprog --recover .  I'm not sure if the functionality removed is the pins as GPIOs or as NFC.  The pins still aren't toggling properly as GPIO after being configured as output in the code.  What must be done to configure these two pins as GPIO?

Thanks!

Parents Reply Children
  • P0.09 and P0.10: The NFC pins can be assigned for any other purpose provided their setup is changed. A permanent shunt exists between these pins to protect the nRF52 from damage when used for NFC. To minimize leakage current, ensure these two pins are at the same level when not in use.

    Got that from here.  I haven't seen anything from Rigado that mentions a way to change the hardware, but they imply that the pins are still usable as GPIO.

Related