I2C Speed - I2C Speed - 1.15 English - UG585

Zynq 7000 SoC Technical Reference Manual (UG585)

Document_ID
UG585
Release_Date
2026-02-06
Version
1.15 English

The main clock used within the I2C interface is the clock enable signal (see the following figure).

  • In slave mode, the clock enable is used to extract synchronization information for correct sampling of the SDA line.
  • In master mode, the clock enable is used to establish a time base for generating the desired SCL frequency.
Figure 1. I2C Clock Generator
The frequency of the clock_enable signal is defined by the frequency of the CPU_1x clock and the values of divisor_a and divisor_b using the following equation.
Note: As seen from the above calculation, the SCL clock frequency range is limited by the cpu_1x clock. This means that for some cpu_1x clock rates there are some SCL frequencies that are not possible.

See I2C register map in Register Details for details of register fields.

The following table lists the calculated values for standard and high speed SCL clock values. A programming example is provided in Section 20.3.2.

I2C SCL Clock = CPU_1X_Clock / (22 * (divisor_a + 1) * (divisor_b + 1))
Table 1. Calculated Values for Standard and High Speed SCL Clock Values
I2C SCL Clock CPU_1X_Clock divisor_a divisor_b
100 kHz 111 MHz 2 16
400 kHz 111 MHz 0 12
100 kHz 133 MHz 0 60
400 kHz 133 MHz 2 4
100 kHz 166 MHz 3 16