hi
I am working on DM37xx EVM kit,
i want to set Repeated start bit for I2C-2 .
can you plz help me ??
Thanks and Regards
Prateek Arora
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.
hi
I am working on DM37xx EVM kit,
i want to set Repeated start bit for I2C-2 .
can you plz help me ??
Thanks and Regards
Prateek Arora
Prateek,
I2C API i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) (linux-04.01.00.03\drivers\i2c\i2c-core.c) can be used to simulate this read protocol. Using this API, you can send one or more messages where each message begins with START and STOP is issued in the end to terminate the operation.
You should be able to find examples on how to use this API in the kernel itself.
Thanks.
Is there a way to do this from userspace? We are seeing an issue that the i2c bus is held off a long time ( probably during a process context switch) between the read and write cycles of an i2c transaction ( with a repeated start).
bb