31.4.2.2.6 10-Bit Addressing
When 10-bit addressing is enabled by setting the
Ten Bit Addressing Enable bit in the Address register (ADDR.TENBITEN = 1) and
the Address bit field ADDR.ADDR is written, the two address bytes are transmitted, as shown in
the following figure. The addressed client acknowledges the two address bytes, and the
transaction continues. Regardless of whether the transaction is a read or write, the host must
Start by sending the 10-bit address with the direction bit (ADDR.ADDR[0]) set to zero.
If the host receives a NACK after the first byte, the write interrupt
flag is raised and the STATUS.RXNACK bit is set. If the first byte is acknowledged by one or
more clients, the host proceeds to transmit the second address byte, and the write interrupt
flag is not raised until after the second byte is transmitted. If the transaction direction is
a read from client, the 10-bit address transmission must be followed by a repeated Start and
the first seven bits of the address with the read/write bit set to ‘1’.
- Write the 10-bit address to ADDR.ADDR[10:1].
ADDR.TENBITEN must be set to ‘
1’ and the direction bit (ADDR.ADDR[0]) must be set to ‘0’. These fields can be written simultaneously with ADDR. - Once the Host on Bus interrupt is asserted, write
the ADDR[7:0] register with ‘
11110address[9:8]1’. ADDR.TENBITEN must be cleared. It can be written simultaneously with ADDR. - Proceed with data transmission.
