QorIQ I2C slave mode question

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

QorIQ I2C slave mode question

1,114 次查看
tonykleman
Contributor I

What information can I obtain using I2C from the P2020 in slave mode?  I see an ACK after a start bit and calling address.  I'm not sure what registers are available with the 8 bit data byte.  Do I

start

calling address

write bit

register address to read

start

calling address

read bit

read value of register?  

I'm setting up the I2C registers through the eLBC with CPU.   I thought maybe it only stored data in I2Cdata register, but that doesn't seem useful.  Maybe slave mode is very limited.

标签 (1)
0 项奖励
回复
1 回复

904 次查看
lunminliang
NXP Employee
NXP Employee

Please see below comments from freescale engineer.

> What information can I obtain using I2C from the P2020 in slave mode

Strictly speaking in slave mode as in the master mode I2C controller provide information written to the I2C data registers. I.e. we can say that the P2020 I2C controller provides information supplied by the I2C controller software driver.

> I'm setting up the I2C registers through the eLBC with CPU.

I do not get that. What are “I2C registers”. Internal P2020 I2C registers shown in Table 10-3. I2C Memory Map cannot be set through the eLBC.


0 项奖励
回复