I wonder if anyone could have a quick look at my project to suggest what I am doing wrong. This is a project that I had downloaded from Sam's blog, and I am following pretty much what he recommends. The code runs but throws an error that " MPU6050 connection failed" followed by printing 0 all over.

I would like to mention that: 1. I have used this code previously, and it had worked. 2. I testecMPU6050 unit Arduino and it worked fine, which means sensor board is OK.

Some of the community members had previously helped me getting started with this project. I am hoping they would me understand the issue. I am attaching the project below. I would appreciate if someone could run on her computer.

I have checked three different PSOC4-BLE kit boards. The boards are fine since other projects are doing just fine. To rule out any issue with MPU-6050 unit I ran it on an Arduino board. The MPU-6050 unit gave expected reading on Arduino.

Is there a way to plot/visualize I2C data in psoc creator software? I do not have an oscilloscope. Could you recommend something?

verify that on your board used pins are not connected to anything else - the Cypress Pioneer boards have some peripherals connected, and IIRC one of the I2C ports is connected to the PSoC5 debug adapter