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

Enable pins 9 and 10 as GPIO on NRF52

Hi All,

I am developing a ble applications and am unable to get pins 9 or 10 to work as gpio. I understand that this is because, by default they are used by the NFC.

I have tried the following solutions:

1) defining the CONFIG_NFCT_PINS_AS_GPIOS variable in the project settings. (infocenter.nordicsemi.com/index.jsp

and 2) Adding const uint32_t UICR_ADDR_0x20C __attribute__((at(0x1000120C))) __attribute__((used)) = 0xFFFFFFFE; to uicr_config.h and setting "Use Memory Layout from Target Dialog" in the project Linker options (devzone.nordicsemi.com/.../)

Unfortunately neither of these solutions worked.

Are there any other viable solutions? What else can I try?

Thanks

i'm using keil and a nrf52 development board

Related