Set SCLK Frequency

Versal Adaptive SoC Technical Reference Manual (AM011)

Document ID
AM011
Release Date
2023-10-05
Revision
1.6 English
Table 1. I2C Set SCLK Frequency
Task Register Register Field Bits Operation
Test for an active transfer; read the transfer size register Transfer_Size, 0x14 Transfer_Size 7:0 Read operation
If the Transfer_Size register is not = 0, then stop here. If the device is currently transferring data, the transfer must complete or be aborted before setting options.
Program the clock divisor values Control , 0x00

divisor_a
divisor_b

15:14
13:8

Write operation

I2C_SCLK frequency = I2C_REF_CLK frequency / (22 x (Div_a + 1) x (Div_b + 1)).