I2C2

Register Listing for I2C2

Register

Address

I2C2_PHY_SPEED_MODE

0xf000a000

I2C2_MASTER_ACTIVE

0xf000a004

I2C2_MASTER_SETTINGS

0xf000a008

I2C2_MASTER_ADDR

0xf000a00c

I2C2_MASTER_RXTX

0xf000a010

I2C2_MASTER_STATUS

0xf000a014

I2C2_PHY_SPEED_MODE

Address: 0xf000a000 + 0x0 = 0xf000a000

I2C2_MASTER_ACTIVE

Address: 0xf000a000 + 0x4 = 0xf000a004

I2C2_MASTER_SETTINGS

Address: 0xf000a000 + 0x8 = 0xf000a008

I2C transfer settings

Field

Name

Description

[2:0]

LEN_TX

I2C tx Xfer length (in bytes). Set to a value greater then 4 to anounce more data has to be transmitted.

[10:8]

LEN_RX

I2C rx Xfer length (in bytes). Set to a value greater then 4 to anounce more data has to be received.

[16]

RECOVER

I2C recover bus. If set, the I2C bus will be recovered.

I2C2_MASTER_ADDR

Address: 0xf000a000 + 0xc = 0xf000a00c

I2C2_MASTER_RXTX

Address: 0xf000a000 + 0x10 = 0xf000a010

I2C2_MASTER_STATUS

Address: 0xf000a000 + 0x14 = 0xf000a014

Field

Name

Description

[0]

TX_READY

TX FIFO is not full.

[1]

RX_READY

RX FIFO is not empty.

[8]

NACK

Error on transfer.

[16]

TX_UNFINISHED

Another tx transfer is expected.

[17]

RX_UNFINISHED

Another rx transfer is expected.