Other Parts Discussed in Thread: PCF8574, TLV320AIC3106, TCA9554
Hi,
I work on Sitara am335x-evmsk with ti-processor-sdk-linux-am335x-evm-02.00.00.00.
During boot phase, I want to read board version value from PCF8574 device at address 0x21 via i2c ,so I use i2c_read () with the following params:
i2c_read(0, 0x21, 1,buffer, 2); but the function always return value 0. But when the boot phase end and kernel is up, I operate i2cget() with this params:
i2cget -f -y 0 0x21 and I receive correct value.
What can be the problem? How to receive to correct value in the boot phase?
Thanks Oded.