Hardware connection
In mx53 SMD, connect R85 to R138, connect R86 to R139.
mx53_i2c_slave.patch is the patch to support I2C slave in Mx53 SMD, it can be applied to R10.3.2 and 1109.
I2C2 is master, I2C3 is slave.
In menuconfig, select Device Drivers ---> [*] I2C Slave support
mxc_i2c_slave_test.c is the test code, it can be built by below command
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -lpthread mxc_i2c_slave_test.c -o mxc_i2c_slave_test
If the test fail, please check if I2C2_SCL, I2C2_SDA, I2C3_SCL, I2C3_SDA are pulled up to 3.3V, they may be pulled down by the original I2C3 slave device in the board.
Original Attachment has been moved to: mx53_i2c_slave.patch.zip
Original Attachment has been moved to: mxc_i2c_slave_test.c.zip