First, I'm using Hercules Development Kit(TMS570LC4357) and Halcogen+CCS v6.1.3.
And I also use MPU-6050(Gyro+Accel sensor).
I already connect each pin J11(Expansion Connector on backboard)-SPI3NCS2(Alternative pin) to I2C_SDA in sensor, J11-SPI3NCS3 to I2C_SCL in sensor. (use two bus lines).
And, for power support to MPU-6050, I connect the pin to J11 - GIOA[4](default) pin (because that voltage is 3.3V).
Gnd? absolutely connect!!!
Every single pin is connect perfectly. Because, I can check MPU-6050 sensor is turn on(through LED light on board).
Here is my question.
I try to receive continuous data from MPU-6050. I followed the example in HalCoGen, and configure some resisters setting.
There are examples about I2C, but that is only self-communication.(loop back)
Anyway, I can not catch the f-king continuous data from MPU-6050.
How can i get data from MPU-6050???? And How can i check and see the data???
I need your specific help about this problem.
For reference, HDK is master(address - 0x26), and sensor is slave(address - 0x68) in I2C communication.
Actullay, i wondering all steps are wrong.