I want to simple source code about pn512 i2c

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

I want to simple source code about pn512 i2c

2,600 次查看
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,920 次查看
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,499 次查看
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 项奖励
回复