altos: get MPU6000 I2C link working reliably
authorKeith Packard <keithp@keithp.com>
Wed, 27 Jun 2012 21:38:35 +0000 (14:38 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 27 Jun 2012 21:38:35 +0000 (14:38 -0700)
commitb0b7f5da2d29716959c6793d744e47a3d435c247
tree86c613068a8c64983badbe37703e50624be91c7d
parente63d624f9670b5e2e002fcd5f24b80cf7f1effdf
altos: get MPU6000 I2C link working reliably

This slows the i2c bus to 100kHz (yuck), sets the rise time to spec
(it was way off) and adds more delays during bus setup. I've run this
for hours now without trouble. Will try to adjust things back to fast
mode and see if I can make that work as 100kHz isn't fast enough to
reliably get data at 100 samples/sec.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_i2c_stm.c