TypeA Layer3 Card Detection on PN7642

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

TypeA Layer3 Card Detection on PN7642

387 Views
wangea
Contributor I

Hello All,

I'm using the demo pnev7642fama_Nfcrdlib_SimplifiedAPI_ISO_Freertos_Pub for card detection, there are E_PH_NFCLIB_MIFARE_CLASSIC_1K and E_PH_NFCLIB_TYPEA_LAYER4  application cases, and it works well. But there is no application for E_PH_NFCLIB_TYPEA_LAYER3, I tried to implement the application based on the card datasheet, but  there was no response, the status of phNfcLib_Transmit() was always 0x20000. The card used are FM1208-10 and FM1216. I couldn't find the reason. 

wangea_0-1781083669584.png

 

I have no idea why there is no application case for E_PH_NFCLIB_TYPEA_LAYER3, Is there any references for this card type? 

Thanks.

0 Kudos
Reply
1 Reply

360 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @wangea,

Hope you are doing well.

Layer 3 covers anti-collision, UID selection and card activation, while ISO 14443 layer 4 presents a set of standardized commands for data exchange. Basic Tags/Cards stop after Layer 3 and use proprietary memory-read/write commands instead of Layer 4.

As you mentioned, you could try to implement the proprietary command set for your device. Please refer to NxpNfcRdlib -> types -> ph_Status.h for the Status Code definitions.

Regards,
Eduardo.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2379433%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETypeA%20Layer3%20Card%20Detection%20on%20PN7642%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2379433%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20All%2C%3C%2FP%3E%3CP%3EI'm%20using%20the%20demo%26nbsp%3Bpnev7642fama_Nfcrdlib_SimplifiedAPI_ISO_Freertos_Pub%20for%20card%20detection%2C%20there%20are%26nbsp%3B%3CSPAN%3EE_PH_NFCLIB_MIFARE_CLASSIC_1K%20and%26nbsp%3BE_PH_NFCLIB_TYPEA_LAYER4%26nbsp%3B%20application%20cases%2C%20and%20it%20works%20well.%20But%20there%20is%20no%20application%20for%26nbsp%3BE_PH_NFCLIB_TYPEA_LAYER3%2C%20I%20tried%20to%20implement%20the%20application%20based%20on%20the%20card%20datasheet%2C%20but%26nbsp%3B%20there%20was%20no%20response%2C%20the%20status%20of%26nbsp%3BphNfcLib_Transmit()%20was%20always%200x20000.%20The%20card%20used%20are%20FM1208-10%20and%20FM1216.%20I%20couldn't%20find%20the%20reason.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wangea_0-1781083669584.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wangea_0-1781083669584.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F388505i523E8E7C60D3638B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22wangea_0-1781083669584.png%22%20alt%3D%22wangea_0-1781083669584.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EI%20have%20no%20idea%20why%20there%20is%20no%20application%20case%20for%26nbsp%3BE_PH_NFCLIB_TYPEA_LAYER3%2C%20Is%20there%20any%20references%20for%20this%20card%20type%3F%26nbsp%3B%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-2379672%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20TypeA%20Layer3%20Card%20Detection%20on%20PN7642%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2379672%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F262640%22%20target%3D%22_blank%22%3E%40wangea%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EHope%20you%20are%20doing%20well.%3C%2FP%3E%0A%3CP%3ELayer%203%20covers%20anti-collision%2C%20UID%20selection%20and%20card%20activation%2C%20while%20ISO%2014443%20layer%204%20presents%20a%20set%20of%20standardized%20commands%20for%20data%20exchange.%20Basic%20Tags%2FCards%20stop%20after%20Layer%203%20and%20use%20proprietary%20memory-read%2Fwrite%20commands%20instead%20of%20Layer%204.%3C%2FP%3E%0A%3CP%3EAs%20you%20mentioned%2C%20you%20could%20try%20to%20implement%20the%20proprietary%20command%20set%20for%20your%20device.%20Please%20refer%20to%20NxpNfcRdlib%20-%26gt%3B%20types%20-%26gt%3B%20ph_Status.h%20for%20the%20Status%20Code%20definitions.%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EEduardo.%3C%2FP%3E%3C%2FLINGO-BODY%3E