Using NT3H2111 in passthrough mode only (disable user data access from NFC)

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

Using NT3H2111 in passthrough mode only (disable user data access from NFC)

Jump to solution
326 Views
cgblq
Contributor I

Hello,

I am using an NTAG I2C Plus 1K and am only interested in passthrough mode for data exchange. I have that part of things working nicely.

As I understand it, to prevent the NDEF data from being modified by the NFC side, I should:

  • Set REG_LOCK_NFC
  • Set all static lock bytes to 1s
  • Set all dynamic lock bytes to 1s

Is that sufficient for making the user data areas "read only" or otherwise inaccessible? I do not want to use password protection.

Do I also need to set the Capability Container bytes to anything in particular in this case? I'm not very familiar with the Type 2 tag specification so hoping someone can confirm that this is what "read only" means in this context.

Thank you for your time.

0 Kudos
Reply
1 Solution
269 Views
Itzel_UV
NXP Employee
NXP Employee

Hello,

 

With the 3 bullet points mention it's fine.

 

There is two ways that you could block and put on the "Only read" mode, the Static and Dynamic block, where you can be specific with the particular pages that are going to be blocked   and also the Capability container, this option will stablish all the pages at once in "only read".

 

Have precaution when you are moving the REG_LOCK_NFC and the REG_LOCK_I2C, if you set theme both to 1b, it will permanently lock write access to register default values (it could be fixed by the I2C).

 

There is no need to use Password Protection, is independent from "Read Only" , but they could be combined if you would like to.

 

The static lock bits can set the pages from 03h to 0Fh with a one-page granularity to read only. The dynamic lock bits lock the rest of the user memory.  Look at more details on the segment 8.3.6 and 8.3.7 from here.

 

For the Capability container you should check the example on figure 11 from the same link attached, this example will put on the 3rth byte 0x0Fh according to NFC Forum.

 

Hope the answer finds you well, if they're more question, you could ask more.

 

Regards,

Itzel.

View solution in original post

2 Replies
270 Views
Itzel_UV
NXP Employee
NXP Employee

Hello,

 

With the 3 bullet points mention it's fine.

 

There is two ways that you could block and put on the "Only read" mode, the Static and Dynamic block, where you can be specific with the particular pages that are going to be blocked   and also the Capability container, this option will stablish all the pages at once in "only read".

 

Have precaution when you are moving the REG_LOCK_NFC and the REG_LOCK_I2C, if you set theme both to 1b, it will permanently lock write access to register default values (it could be fixed by the I2C).

 

There is no need to use Password Protection, is independent from "Read Only" , but they could be combined if you would like to.

 

The static lock bits can set the pages from 03h to 0Fh with a one-page granularity to read only. The dynamic lock bits lock the rest of the user memory.  Look at more details on the segment 8.3.6 and 8.3.7 from here.

 

For the Capability container you should check the example on figure 11 from the same link attached, this example will put on the 3rth byte 0x0Fh according to NFC Forum.

 

Hope the answer finds you well, if they're more question, you could ask more.

 

Regards,

Itzel.

238 Views
cgblq
Contributor I
Thank you for the helpful information!
0 Kudos
Reply