factory default slave address of I2C on MC56F8006

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

factory default slave address of I2C on MC56F8006

跳至解决方案
1,367 次查看
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 解答
1,154 次查看
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 回复
1,155 次查看
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 项奖励
回复