What does NXP_T4T_NFCEE_ENABLE setting in libnfc-nxp.conf do?

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

What does NXP_T4T_NFCEE_ENABLE setting in libnfc-nxp.conf do?

Jump to solution
1,511 Views
tduong
Contributor II

In the libnfc-nxp.conf file there is an NXP_T4T_NFCEE_ENABLE property.  I exclusively use the linux-nxp-nci library for reading tags (and not tag emulation).   It was originally set to 0x01, but I noticed setting this ENABLE flag to 0x00 does not affect anything.  What does it actually do?

0 Kudos
Reply
1 Solution
1,481 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @tduong 

Please see below two pictures.  two implementation of card emulation.

scenario 1:  card emulation by DH_NFCEE, pn7160 is responsible for forwarding the communication from the external Reader/Writer to DH-NFCEE.

danielchen_0-1728726476336.pngdanielchen_0-1728726476336.png

 

 

scenario 2:   Card Emulation over NFCC,  the card is emulated on the NFCC

danielchen_1-1728726530579.pngdanielchen_1-1728726530579.png

 

To switch between scenario 1 and scenario 2, we use this flag NXP_T4T_NFCEE_ENABLE

If we want to use scenario 1 (card emulation by the DH-NFCEE): NXP_T4T_NFCEE_ENABLE = 0x00.
If we want to use scenario 2 (card emulation over NFCC): NXP_T4T_NFCEE_ENABLE = 0x01.

 

Regards

Daniel

 

View solution in original post

1 Reply
1,482 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @tduong 

Please see below two pictures.  two implementation of card emulation.

scenario 1:  card emulation by DH_NFCEE, pn7160 is responsible for forwarding the communication from the external Reader/Writer to DH-NFCEE.

danielchen_0-1728726476336.pngdanielchen_0-1728726476336.png

 

 

scenario 2:   Card Emulation over NFCC,  the card is emulated on the NFCC

danielchen_1-1728726530579.pngdanielchen_1-1728726530579.png

 

To switch between scenario 1 and scenario 2, we use this flag NXP_T4T_NFCEE_ENABLE

If we want to use scenario 1 (card emulation by the DH-NFCEE): NXP_T4T_NFCEE_ENABLE = 0x00.
If we want to use scenario 2 (card emulation over NFCC): NXP_T4T_NFCEE_ENABLE = 0x01.

 

Regards

Daniel

 

%3CLINGO-SUB%20id%3D%22lingo-sub-1971866%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EWhat%20does%20NXP_T4T_NFCEE_ENABLE%20setting%20in%20libnfc-nxp.conf%20do%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1971866%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIn%20the%20libnfc-nxp.conf%20file%20there%20is%20an%20NXP_T4T_NFCEE_ENABLE%20property.%26nbsp%3B%20I%20exclusively%20use%20the%20linux-nxp-nci%20library%20for%20reading%20tags%20(and%20not%20tag%20emulation).%26nbsp%3B%20%26nbsp%3BIt%20was%20originally%20set%20to%200x01%2C%20but%20I%20noticed%20setting%20this%20ENABLE%20flag%20to%200x00%20does%20not%20affect%20anything.%26nbsp%3B%20What%20does%20it%20actually%20do%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1972648%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20What%20does%20NXP_T4T_NFCEE_ENABLE%20setting%20in%20libnfc-nxp.conf%20do%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1972648%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F198552%22%20target%3D%22_blank%22%3E%40tduong%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20see%20below%20two%20pictures.%26nbsp%3B%20two%20implementation%20of%20card%20emulation.%3C%2FP%3E%0A%3CP%3Escenario%201%3A%26nbsp%3B%20card%20emulation%20by%20DH_NFCEE%2C%20pn7160%20is%20responsible%20for%20forwarding%20the%20communication%20from%20the%20external%20Reader%2FWriter%20to%20DH-NFCEE.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielchen_0-1728726476336.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielchen_0-1728726476336.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F304375i4FEE151A9DEF9003%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22danielchen_0-1728726476336.png%22%20alt%3D%22danielchen_0-1728726476336.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Edanielchen_0-1728726476336.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3Escenario%202%3A%26nbsp%3B%20%26nbsp%3BCard%20Emulation%20over%20NFCC%2C%26nbsp%3B%20the%20card%20is%20emulated%20on%20the%20NFCC%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielchen_1-1728726530579.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielchen_1-1728726530579.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F304376i6F4BADB3F06BA386%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22danielchen_1-1728726530579.png%22%20alt%3D%22danielchen_1-1728726530579.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Edanielchen_1-1728726530579.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ETo%20switch%20between%20scenario%201%20and%20scenario%202%2C%20we%20use%20this%20flag%20NXP_T4T_NFCEE_ENABLE%3C%2FP%3E%0A%3CP%3EIf%20we%20want%20to%20use%20scenario%201%20(card%20emulation%20by%20the%20DH-NFCEE)%3A%20NXP_T4T_NFCEE_ENABLE%20%3D%200x00.%3CBR%20%2F%3EIf%20we%20want%20to%20use%20scenario%202%20(card%20emulation%20over%20NFCC)%3A%20NXP_T4T_NFCEE_ENABLE%20%3D%200x01.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E