I hadn't finished and it submitted somehow.
The Python code is:
bytes = [0xAA, 0, 0]
print "write failed"
y0 = i2c.read(0x18,4)
This returns a status byte, but zeros for the pressure data. The i2c waveforms which I captured from an oscilloscope look different enough to matter. Can I upload them here somehow?
The command bytes to read the pressure [0xAA, 0x00, 0x00} for Arduino and Onion:
And the two responses showing that the sensor only returns zeros on the Onion
The oscilloscope interprets all of the i2c bus traffic correctly, but it appears that the sensoe is never getting triggered by the [0xAA...] command to start digitizing. So it only sends back zeros. Does anybody know why the i2c waveforms are different and how to make the Onion i2c library behave as the Arduino does which works properly. I am not having any trouble with other i2c communication from the Onion, only this sensor.
Thanks to anyone who is up on this.
Go-to resource for frequently asked technical questions
Have you tried downloading the latest firmware to /tmp/ on the Omega and doing a sysupgrade /tmp/<firmware-image> manually?
If your Omega has network, you can pull the firmware from an ssh shell and perform the upgrade.
If your Omega doesn't have upstream connectivity, you can scp (or pscp on windows) the firwmare image downloaded to your workstation/laptop over to the Omega to perform a manual upgrade.