NfcrdlibEx8_HCE_T4T example

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

NfcrdlibEx8_HCE_T4T example

181 Views
nddona
Contributor I

We have a custom Linux platform where we have successfully made the PN5190 to work as a card reader for years.

Now we want to try out to make it work as a type 4A tag as in example "NfcrdlibEx8_HCE_T4T". We have tried to use the example with the reader library version 7.14.00 but we're getting the same results as reported in the thread: https://community.nxp.com/t5/NFC/HCE-T4T-Example-not-working-with-NXP-NFC-Library-v07-08-00-in/td-p/...

When Android (Samsung S23 ultra) is tapped with NXP "TagInfo" App, it's getting an invalid RATS. Rx buffer receives data starting with 0x11 0xD4 ... etc.

[phacDiscLoop_Sw_Run] Starting Listen Mode
[T4TCardEmulation] Card Activated in Listen mode...
[phpalI14443p4mC_Sw_Activate] RATS: 11 D4 00 8C 26 82 9B FA 12 01 DF 84 5B 00 00 00 30
[phpalI14443p4mC_Sw_Activate] Invalid RATS received...

 

Is it because the phone is trying to talk in NFC-DEP (P2P Mode / SNEP)

Appreciate any help to resolve this issue.

Thanks!

0 Kudos
Reply
2 Replies

127 Views
nddona
Contributor I
This issue is solved by disabling some macros and updating the SAK to correct value 0x20.
0 Kudos
Reply

76 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

Thank you for letting me know. I will address this for the respective clarifications and updates.

Have a great day!

Best Regards,
Fabian
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2372202%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ENfcrdlibEx8_HCE_T4T%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2372202%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EWe%20have%20a%20custom%20Linux%20platform%20where%20we%20have%20successfully%26nbsp%3Bmade%20the%20PN5190%20to%20work%20as%20a%20card%20reader%20for%20years.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENow%20we%20want%20to%20try%20out%20to%20make%20it%20work%20as%20a%20type%204A%20tag%20as%20in%20example%20%22NfcrdlibEx8_HCE_T4T%22.%20We%20have%20tried%20to%20use%20the%20example%20with%20the%20reader%20library%20version%207.14.00%20but%20we're%20getting%20the%20same%20results%20as%20reported%20in%20the%20thread%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNFC%2FHCE-T4T-Example-not-working-with-NXP-NFC-Library-v07-08-00-in%2Ftd-p%2F1686764%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNFC%2FHCE-T4T-Example-not-working-with-NXP-NFC-Library-v07-08-00-in%2Ftd-p%2F1686764%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWhen%20Android%20(Samsung%20S23%20ultra)%20is%20tapped%20with%20NXP%20%22TagInfo%22%20App%2C%20it's%20getting%20an%20invalid%20RATS.%20Rx%20buffer%20receives%20data%20starting%20with%200x11%200xD4%20...%20etc.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%5BphacDiscLoop_Sw_Run%5D%20Starting%20Listen%20Mode%3CBR%20%2F%3E%5BT4TCardEmulation%5D%20Card%20Activated%20in%20Listen%20mode...%3CBR%20%2F%3E%5BphpalI14443p4mC_Sw_Activate%5D%20RATS%3A%2011%20D4%2000%208C%2026%2082%209B%20FA%2012%2001%20DF%2084%205B%2000%2000%2000%2030%3CBR%20%2F%3E%5BphpalI14443p4mC_Sw_Activate%5D%20Invalid%20RATS%20received...%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EIs%20it%20because%20the%20phone%20is%20trying%26nbsp%3Bto%20talk%20in%26nbsp%3B%3CSTRONG%3ENFC-DEP%20(P2P%20Mode%20%2F%20SNEP)%3C%2FSTRONG%3E%3F%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAppreciate%20any%20help%20to%20resolve%20this%20issue.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2372819%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20NfcrdlibEx8_HCE_T4T%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2372819%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThis%20issue%20is%20solved%20by%20disabling%20some%20macros%20and%20updating%20the%20SAK%20to%20correct%20value%200x20.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2374562%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20NfcrdlibEx8_HCE_T4T%20example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2374562%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20sir%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20letting%20me%20know.%20I%20will%20address%20this%20for%20the%20respective%20clarifications%20and%20updates.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day!%3C%2FP%3E%3C%2FLINGO-BODY%3E