Hello,
I have an MPU-9150 breakout board from Sparkfun and I want to use it in a data logger that I build. At first, in order to ensure that the sensor works fine, I made a small CCS project that only reads the data from the accelerometer and prints them on a serial monitor, before integrating this functionality into my main project. When I run the small project, everything works fine and I can see the sensor sending data on my screen. But, when I copied and paste the code from the small project to the main data logger project, it stopped to work properly. The sensor generates interrupts and sends data for about a minute and then it stops to generate interrupts or sometimes reports and "arbitration lost" error. What can I do to solve it? in order to use the MPU-9150 sensor I used the code from the qs-logger example provided with Tivaware. Attached below are the two projects I mentioned:
Small project that only reads accelerometer data: mpu9150_test.zip
Main data logger project: 2553.art-logger_final.zip