Datasheet

Sensors
Freescale Semiconductor, Inc. 24
MMA7660FC
If multiple data bytes are transmitted before a STOP condition is detected, these bytes are generally stored in subsequent
MMA7660FC internal registers because the register address generally auto-increments.
Figure 13. Multiple Bytes Write
Message Format for Reading MMA7660FC
MMA7660FC is read using it’s internally stored register address as address pointer, the same way the stored register address
is used as address pointer for a write. The pointer generally auto-increments after each data byte is read using the same rules
as for a write. Thus, a read is initiated by first configuring the device’s register address by performing a write (Figure 12) followed
by a repeated start. The Master Write address is 1001 1001 (0x99). The master can now read 'n' consecutive bytes from it, with
the first data byte being read from the register addressed by the initialized register address.
Figure 14. Single Byte Read
Figure 15. Multiple Bytes Read
Master ST Device Address [6:0] W Register Address [6:0] Data [7:0] Data [7:0] SP
Slave
AK AK AK AK
Master ST Device Address [6:0] W Register Address [6:0] SR Device Address [6:0] R NAK SP
Slave
AK AK AK Data [7:0]
Master ST Device Address [6:0] W Register Address [6:0] SR Device Address [6:0] R AK
Slave
AK AK AK Data [7:0]
Master
AK AK NAK SP
Slave Data [7:0]
Data [7:0] Data [7:0]