I want to simple source code about pn512 i2c

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I want to simple source code about pn512 i2c

2,603件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,923件の閲覧回数
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 件の賞賛
返信

2,502件の閲覧回数
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 件の賞賛
返信