Actually seems that the mCciPort (first parameter in LEP_OpenPort) doesn't 
stand for the I2C bus but for a user-defined id number for the camera.
So actually the problem moves to "How do tell the SDK to read from I2C-2 
instead of I2C-1"?
The SDK uses libmpsse, I think.


In order to test the problem, I tested a BMP sensor that uses 
Adafruit_GPIO.I2C python library: it creates a Device instance where I can 
set Adafruit_PureIO.smbus.SMBus(busnum).
In fact if I don't set busnum=2, it uses I2C-1 and dmesg reports "timeout 
waiting for bus ready". If I set busnum=2 I can read values from the sensor.

Any idea?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/efb59730-a354-448a-a539-65f63fd5ceb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to