Hello Everyone,
We are currently working on the MPU 6000 sensor. We are using the sensor along with a 'Bus Pirate'. Background info on the bus pirate can be found here:
http://dangerousprototypes.com/docs/Bus_Pirate
We are interested in communicating using the SPI interface. However, it is known that the MPU 6000 has I2C as its default mode of communication. We checked if we could write/read to registers using the I2C mode (over a bus pirate). And we were successful with it. However, when we try to read the registers for the accelerometer (0x3B to 0x40), gyroscope (0x43 to 0x48)(the x,y,z data), we are not able to do this. We tried tweaking other registers that may be relevant enough to solve this problem but it has been of no help so far.
The following are the registers that we changed:
1. SMRLPT_DIV (0x19) - from 0x00 to 0xFF
2. CONFIG (0x1A) - left it as 0x00
3. PWR MGT1 (0x6B) - left it as 0x00
4. FIFO Enable (0x23) - left it as 0x00 (tried changing this to 0xF8 but did not help)
5. INT_enable (0x38) - left it as 0x00
6. GYRO CONFIG (0x1B) - left it as 0x00
7. ACCEL_CONFIG (0x1C) - left it as 0x00
8. INT_PIN_CFG (0x37) - 0x00
We tried using different values to assign to these registers in order to get some reading from the accelerometer and gyroscope registers... but nothing has happened so far. We have re-checked the register map for 6000 and looked at literature on the web.. but is there anything that we are still missing? Is there anything that we have to do? We have been trying to debug this problem since almost two weeks.. so any help/suggestions would be greatly appreciated.
- Log in to post comments
phpbb Topic ID
15093