I2C Address Register

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

I2C Address Register

跳至解决方案
1,902 次查看
t-sugiyama
Contributor III

Hello,
I have a question about {16.1.4.1 Initialization sequence} in i.MX 8M Mini Applications Processor Reference Manual, Rev. 2, 08/2019.
I am wondering about the following:
"2.Update the address in the (I2C_IADR) to define its slave address (address can range from 0 to 0x7f)."
What should I set in the I2C_IADR register when I consider to make the i.MX8Mmini an I2C master?
Is the transfer destination slave ID correct?
I think that I2C_IADR should be set only when making i.MX8Mmini an I2C slave device.
Thanks.

Tetsuya.

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,813 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Tetsuya

>I think that I2C_IADR should be set only when making i.MX8Mmini an I2C slave device.

I think you are right.

One can look at i2c master example in uboot:

mxc_i2c.c\i2c\drivers - uboot-imx - i.MX U-Boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
1,814 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Tetsuya

>I think that I2C_IADR should be set only when making i.MX8Mmini an I2C slave device.

I think you are right.

One can look at i2c master example in uboot:

mxc_i2c.c\i2c\drivers - uboot-imx - i.MX U-Boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------