1) This line of code 2C_1_MasterWriteBuf(MPU6050_ADDRESS , &test, 1, I2C_1_MODE_COMPLETE_XFER ); is missing
the "I" at beggining of line, eg. should be I2C_.......
2) Pull ups installed on SDFA and SCL ?
3) On scope levels and timing look right for speed ?
4) userArray is long enough + 1 for the null character to terminate string ?
This 2) Pull ups installed on SDFA and SCL ? should read this 2) Pull ups installed on SDA and SCL ?
Yep sorry I forgot teh "I" when I copied/pasted my code...
There are already resistor on the board of the mpu5060
and for the speed I choose 100K like the datasheet... :'(
For most I2C-devices the first write to specify which register to read from has to be made with No_Stop and the reading with Repeat_start. I personally prefer the more basic functions SendStart(), WriteByte(), SendRestart(), ReadByte and SendStop() in that order.