ic_comp_param_1

This is a constant read-only register that contains encoded information about the component's parameter settings.
Module Instance Base Address Register Address
i2c0 0xFFC04000 0xFFC040F4
i2c1 0xFFC05000 0xFFC050F4
i2c2 0xFFC06000 0xFFC060F4
i2c3 0xFFC07000 0xFFC070F4

Offset: 0xF4

Access: RO

Important: To prevent indeterminate system behavior, reserved areas of memory must not be accessed by software or hardware. Any area of the memory map that is not explicitly defined as a register space or accessible memory is considered reserved.
Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

tx_buffer_depth

RO 0x3F

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

rx_buffer_depth

RO 0x3F

add_encoded_params

RO 0x1

has_dma

RO 0x1

intr_io

RO 0x1

hc_count_values

RO 0x0

max_speed_mode

RO 0x2

apb_data_width

RO 0x2

ic_comp_param_1 Fields

Bit Name Description Access Reset
23:16 tx_buffer_depth

Sets Tx FIFO Depth.

Value Description
0x40 Tx Buffer Depth 64 Entries
RO 0x3F
15:8 rx_buffer_depth

Sets Rx FIFO Depth.

Value Description
0x40 Rx Fifo Depth 64 Entries
RO 0x3F
7 add_encoded_params

By adding in the encoded parameters, this gives firmware an easy and quick way of identifying the DesignWare component within an I/O memory map. Some critical design-time options determine how a driver should interact with the peripheral. There is a minimal area overhead by including these parameters. Allows a single driver to be developed for each component which will be self-configurable.

Value Description
0x1 Add Encoded Params
RO 0x1
6 has_dma

This configures the inclusion of DMA handshaking interface signals.

Value Description
0x1 Has DMA
RO 0x1
5 intr_io

All interrupt sources are combined in to a single output.

Value Description
0x1 Combined Interrupt Output
RO 0x1
4 hc_count_values

This makes the *CNT registers readable and writable.

Value Description
0x0 *CNT registers read/write
RO 0x0
3:2 max_speed_mode

The value of this field determines the maximum i2c bus interface speed.

Value Description
0x2 Fast Mode (400 kbit/s)
RO 0x2
1:0 apb_data_width

Sets the APB Data Width.

Value Description
0x2 APB Data Width is 32 Bits
RO 0x2