1I2C Test For Microchip board 2############################ 3 4This application test is used to test the I2C driver on Microchip 5mec172xevb_assy6906 board. 6 7 8Board Hardware Setup 9#################### 10 11As the I2C slave device NXP pca95xx on mec172xevb_assy6906 is connected 12to I2C00 port, however, I2C00 port is shared with UART2 RS232 to TTL 13converter used to catch serial log, so it's not possible to use UART2 14and I2C00 port simultaneously. 15We need to change to use I2C01 port by making some jumpers setting as below: 16 17 * JP49 1-2 Connected Connect PCA9555 VCC to +3.3V_STBY 18 * JP53 1-2 Connected Select address 0100b, which means 0x26 19 * JP12 13-14 Connected Connect I2C01_SDA from CPU to header J20 20 * JP12 4-5 Connected Connect I2C01_SCL from CPU to header J20 21 22 * JP77 7-8 Connected External pull-up for I2C01_SDA 23 * JP77 9-10 Connected External pull-up for I2C01_SCL 24 25 * JP58.1 J20.1 Connected Connect NXP PCA95xx to I2C01 26 * JP58.3 J20.3 Connected Connect NXP PCA95xx to I2C01 27