factory default slave address of I2C on MC56F8006

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

factory default slave address of I2C on MC56F8006

ソリューションへジャンプ
946件の閲覧回数
lordtheo
Contributor I

Hi Everyone

 

sorry for disturbing you.

 

I am trying to figure the factory default slave address of I2C on MC56F8006.

I have a custom board with MC56F8006 and I would like to exercise I2C.

I read the documentation and I see the base address of I2C is 0x20.

I have some doubt but is this address the slave address of I2C when an external master wants to access it?

Can someone help please?

 

Best Regards

ラベル(1)
0 件の賞賛
返信
1 解決策
733件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Theodore,

The MC56F8006 is a processor, if you set the I2C of MC56F8006 as slave IIC module, the slave address of IIC module is programmable, the IIC address register1 is the slave address.

In 7 bits slave address mode, the I2C ADDR register is the slave address:

pastedImage_0.png

If you use 10 bits slave address, you have to write another register I2C_CR2:

XiangJun RongpastedImage_1.png

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
734件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Theodore,

The MC56F8006 is a processor, if you set the I2C of MC56F8006 as slave IIC module, the slave address of IIC module is programmable, the IIC address register1 is the slave address.

In 7 bits slave address mode, the I2C ADDR register is the slave address:

pastedImage_0.png

If you use 10 bits slave address, you have to write another register I2C_CR2:

XiangJun RongpastedImage_1.png

0 件の賞賛
返信