Help with PN5180 card emulation mode

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

Help with PN5180 card emulation mode

1,278 Views
tsotnek
Contributor II

Hello everyone,

So, I am doing a custom project which includes a PN5180 IC and my task is to emulate a type A 14443 card. I want to read its UID and write to it some data from smartphone.

 

My procedure to setting it as a card emulation mode is as following:

1. write 1 in EEPROM addresses 0x58 & 0x51

2. loadRFCONFIG as  ISO 14443-A PICC with tx and rf conf 0x14 and 0x94 

2. activate autocoll :

      sendBuf[0] = PN5180_SWITCH_MODE;
      sendBuf[1] = 0x02; // mode 2 = autocoll
      sendBuf[2] = 0x01; // RF technologies
      sendBuf[3] = 0x02; // autocoll mode 0
      RFID_SSPSendAndReceiveBuf (sendBuf, 4, NULL, 0);

4. Check for IRQ status card_activated_IRQ, however this irq is not set. also when bringing smartphone to the device the only IRQ that gets set is RFON_DET_IRQ_STAT & RFOFF_DET_IRQ_STAT. 

The smartphone has no reaction whatsoever when bringing it close to the device.

 

Please help me if you know anything or can provide any type of advice or guidance.

 

Thank you in advance

Labels (1)
  • RF

0 Kudos
2 Replies

1,265 Views
fangfang
NXP TechSupport
NXP TechSupport

Hello,

Please refer to the demo NfcrdlibEx8_HCE_T4T of the NFC reader library as the link.

URL:https://www.nxp.com/products/rfid-nfc/nfc-hf/nfc-readers/full-nfc-forum-compliant-frontend-ic:PN5180....

Have a nice day.

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------

0 Kudos

1,228 Views
ASKalpa
Contributor II

Hello!

I'm not going to use the library and the link you posted do not provide any source code.

I need to implement the autocoll function from scratch so please provide more info. 

Thanks

0 Kudos