The dm8168evm's i2c-2 connect at24c1024 eeprom, but it's no ack in Logic analyzer(ioerror in dirver). when i use i2c-1 to connect at24c1024,it's good to read and write operate.
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.
The dm8168evm's i2c-2 connect at24c1024 eeprom, but it's no ack in Logic analyzer(ioerror in dirver). when i use i2c-1 to connect at24c1024,it's good to read and write operate.
Hi,
Are you using EZSDK package. Because in EZSDK, I2C-2 is getting used by media controller binary. So I2C-2 is not available for Linux.
Regards,
Hardik Shah
hi
Thanks
But i did not open pin mux function in kernel but configure in u-boot(configure i2c -2 ). Did it will effect the i2c-2 function?
Hi,
For i2c-2, pin muxing is controlled from M3 binary and not from Linux as i2c-2 is being used by media controller software.
Regards,
Hardik Shah
hi,
thanks
According to say so if i did not load the M3 binary ,did the i2c-2 can be used well?
Regards,
Shuai Zhou
Hi,
Short answer is Yes. But if you let us know your exact use case we will be able to help you better with loading binary as well as using i2c-2 from Linux. Any specific reason for using i2c-2 for your eeprom and not i2c-1.
Regards,
Hardik Shah
Hi,
thanks,
In fact we use i2c-1 to connect eeprom(a main board) and use i2c-2 to connect TVP5158(a expand board) .but now the i2c-2 is not good to control the TVP5158(as the same problem like eeprom),in order to make sure the i2c-2 is good in hardware,i just connect a eeprom in i2c-2 to test.
Regards,
Shuai,Zhou
Hi,
So you should partition your hardware such that. all devices which needs access from Linux should be connected to i2c-1 and all devices which needs access from media controller binary should be connected to i2c-2.
Regards,
Hardik Shah
Hi,
thanks,
so we should use i2c-1 or i2c -2 to control TVP5158?we designed like this is in order to support more expand broad and is it not very good to use i2c-1 to connect all the i2c device?
Regards,
Shuai Zhou
This all depends on your end use case and application. It will be better if you can specify your use case in detail.
Regards,
Hardik Shah
hi,
thanks,
we have 2 schemes,ezsdk and dvrsdk.we want to realize many paths simulation TV video transcoding and many pictures show in dvrsdk(ezsdk is seem not support).The problem is the TVP5158 can be used in M3 control directly and the application program has no necessary to init the TVP5158?or we want to use i2c-2 to control TVP5158.
Regards,
Shuai Zhou
Hi,
If you are planning to use EZSDK, than many of the devices like sii9022a etc is getting controlled through media controller binary, so you will have to install TVP5158 on i2c-1. In case of RDK there is provision to control all encoders/decoders using Linux utility so you can control all of them through i2c-1 or i2c-2. In general you should reserve one i2c master for M3 and other for Linux.
Regards,
Hardik Shah