Atmel Evaluation Kit AT91SAM9M10-G45-EK AT91SAM9M10-G45-EK Data Sheet

Product codes
AT91SAM9M10-G45-EK
Page of 1361
 573
SAM9M10 [DATASHEET]
6355F–ATARM–12-Mar-13
 
Figure  32-26.
Write Access Ordered by a Master
Notes:
1. When SVACC is low, the state of SVREAD becomes irrelevant.
2. RXRDY is set when data has been transmitted from  the shift register to the TWI_RHR and reset when this data is read.
32.10.5.3
General Call
The general call is performed in order to change the address of the slave.
If a GENERAL CALL is detected, GACC is set.
After the detection of General Call, it is up to the programmer to decode the commands which come afterwards.
In case of a WRITE command, the programmer has to decode the programming sequence and program a new
SADR if the programming sequence matches.
 describes the General Call access.
Figure  32-27.
Master Performs a General Call 
Note:
This method allows the user to create an own programming sequence by choosing the programming bytes and the 
number of them. The programming sequence has to be provided to the master.
RXRDY
Read RHR
SVREAD has to be taken into account only while SVACC is active
TWD
SVACC
SVREAD
EOSVACC
SADR does not match,
TWI answers with a NACK
SADR
S
ADR
W
NA
W
A
DATA
A
A
DATA
NA
S/Sr
DATA
NA
P/S/Sr
SADR matches,
TWI answers with an ACK
0000000 + W
GENERAL CALL
P
S
A
GENERAL CALL
Reset or write DADD
A
New SADR
DATA1
A
DATA2
A
A
New SADR
Programming se uence
TXD
GCACC
SVACC
RESET command = 00000110X
WRITE command = 00000100X
Reset after read