I think the NFC pin is set to the default state on the nRF52832.
Currently, I set CONFIG_NFCT_PINS_AS_GPIOS to 1 to use it as a GPIO pin, but is there a way to make it the default?
I want it to be a GPIO even when the IC is powered off.
I think the NFC pin is set to the default state on the nRF52832.
Currently, I set CONFIG_NFCT_PINS_AS_GPIOS to 1 to use it as a GPIO pin, but is there a way to make it the default?
I want it to be a GPIO even when the IC is powered off.
Hi,
Yes, you can set the NFC pins as GPIO as default by changing the NFCPINS state in the UICR.
Please remember to perform an nrfjprog --eraseall after changing the UICR NFCPINS value so that your change is reflected.
Hope this helps.
Regards,
Priyanka
Is the rewrite command below correct?
nrfjprog --memwr 0x00FF8028 --val 0xFFFFFFFE
Hi,
Apologies for the delay. The command is correct, but the address 0x00FF8028 coressponds to the UICR-NFCPINS register for the 5340 SoC. You should use the 0x1000120C for the 52832SoC as mentioned here: https://docs.nordicsemi.com/bundle/ps_nrf52832/page/uicr.html
Regards,
Priyanka
Hi,
Apologies for the delay. The command is correct, but the address 0x00FF8028 coressponds to the UICR-NFCPINS register for the 5340 SoC. You should use the 0x1000120C for the 52832SoC as mentioned here: https://docs.nordicsemi.com/bundle/ps_nrf52832/page/uicr.html
Regards,
Priyanka