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
解決済! 解決策の投稿を見る。
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:
If you use 10 bits slave address, you have to write another register I2C_CR2:
XiangJun Rong
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:
If you use 10 bits slave address, you have to write another register I2C_CR2:
XiangJun Rong