I am currently doing a project with MPU6050 sensor, and i found the example code for MPU9150 from TivaWare.
I tried to run the code for MPU9150 to MPU6050, and it works (but iam not sure if the data is correctly)
But i tried to change the code to MPU6050 and run again. Then errors occurs
I found that my program stops here
// // Initialize I2C3 peripheral. // I2CMInit(&g_sI2CInst, I2C3_BASE, INT_I2C3, 0xff, 0xff, ROM_SysCtlClockGet()); // // Initialize the MPU6050 Driver, preparing it for operation. // MPU6050Init(&g_sMPU6050Inst, &g_sI2CInst, MPU6050_I2C_ADDRESS, MPU6050AppCallback, &g_sMPU6050Inst); // // Wait for transaction to complete //
// program stops here MPU6050AppI2CWait(__FILE__, __LINE__);
Thanks