Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Data Sheet

Product codes
ATSAM4E-XPRO
Page of 1506
829
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
Figure 36-9.
Master Read with One Data Byte
Figure 36-10. Master Read with Multiple Data Bytes 
Figure 36-11. Master Read Clock Stretching with Multiple Data Bytes
36.7.3.6 Internal Address
The TWI interface can perform various transfer formats: Transfers with 7-bit slave address devices and 10-bit
slave address devices.
7-bit Slave Addressing
When Addressing 7-bit slave devices, the internal address bytes are used to perform random address (read or
write) accesses to reach one or more data bytes, within a memory page location in a serial memory, for example.
When performing read operations with an internal address, the TWI performs a write operation to set the internal
A
S
DADR
R
DATA
NA
P
TXCOMP
Write START & 
STOP Bit
RXRDY
Read RHR
TWD
NA
A
S
DADR
R
DATA n
A
A
DATA (n+1)
A
DATA (n+m)
DATA (n+m)-1
P
TWD
TXCOMP
Write START Bit
RXRDY
Write STOP Bit
after next-to-last data read
Read RHR
DATA n
Read RHR
DATA (n+1)
Read RHR
DATA (n+m)-1
Read RHR
DATA (n+m)
A
DATA  n
A
S
DADR
W
DATA n+1
A
P
DATA n+2
A
TXCOMP
RXRDY
Read RHR (Data n)
STOP command performed 
(by writing in the TWI_CR)
TWD
TWCK
Read RHR (Data n+1)
Read RHR (Data n+2)
Clock Streching