factory default slave address of I2C on MC56F8006

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

factory default slave address of I2C on MC56F8006

Jump to solution
845 Views
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

Labels (1)
0 Kudos
1 Solution
632 Views
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

View solution in original post

0 Kudos
1 Reply
633 Views
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 Kudos