Register Map
1535
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
M3 Inter-Integrated Circuit (I2C) Interface
22.5 Register Map
lists the I2C registers. All addresses given are relative to the I2C base address:
•
I2C 0: 0x4002.0000
•
I2C 1: 0x4002.1000
Note that the I2C module clock must be enabled before the registers can be programmed (see the
System
Control
chapter). There must be a delay of three system clocks after the I2C module clock is enabled
before any I2C module registers are accessed.
The hw_i2c.h file in the Concerto™ MWare library uses a base address of 0x800 for the I2C slave
registers. Be aware when using registers with offsets between 0x800 and 0x818 that Concerto uses an
offset between 0x000 and 0x018 with the slave base address.
Table 22-2. Inter-Integrated Circuit (I2C) Interface Register Map
Offset
Name
Type
Reset
Description
I2C Maste
r
0x000
I2CMSA
R/W
0x0000.0000
I2C Master Slave Address
0x004
I2CMCS
R/W
0x0000.0000
I2C Master Control/Status
0x008
I2CMDR
R/W
0x0000.0000
I2C Master Data
0x00C
I2CMTPR
R/W
0x0000.0001
I2C Master Timer Period
0x010
I2CMIMR
R/W
0x0000.0000
I2C Master Interrupt Mask
0x014
I2CMRIS
RO
0x0000.0000
I2C Master Raw Interrupt
Status
0x018
I2CMMIS
RO
0x0000.0000
I2C Master Masked Interrupt
Status
0x01C
I2CMICR
WO
0x0000.0000
I2C Master Interrupt Clear
0x020
I2CMCR
R/W
0x0000.0000
I2C Master Configuration
I2C Slave
0x800
I2CSOAR
R/W
0x0000.0000
I2C Slave Own Address
0x804
I2CSCSR
RO
0x0000.0000
I2C Slave Control/Status
0x808
I2CSDR
R/W
0x0000.0000
I2C Slave Data
0x80C
I2CSIMR
R/W
0x0000.0000
I2C Slave Interrupt Mask
0x810
I2CSRIS
RO
0x0000.0000
I2C Slave Raw Interrupt Status
0x814
I2CSMIS
RO
0x0000.0000
I2C Slave Masked Interrupt
Status
0x818
I2CSICR
WO
0x0000.0000
I2C Slave Interrupt Clear