Detect if NFC antenna is connected

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

Parents
  • Hello,

    Are you referring to the NFC antennas on the development kit? I’m asking because I find the query a bit unclear.

    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? 

    The nRF52833 uses two dedicated pins for NFC functionality, typically referred to as NFC1 (pin 2) and NFC2 (pin 3). These special-purpose pins are designed for NFC communication but can also be used as GPIOs. However, I believe frequent toggling between NFC and GPIO modes at runtime is not advisable. I think the main reason is that reinitializing the NFC each time you toggle may disrupt its functionality, as NFC seems to be highly sensitive to timing.

    Kind Regards,

    Abhijith

Reply
  • Hello,

    Are you referring to the NFC antennas on the development kit? I’m asking because I find the query a bit unclear.

    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? 

    The nRF52833 uses two dedicated pins for NFC functionality, typically referred to as NFC1 (pin 2) and NFC2 (pin 3). These special-purpose pins are designed for NFC communication but can also be used as GPIOs. However, I believe frequent toggling between NFC and GPIO modes at runtime is not advisable. I think the main reason is that reinitializing the NFC each time you toggle may disrupt its functionality, as NFC seems to be highly sensitive to timing.

    Kind Regards,

    Abhijith

Children
Related