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

NFC pins as output pins do not output on flash, but do on HW reset?

HI,

the solution I'm working on requires quite a few IO pins, so once I ran out of regular GPIO pins I had to resort to using NFC ones.

I changed the UICR registers and rebooted the device to make sure the NFC pins are instead treated as GPIOs.

However, their behaviour is a bit unusual. After I flash the new softdevice and firmware, after the GPIO configure process (first setting default config, then output config), the two pins remain in the off state and do not react to direct set, toggle and clear commands.

After I perform a hardware reset the pins behave the opposite, first both becoming active (both should normally remain off until manually set), and then they start properly reacting to set, toggle and clear!

Any suggestions what might be the issue here?

Related