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

52833 can not set P0.09 as general GPIO

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?

Parents Reply
  • 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?

Children
No Data
Related