I have define CONFIG_NFCT_PINS_AS_GPIOS, but the pin is always low, even if the OUT register is high.
>nrfjprog --memrd 0x1000120C 0x1000120C: FFFFFFFF |....|
I have read 0x1000120C(NFCPINS), it is FFFFFFFF, what's wrong with it?
I have define CONFIG_NFCT_PINS_AS_GPIOS, but the pin is always low, even if the OUT register is high.
>nrfjprog --memrd 0x1000120C 0x1000120C: FFFFFFFF |....|
I have read 0x1000120C(NFCPINS), it is FFFFFFFF, what's wrong with it?
I have push it on github jinxiangwzh/nfc_pin_as_gpio_test (github.com)
The project file is in /examples/peripheral/blinky/pca10100e/blank/arm5_no_packs/,the CHIP is 52833
Thanks for you test
Hi,
I looked at your project and did not see any issues with regard to this. Also, when I test it works as expected.
See here from first run after programming, where the pins are NFC as expected:
then I let execution continue and the UICR is updated and reset occurs, and the same breakpoint is hit again:
So far it is as expected. Also, when I check with nrfjprog I get:
C:\Users\eith>nrfjprog --memrd 0x1000120C 0x1000120C: FFFFFFFE |....|
I am not able to explain why you saw 0xFFFFFFFF at 0x1000120C on the DK.
There is one thing though. Assuming this is correctly configured, you still need to do HW modifications to use the pins on the DK, adding a zero ohm resistor as described under NFC antenna interface.
Perhaps there is a similar issue with your custom HW as well, that the GPIO pin is not routed out to where you measure? Can you double check your layout?