Table 14-19. I2C Mode Register (I2CMDR) Field Descriptions (continued)
Bit
Field
Type
Reset
Description
12
RESERVED
R
0h
Reserved
11
STP
R/W
0h
STOP condition bit (only applicable when the I2C module is a
master).
In the master mode, the RM,STT, and STP bits determine when the
I2C module starts and stops data transmissions.
Note that the STT and STP bits can be used to terminate the repeat
mode, and that this bit is not writable when IRS=0. When in non-
repeat mode, at least one byte must be transferred before a stop
condition can be generated. The I2C module delays clearing of this
bit until after the I2CSTR[SCD] bit is set. To avoid disrupting the
I2C state machine, the user must wait until this bit is clear before
initiating a new message.
Reset type: SYSRSn
0h (R/W) = STP is automatically cleared after the STOP condition
has been generated
1h (R/W) = STP has been set by the device to generate a STOP
condition when the internal data counter of the I2C module counts
down to 0.
10
MST
R/W
0h
Master mode bit.
MST determines whether the I2C module is in the slave mode or the
master mode. MST is automatically changed from 1 to 0 when the
I2C master generates a STOP condition
Reset type: SYSRSn
0h (R/W) = Slave mode. The I2C module is a slave and receives the
serial clock from the master.
1h (R/W) = Master mode. The I2C module is a master and generates
the serial clock on the SCL pin.
9
TRX
R/W
0h
Transmitter mode bit.
When relevant, TRX selects whether the I2C module is in the
transmitter mode or the receiver mode.
Reset type: SYSRSn
0h (R/W) = Receiver mode. The I2C module is a receiver and
receives data on the SDA pin.
1h (R/W) = Transmitter mode. The I2C module is a transmitter and
transmits data on the SDA pin.
8
XA
R/W
0h
Expanded address enable bit.
Reset type: SYSRSn
0h (R/W) = 7-bit addressing mode (normal address mode). The I2C
module transmits 7-bit slave addresses (from bits 6-0 of I2CSAR),
and its own slave address has 7 bits (bits 6-0 of I2COAR).
1h (R/W) = 10-bit addressing mode (expanded address mode).
The I2C module transmits 10-bit slave addresses (from bits 9-0
of I2CSAR), and its own slave address has 10 bits (bits 9-0 of
I2COAR).
Inter-Integrated Circuit Module (I2C)
868
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......