Dear support team,
I would like to use GPIO 09/10 as a GPIO interrupt.
I just searched and I see that need to define CONFIG_NFCT_PINS_AS_GPIOS.
But I can't do it. Please help!
P/s: I use nrf52840 with segger embedded.
Thanks and regards,
John N
Dear support team,
I would like to use GPIO 09/10 as a GPIO interrupt.
I just searched and I see that need to define CONFIG_NFCT_PINS_AS_GPIOS.
But I can't do it. Please help!
P/s: I use nrf52840 with segger embedded.
Thanks and regards,
John N
I mean when I defined CONFIG_NFCT_PINS_AS_GPIOS, my code still doesn't work.
Can I put this code in main.c, before init gpio, right?
Thanks,
John N
Hi,
Thanks for your support.
I already defined in Preprocessor Definitions.
Could you check the code that I posted above? Hope that You can find out issue.
Thanks
Hi John,
I cannot see anything wrong with the way you are initializing GPIO interrupts. However, it is difficult to say what the problem is without knowing more about your project. In what way is your code not working? Do you get errors when building? If so, which errors are you getting? Or is the problem when the application is running, that it either stops working or that the GPIO interrupt does not happen?
Best regards,
Marte
Hi John,
I cannot see anything wrong with the way you are initializing GPIO interrupts. However, it is difficult to say what the problem is without knowing more about your project. In what way is your code not working? Do you get errors when building? If so, which errors are you getting? Or is the problem when the application is running, that it either stops working or that the GPIO interrupt does not happen?
Best regards,
Marte
Hi,
My issue is when I pressed the button, the GPIO interrupt does not happen.
I am sure that my hardware is worked. Because when I change to another pin, GPIO interrupts worked fine.
Thanks,
John
Can you read back the content of uicr by calling:

Upload the uicrdump.hex file here.
You can install nrfjprog by downloading nRF Command Line Tools.
Kenneth