I2C on the Lite5200

I need to use the I2C channels on the Lite5200 (MPC5200), but I can’t find
any documentation on how to use the driver. It appears to open OK, but
read operations always return zero bytes. Can you tell me where to find
documentation or example code for this?

Thanks,
-Jim

Jim Melendy wrote:


I need to use the I2C channels on the Lite5200 (MPC5200), but I can’t find
any documentation on how to use the driver. It appears to open OK, but
read operations always return zero bytes. Can you tell me where to find
documentation or example code for this?

Thanks,
-Jim

Hello Jim.

The driver uses devctl() calls instead of read/write for i2c communication.

On what project do you work? Perhaps I can help you more.

Lutz