QorIQ I2C slave mode question

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

QorIQ I2C slave mode question

812 Views
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.

Labels (1)
0 Kudos
Reply
1 Reply

602 Views
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 Kudos
Reply