This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can I set 10K of speed to I2c1 in u-boot

Other Parts Discussed in Thread: TCA6416A, TCA6416

Hello TI

This problem I suffered previously. That is i2c1 can't scan device of TCA6416A at 0x20, but it can scan other devices such 0x2D,0x50

U-Boot# i2c dev 1
Setting bus to 1

U-Boot# i2c probe
Valid chip addresses: 2D 50

So we want to down speed of i2c so that it maybe can scan 0x20. We have verified others of BSP can scan 0x20. I have referenced some document to know I must to write some value to I2C_PSC register,right? I print some value in u-boot/dirvers/i2c/omap24xx_i2c.c

void i2c_init(int speed, int slaveadd){

I2C_INTERNAL_SAMPLING_CLK is 12000000

speed is 100k

fsscll is 54

fssclh is 54

I2C_IP_CLK=48000000

psc=3

}

But I don't sure the next step, could anyone guide me ?  Thank you.