I2C Control Register 2 (I2C_C2) - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Memory map/register definition
Field
The C1[TX] bit must correctly reflect the desired direction of transfer in master and slave modes for the
transmission to begin. For example, if the I2C module is configured for master transmit but a master
receive is desired, reading the Data register does not initiate the receive.
Reading the Data register returns the last byte received while the I2C module is configured in master
receive or slave receive mode. The Data register does not reflect every byte that is transmitted on the I2C
bus, and neither can software verify that a byte has been written to the Data register correctly by reading it
back.
In master transmit mode, the first byte of data written to the Data register following assertion of MST (start
bit) or assertion of RSTA (repeated start bit) is used for the address transfer and must consist of the
calling address (in bits 7-1) concatenated with the required R/W bit (in position bit 0).

45.4.6 I2C Control Register 2 (I2C_C2)

Address: 4006_6000h base + 5h offset = 4006_6005h
Bit
7
Read
GCAEN
Write
Reset
0
Field
7
General Call Address Enable
GCAEN
Enables general call address.
0
Disabled
1
Enabled
6
Address Extension
ADEXT
Controls the number of bits used for the slave address.
0
7-bit address scheme
1
10-bit address scheme
5
High Drive Select
HDRS
Controls the drive capability of the I2C pads.
0
Normal drive mode
1
High drive mode
4
Slave Baud Rate Control
SBRC
Enables independent slave mode baud rate at maximum frequency, which forces clock stretching on SCL
in very fast I2C modes. To a slave, an example of a "very fast" mode is when the master transfers at 40
kbit/s but the slave can capture the master's data at only 10 kbit/s.
0
The slave baud rate follows the master baud rate and clock stretching may occur
1
Slave baud rate is independent of the master baud rate
1240
I2C_D field descriptions (continued)
6
5
ADEXT
HDRS
SBRC
0
0
I2C_C2 field descriptions
Table continues on the next page...
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Description
4
3
2
RMEN
0
0
0
Description
1
0
AD[10:8]
0
0
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents