Hi everyone,
I want to verify that I2C2 is working on my custom board. From a test application, I call CreateFile("I2C2:", GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0) to get a handle. What can I do after that to talk to a part on the I2C bus? I seach the platform directory but do not see any IOCTL code that can be used to write or read data from the application.
I would be very thankful if you could give me some tips on how to set up the BSP and how to use the I2C bus.
Luan