I2C communication problem, stops after 3 seconds com startup

Thread Starter

Apok

Joined Jun 12, 2010
2
Hello, i am making a two wheel balance robot, and i use 3 devices with I2C communication, ITG3200 Gyroscope, ADXL345 accelerometer, and MD25 motor driver, and i have a problem with I2C Communication
MD25 with ADXL345 only, they work well

But MD25+ITG3200 they dont work together, they run fine for like 2-3seconds and then ITG3200 freezes and stops sending data

My schematic is the following:



ITG3200 datasheet: http://www.electro-tech-online.com/custompdfs/2012/05/PS-ITG-3200-00-014.pdf
ADXL345 datasheet: http://www.electro-tech-online.com/custompdfs/2012/05/ADXL345.pdf
MD25 motor driver datasheet: http://www.robot-electronics.co.uk/htm/md25tech.htm (using I2C mode)
 

ErnieM

Joined Apr 24, 2011
8,377
Does the gyro work by itself?

What does "freeze" mean? Does the device refuse to acknowledge it's address, or is it keeping SDA low? Keeping SDA low is one way for a slave to request extra time to do something.
 
Top