I2C Peripheral 10-Bit Addressing Format With Master-Transmitter Writing To Slave-Receiver (Fdf = 0, Xa = 1 In Icmdr); I2C Peripheral Free Data Format (Fdf = 1 In Icmdr); I2C Peripheral 7-Bit Addressing Format With Repeated Start Condition (Fdf = 0, Xa = 0 In Icmdr) - Texas Instruments AM1808 Technical Reference Manual

Sitara arm microprocessor
Hide thumbs Also See for AM1808:
Table of Contents

Advertisement

www.ti.com
22.2.6.2 10-Bit Addressing Format
The 10-bit addressing format
slave address in two separate byte transfers. The first byte consists of 11110b, the two MSBs of the 10-bit
slave address, and R/W = 0 (write). The second byte is the remaining 8 bits of the 10-bit slave address.
The slave must send acknowledgment (ACK) after each of the two byte transfers. Once the master has
written the second byte to the slave, the master can either write data or use a repeated START condition
to change the data direction. (For more information about using 10-bit addressing, see the Philips
Semiconductors I2C-bus specification.)
Write 1 to the XA bit of ICMDR to select the 10-bit addressing format.
Figure 22-9. I2C Peripheral 10-Bit Addressing Format With Master-Transmitter Writing to Slave-Receiver
1
7
S
1 1 1 1 0 A A
A A = 2 MSBs
n = The number of data bits (from 1 to 8) specified by the bit count (BC) field of ICMDR.
22.2.6.3 Free Data Format
In the free data format
bit is inserted after each data word. The data word can be from 1 to 8 bits, depending on the bit count
(BC) bits of ICMDR. No address or data-direction bit is sent. Therefore, the transmitter and the receiver
must both support the free data format, and the direction of the data must be constant throughout the
transfer.
To select the free data format, write 1 to the free data format (FDF) bit of ICMDR.
Figure 22-10. I2C Peripheral Free Data Format (FDF = 1 in ICMDR)
1
n
S
Data
n = The number of data bits (from 1 to 8) specified by the bit count (BC) field of ICMDR.
22.2.6.4 Using a Repeated START Condition
The repeated START condition can be used with the 7-bit addressing, 10-bit addressing, and free data
formats. The 7-bit addressing format using a repeated START condition (S) is shown in
the end of each data word, the master can drive another START condition. Using this capability, a master
can transmit/receive any number of data words before driving a STOP condition. The length of a data
word can be from 1 to 8 bits and is selected with the bit count (BC) bits of ICMDR.
Figure 22-11. I2C Peripheral 7-Bit Addressing Format With Repeated START Condition
1
7
S
Slave address
1
n = The number of data bits (from 1 to 8) specified by the bit count (BC) field of ICMDR.
SPRUH82C – April 2013 – Revised September 2016
Submit Documentation Feedback
(Figure
22-9) is like the 7-bit addressing format, but the master sends the
(FDF = 0, XA = 1 in ICMDR)
1
1
0
ACK
A A A A A A A A
R/W
8 LSBs of slave address
(Figure
22-10), the first bits after a START condition (S) are a data word. An ACK
1
ACK
Data
(FDF = 0, XA = 0 in ICMDR)
1
1
1
1
n
R/W ACK
Data
ACK
S
Any
number
Copyright © 2013–2016, Texas Instruments Incorporated
1
8
ACK
1
n
ACK
1
7
Slave address
R/W ACK
1
Inter-Integrated Circuit (I2C) Module
Architecture
1
n
Data
ACK
1
n
Data
ACK P
Figure
22-11. At
1
1
n
Data
ACK
Any number
1
P
1
1
P
995

Advertisement

Table of Contents
loading

This manual is also suitable for:

Am1810

Table of Contents