Address

Name:
ADDR
Offset:
0x24 [ID-00001bb3]
Reset:
0x0000
Access:
Write-Synchronized
Bit3130292827262524
Access
Reset
Bit2322212019181716
LEN[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit15141312111098
TENBITENHSLENENADDR[2:0]
AccessR/WR/WR/WR/WR/WR/W
Reset000000
Bit76543210
Access
Reset

Bits 23:16 – LEN[7:0]: Transaction Length

Transaction Length

These bits define the transaction length of a DMA transaction from 0 to 255 bytes. The Transfer Length Enable (LENEN) bit must be written to '1' in order to use DMA.

Bit 15 – TENBITEN: Ten Bit Addressing Enable

Ten Bit Addressing Enable

This bit enables 10-bit addressing. This bit can be written simultaneously with ADDR to indicate a 10-bit or 7-bit address transmission.

ValueDescription
0 10-bit addressing disabled.
1 10-bit addressing enabled.

Bit 14 – HS: High Speed

High Speed

This bit enables High-speed mode for the current transfer from repeated START to STOP. This bit can be written simultaneously with ADDR for a high speed transfer.

ValueDescription
0 High-speed transfer disabled.
1 High-speed transfer enabled.

Bit 13 – LENEN: Transfer Length Enable

Transfer Length Enable

ValueDescription
0 Automatic transfer length disabled.
1 Automatic transfer length enabled.

Bits 10:8 – ADDR[2:0]: Address

Address

When ADDR is written, the consecutive operation will depend on the bus state:

UNKNOWN: INTFLAG.MB and STATUS.BUSERR are set, and the operation is terminated.

BUSY: The I2C master will await further operation until the bus becomes IDLE.

IDLE: The I2C master will issue a start condition followed by the address written in ADDR. If the address is acknowledged, SCL is forced and held low, and STATUS.CLKHOLD and INTFLAG.MB are set.

OWNER: A repeated start sequence will be performed. If the previous transaction was a read, the acknowledge action is sent before the repeated start bus condition is issued on the bus. Writing ADDR to issue a repeated start is performed while INTFLAG.MB or INTFLAG.SB is set.

STATUS.BUSERR, STATUS.ARBLOST, INTFLAG.MB and INTFLAG.SB will be cleared when ADDR is written.

The ADDR register can be read at any time without interfering with ongoing bus activity, as a read access does not trigger the master logic to perform any bus protocol related operations.

The I2C master control logic uses bit 0 of ADDR as the bus protocol’s read/write flag (R/W); 0 for write and 1 for read.