I used I2C_transfer(i2cHandle, &i2cTransaction) to write to MPU6050 (400kHz)
The I2C Address 0x69 and write are transmitted normally, and has received a ACK,
But the second byte 0x6B became 0x6A, and without ACK。It seems I2C_transfer
function can't read/write Correctly. Or Some setting I missed?
Thank you
Liang-Yu
txData[0] = 0x6B;
txData[1] = 0x80;
i2cTransaction.slaveAddress = 0x69;
i2cTransaction.writeBuf = txData;
i2cTransaction.writeCount = 2;
i2cTransaction.readBuf = rxData;
i2cTransaction.readCount = 0;