AnsweredAssumed Answered

using i2c-imx.c driver in imx7 Sabre

Question asked by Vikrant A P on Aug 23, 2018
Latest reply on Aug 27, 2018 by Vikrant A P

Greetings!

I'm interfacing EMR sensor with imx7 sabre board.
I have installed Yocto built Linux 4.9.88, now I'm trying to interface my device using .c programming. But I'm not getting any reference how to write a program in which I can generate Start condition, Stop condition, read Ack and read Data Byte, so that I can read x and y coordinate measured in the sensor.

I don't know how to use i2c-imx.c driver to execute a simple program, it will be great if anyone explains me step by step process. However, i2c-imx.c was missing in my kernel so I added it from an external source.

Outcomes