I2C1

Register Listing for I2C1

Register

Address

I2C1_PHY_SPEED_MODE

0xf0009800

I2C1_MASTER_ACTIVE

0xf0009804

I2C1_MASTER_SETTINGS

0xf0009808

I2C1_MASTER_ADDR

0xf000980c

I2C1_MASTER_RXTX

0xf0009810

I2C1_MASTER_STATUS

0xf0009814

I2C1_PHY_SPEED_MODE

Address: 0xf0009800 + 0x0 = 0xf0009800

I2C1_MASTER_ACTIVE

Address: 0xf0009800 + 0x4 = 0xf0009804

I2C1_MASTER_SETTINGS

Address: 0xf0009800 + 0x8 = 0xf0009808

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.

I2C1_MASTER_ADDR

Address: 0xf0009800 + 0xc = 0xf000980c

I2C1_MASTER_RXTX

Address: 0xf0009800 + 0x10 = 0xf0009810

I2C1_MASTER_STATUS

Address: 0xf0009800 + 0x14 = 0xf0009814

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.