Is there a way of detecting if NFC antenna is connected.
My thought process is, set as GPIOs, one as input and one as output set high to measure the continuity. Am I able to toggle NFC between GPIO and NFC in runtime?
Thank you,
Shahin
Is there a way of detecting if NFC antenna is connected.
My thought process is, set as GPIOs, one as input and one as output set high to measure the continuity. Am I able to toggle NFC between GPIO and NFC in runtime?
Thank you,
Shahin
Hello,
Toggling the NFC pins between functioning as NFC pins and GPIOs during runtime is not possible. This must be set when building the application. I'm not sure which SDK version you're using, but with NCS version <2.5.0, you can use CONFIG_NFCT_PINS_AS_GPIOS. For NCS >2.6.0, refer this.
Sorry, I shouldn't have used 'not advisable' in my first response. I think it caused some confusion.
Kind Regards,
Abhijith
Hello,
Toggling the NFC pins between functioning as NFC pins and GPIOs during runtime is not possible. This must be set when building the application. I'm not sure which SDK version you're using, but with NCS version <2.5.0, you can use CONFIG_NFCT_PINS_AS_GPIOS. For NCS >2.6.0, refer this.
Sorry, I shouldn't have used 'not advisable' in my first response. I think it caused some confusion.
Kind Regards,
Abhijith