I2C Registers
Table 21-27. I2C_CON Register Field Descriptions (continued)
Bit
Field
Type
Reset
Description
10
MST
R/W
0h
Master/slave mode (I2C mode only).
When this bit is cleared, the I2C controller is in the slave mode and
the serial clock (SCL) is received from the master device.
When this bit is set, the I2C controller is in the master mode and
generates the serial clock.
Note: This bit is automatically cleared at the end of the transfer on a
detected stop condition, in case of arbitration lost or when the
module is configured as a master but addressed as a slave by an
external master.
Value after reset is low.
0x0 = Slave mode
0x1 = Master mode
9
TRX
R/W
0h
Transmitter/receiver mode (i2C master mode only).
When this bit is cleared, the I2C controller is in the receiver mode
and data on data line SDA is shifted into the receiver FIFO and can
be read from I2C_DATA register.
When this bit is set, the I2C controller is in the transmitter mode and
the data written in the transmitter FIFO via I2C_DATA is shifted out
on data line SDA.
Value after reset is low.
The operating modes are defined as follows: MST = 0, TRX = x,
Operating Mode = Slave receiver.
MST = 0, TRX = x, Operating Mode = Slave transmitter.
MST = 1, TRX = 0, Operating Modes = Master receiver.
MST = 1, TRX = 0, Operating Modes = Master transmitter.
0x0 = Receiver mode
0x1 = Transmitter mode
8
XSA
R/W
0h
Expand slave address.
(I2C mode only).
When set, this bit expands the slave address to
10-bit.
Value after reset is low.
0x0 = 7-bit address mode
0x1 = 10-bit address mode
7
XOA0
R/W
0h
Expand own address 0.
(I2C mode only).
When set, this bit expands the base own address (OA0) to
10-bit.
Value after reset is low.
0x0 = 7-bit address mode
0x1 = 10-bit address mode
6
XOA1
R/W
0h
Expand own address 1.
(I2C mode only).
When set, this bit expands the first alternative own address (OA1) to
10-bit.
Value after reset is low.
0x0 = 7-bit address mode
0x1 = 10-bit address mode
5
XOA2
R/W
0h
Expand own address 2.
(I2C mode only).
When set, this bit expands the second alternative own address
(OA2) to
10-bit.
Value after reset is low.
0x0 = 7-bit address mode. (I2C mode only).
0x1 = 10-bit address mode
4
XOA3
R/W
0h
Expand own address 3.
When set, this bit expands the third alternative own address (OA3)
to
10-bit.
Value after reset is low.
0x0 = 7-bit address mode
0x1 = 10-bit address mode
3750
I2C
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated