nt3h2111 cannot activate pass-through

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

nt3h2111 cannot activate pass-through

933 Views
m_wagrodzki
Contributor I

Hello.

I'm developing a board with NT3H2111 NTAG I2C Plus IC. I want to use pass-through mode, but I'm having trouble activating it. I cannot write PTHRU_ON_OFF bit in NC_REG session register. I have no trouble with setting any other bit and reading it back via NFC, but when I set this specific one bit, it doesn't change. I know there need to be both interfaces reachable to activate pass-through, but there are. The alorithm is following:
-NTAG is powered down, MCU waits for the interrupt from GPIO connected to field detect pin

-when FD goes down (when I stick the phone to the atenna), the interrupt is being asserted

-during an interrupt, I power up the chip (tried powering it non-stop - didn't help) and write the session register NC_REG - I'm setting PTHROUGH_ON_OFF and TRANSFER_DIR bits to 1

-in the meantime I'm polling the PTHROUGH_ON_OFF bit on my phone, but it can never detect it

I tried reading the NC_REG from i2c right after writing it - it stays 0b all the time. What am I missing out?

0 Kudos
3 Replies

710 Views
emnipetro
Contributor I

hp customer support Number provide the support to their user anyone is having some problem then he or she can share your problems here.

0 Kudos

710 Views
m_wagrodzki
Contributor I

I managed to cope with the problem myself. You have to write a few times to NC_REG, it will finally hatch. The pseudocode of algorithm I used:
while(1){

set_NC_REG(0x7D)

wait(4ms)

NS_REG=read_NS_REG

if((NS_REG & 0x10)!=0) break;

}

All of this while polling NC_REG for PTHROUGH_ON_OFF on the phone.

0 Kudos

710 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Marek,

Great to know it has been solved on your side, we have docs on that topic, and you may refer to https://www.nxp.com/docs/en/application-note/AN11579.pdf  and https://www.nxp.com/docs/en/engineering-bulletin/TN00042.pdf  for more details.


Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos