Topic: NXP PN53X and I2C/SPI

Hi

I'm currently working on a project which involves NFC. I'm planning right now to use libnfc, but I have not found any support for I2C or SPI. I have other protocols available on my platform, but I would really prefer I2C or SPI instead.

Have anybody here on this forum successfully implemented a combination of NXP PN53X and I2C/SPI?

Re: NXP PN53X and I2C/SPI

maax wrote:

Have anybody here on this forum successfully implemented a combination of NXP PN53X and I2C/SPI?

Some attempts have been made:
- I have some code for I2C under Linux but, due to internal PN53x I2C handling, you will have to wrote a Linux kernel : I2C userspace tool does allow to handle PN53x reply messages as expected.
- Gwenn made some work (see http://www.libnfc.org/community/post/1443).

PS: I just send Gwenn an email to share the work if available.

Romuald Conty

Re: NXP PN53X and I2C/SPI

Hi,

Updated the previously discussed link (see http://www.libnfc.org/community/post/1443 smile )

SPI is quite usual to use in embedded and *should* work OK with NFC and Linux.
The thing is, as I discovered, there is a lot of code both user and kernelside required to get it work and this could take you some time (our work was FPGA-based and a lot more heavy to work on than the classical PC).

Feel free to ask any advice.