I2C Address Register

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,852件の閲覧回数
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,763件の閲覧回数
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,764件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------