Hi, I am trying to implement this communication with TI's I2C hardware:
| Master | S1 | AD+W | RA | S2 | AD+R | Nack | P | ||||
| Slave | ACK1 | ACK2 | ACK3 | Data |
where Master is the MSP430g2553, and slave is the MPU 6050.
S is start, P is stop conditions. AD is MPU address, R read bit, W write bit, RA is the register address in the MPU I want to read. Data is the value at RA.
What I don't understand is how to watch for the second acknowledge ACK2, so that I can begin with the next start condition S2. Can someone explain the process?
Thanks, Kevin