MPU-9150 - I2C problem

By priorsteve , 24 July 2013

Hi,

I got MPU-9150 connected to MSP430.
2 wires of I2C are connected with pullup resistors. However on initialization I get an error straight away here:

/* Reset device. */
data[0] = BIT_RESET;
if (i2c_write(st.hw->addr, st.reg->pwr_mgmt_1, 1, data))
return -1;
delay_ms(100);


It returns -1. Any idea how I can debug it?

Thanks,
Sergey

phpbb Topic ID
15474