PN71xx Linux Software Stack

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PN71xx Linux Software Stack

574 次查看
cvt
Contributor I

Hi

I'm currently trying a USB NFC dongle from elektronika (https://www.mikroe.com/nfc-usb-dongle ) that are fully based on NXP components (LPC11U24 is making the USB <--> I2C interface to the PN7150 NFC controller).

To test the dongle I'm using the NXP PN71xx Linux Software Stack (https://www.nxp.com/docs/en/application-note/AN11697.pdf ).

I'm able to compile the library and to run the nfcDemoApp just fine. I can read simple NFC tags and also write them.

I have then tested the "share" mode of nfcDemoApp. This is where the NFC controller acts/emulates as a NFC tag. I'm able to read it from my android phone, but I cannot write back any NFC NDEF messages. If I try to use the NXP "TagWriter" android app I just get an error.

The default option in nfcDemoApp is that the Compatibility Container (CC) is read only. I have tried to change it from "Read only" to "Read/Writable" by changing a simple const array (see attached picture). This is also stated in the NXP "TagInfo" app that I have also installed (a really good app btw). But it still responds with an error if I try to write to the tag.

I have also explored the "p2p" option, but I cannot get it to communicate with my phone at all. I have tried to run it both as a p2p-client and p2p-server. 

So here are my questions:

  1. How can I make the NFC controllers NDEF records "writable" in HCE mode?
  2. How can I test the "p2p" (push) option in the nfcDemoApp with my android phone?

Basically I'm interested in sending data from the phone to the NFC tag (in HCE mode). This is currently not possible... I'm only able to read the NFC tag/controller.

0 项奖励
回复
0 回复数