Host interface PN532 and I2C address

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

Host interface PN532 and I2C address

6,295件の閲覧回数
asael_hernandez
Contributor II

First, about host interface selection in datasheet is written the following:

pastedImage_1.png

So, for I2C, l0 should be low and l1 should be high

But, in the PN532 User Manual, is written the following:

pastedImage_2.png

PN532 manual indicates otherwise, for I2C  l0 should be high and l1 should be low.

So, what are the right connections?

Second, about I2C address in slave mode, in datasheet  is written that I2CADR is the register of the slave address, and is written the following:

pastedImage_6.png

In that text it seems that the default address is 0x00 and we can change that address but in the PN532 Manual is written the following:

pastedImage_7.png

What is the default I2C address?

ラベル(1)
5 返答(返信)

6,111件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

I am checking internally, please let me get back t you asap.

BR,

Ivan.

6,111件の閲覧回数
asael_hernandez
Contributor II

Hi.

Any update about this?

0 件の賞賛
返信

6,111件の閲覧回数
nxf58474
NXP Employee
NXP Employee

Hi Asael Hernandez,

 

I apologize for a late reply. You should use the information of the Data Sheet to select the Host Interface.

 

pastedImage_14.png

 

And regarding the I2C Address, in the section 8.3.2.4 of the Data Sheet is stated:

 

To initiate the Slave receiver mode, I2CADR must be loaded with the 7-bit Slave address to which the I2C interface will respond when addressed by a Master.

 

Therefore that will be the Slave Address.

 

Hope this helps.

 

Best Regards,

Ricardo

6,110件の閲覧回数
asael_hernandez
Contributor II

Thanks for the answer.

For the I2C address, the address must be loaded, but to load that address I need a starting slave address to communicate with the NFC controller using I2C. The starting address is 0x00, is that correct? or what is the startint address?

0 件の賞賛
返信

6,111件の閲覧回数
nxf58474
NXP Employee
NXP Employee

Hi,

 

That should be the correct way to initialize the I2C mode. For more information please refer to section 8.3.2 of the Data Sheet.

 

Regards,

Ricardo

0 件の賞賛
返信