1
TinyDuino Processors & TinyShields / Re: TinyShield Accelerometer not initializing?
« on: March 29, 2016, 11:27:57 AM »
More information: I #defined I2CDEV_SERIAL_DEBUG to 1 in I2CDev.cpp and see the following in the serial monitor:
ArduinoIMU starting using device LSM9DS1
I2C (0x6A) reading 1 bytes from 0xF.... Done (0 read).
I2C (0x6B) reading 1 bytes from 0xF.... Done (0 read).
Failed to init IMU: -1
No valid compass calibration data
I2C (0x0) reading 1 bytes from 0x17.... Done (0 read).
I2C (0x0) reading 1 bytes from 0x17.... Done (0 read).
I2C (0x0) reading 1 bytes from 0x17.... Done (0 read).
...
That last line loops forever. So it appears that no i2c I/O is working, everything returns 0 as a result.
Does this give any additional clues?
Thanks,
--Nitin
ArduinoIMU starting using device LSM9DS1
I2C (0x6A) reading 1 bytes from 0xF.... Done (0 read).
I2C (0x6B) reading 1 bytes from 0xF.... Done (0 read).
Failed to init IMU: -1
No valid compass calibration data
I2C (0x0) reading 1 bytes from 0x17.... Done (0 read).
I2C (0x0) reading 1 bytes from 0x17.... Done (0 read).
I2C (0x0) reading 1 bytes from 0x17.... Done (0 read).
...
That last line loops forever. So it appears that no i2c I/O is working, everything returns 0 as a result.
Does this give any additional clues?
Thanks,
--Nitin