Using NFC pins P0.09 and P0.10 as GPIOs nrf52833DK

Hi,

I am unable to access P0.09 and P0.10. I face a similar problem to this thread. I've declared CONFIG_NFCT_PINS_AS_GPIOS=y in prj.conf. Also I've checked 0x1000120C (NFCPINS) register and is reads 0xFFFFFFFE using the debug console on VS code. In the overlay file I've added &uicr {nfct-pins-as-gpios;};

I then try to read port 0 using the 0x50000501 register after setting it as an input in the overlay file which does not work.

Is there any step I'm missing or doing incorrectly?

Thanks

Related