Hi!
I've been trying to setup mpu9150 to use all sensors. When i switch to bypass mode to configure the compass i can first read the whoami byte, but when i write (or read) the whoami register the i2c bus stops responding. I've tried this a nubmer of time and it's alway sthe same problem. If i comment out the power down write i am able to read the fuse rom, but when i switch back to powe rdown mode it hangs the bus like before.
The following is a trace of all the i2c transactions:
root@duovero:/home/malmqui/mpudriv# ./test
68: Wrote 1 bytes to 6b:
80
68: Wrote 1 bytes to 6b:
0
68: Wrote 0 bytes to 6:
68: Read 6 bytes from 6:
0
8a
fe
69
4
f8
68: Wrote 1 bytes to 1b:
18
68: Wrote 1 bytes to 1c:
0
68: Wrote 1 bytes to 2a:
3
68: Wrote 1 bytes to 19:
63
68: Wrote 1 bytes to 34:
0
68: Wrote 1 bytes to 5:
6
68: Wrote 0 bytes to 6a:
68: Read 1 bytes from 6a:
0
68: Wrote 1 bytes to 6a:
0
68: Wrote 1 bytes to 37:
2
c: Wrote 0 bytes to 0:
c: Read 1 bytes from 0:
48
c: Wrote 1 bytes to a:
0
c: Wrote 1 bytes to a:
f
omap_i2c omap_i2c.3: timeout waiting for bus ready
Update: Now it has started to hang the bus directly when i enable bypass mode (no changes to software).
Any ideas of what i'm doing wrong?