I want to simple source code about pn512 i2c

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

I want to simple source code about pn512 i2c

1,966 Views
agafe000
Contributor I

hi

i use pn512 chip.

I need to i2c source code about pn512.

I downloaded the example source code, but I don't know what to use

rfv.PNG

function is    pn512+ucom(nrf51822)  nfc leader. 

NFC card is separately.

I want to i2c simple source code.

Which example should I use?

Labels (1)
0 Kudos
Reply
2 Replies

1,286 Views
AndriiD
Contributor I

I tried to understand this library but it seems that it was written on purpose so complicated that nothing was clear. I have a slightly different question. I am also trying to use i2c. I can read the registers, but I can't write anything in them. I can not understand what the problem is. maybe there are some nuances when writing registers? I did not find this in the documentation. I understand how writing works in I2C protocol and writing function dones without errors but after this register doesn't change.

0 Kudos
Reply

1,865 Views
IvanRuiz
NXP Employee
NXP Employee

Hello,

You may find it helpful to refer to the NFC reader library for PNEV512B and look for the initialization process for I²C. The examples are made for SPI communication mainly, but you may look for NXPBUILD__PHBAL_REG_LPCOPEN_I2C and adapt it to your specific implementation.

BR,

Ivan.

0 Kudos
Reply