Not able to get the clock signal When i include toradex i2c librariry in stream driver and try to initiate i2c-0.
Sequence of calling API’s is as given below.
Setting ioScl and ioSda pins using I2c_SetConfigInt
Set slave address and trying to read data from the i2c-0 file descriptor using I2c_Read API
I2c_Read is not throwing any error, but will not read the data (0 bytes read).
Works fine when try to read using the I2c_Demo application provided by the toradex. Problem is only when i try to include the library in the our stream driver