Project

General

Profile

Activity

From 11/15/2011 to 12/14/2011

11/15/2011

ML 03:30 PM Software Development: RE: OMAP I2C
Yes, it works (thanks): Mark Lyon
JP 03:24 PM Software Development: RE: OMAP I2C
Mark,
I probably should have used O_RDWR instead of O_RDONLY. I am surprised it worked with just O_RDONLY.
The SENDRECV is important, at least for my device. I am reading a device register and the protocol is that I need to send th...
John Pruitt
ML 03:17 PM Software Development: RE: OMAP I2C
Interesting. We were using Qnx's demo which uses DCMD_I2C_RECV rather than DCMD_I2C_SENDRECV so that was part of the solution.
It is also calling open with O_RDWR rather than O_RDONLY - not sure if that is a problem.
Also the call t...
Mark Lyon
JP 01:27 PM Software Development: RE: OMAP I2C
I am attaching a test program that was used on a board to read the factory config information using i2c0.
The output of the i2c_get program is:
John Pruitt
 

Also available in: Atom