Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Budgeting I²C SCL Timing With Filter and Synchronizer Delays on a 24 MHz Oscillator Board

After a filter or kernel-clock change, compare live timing configuration and measured edges. SCL period can change while high and low register fields and the board reference stay fixed.

SCL period includes more than the two count fields

The controller counts ticks of the effective I²C kernel clock after prescaling. On an open-drain bus, the physical rise on release depends on pull-up, capacitance, wiring, and probes. Input filtering and synchronization add further delay before the controller recognizes edges.

For one controller architecture, master SCL period is the low duration plus the high duration plus two edge synchronization delays. Each count duration uses the field plus one, multiplied by the prescaled period. The digital-filter contribution is DNF × kernel period. Actual edge, analog filtering, and synchronizer wait also matter. Other controllers can differ.

Distinguish these effects from clock stretching, which can prolong an individual low segment. Compare repeated cycles, firmware modes, and transaction positions under matched conditions.

Worked example: two extra filter ticks per edge

Assume a verified 24 MHz I²C kernel clock, about 41.67 ns per tick, and the same prescaler and high/low counts. Changing DNF from 1 to 3 raises the edge contribution from about 41.67 ns to 125 ns, a difference of about 83.33 ns. Across both edges that adds about 166.67 ns if other terms stay fixed. A hypothetical baseline of 2.70 µs becomes about 2.87 µs, or approximately 370 kHz versus 349 kHz. The baseline is assumed, not calculated from just the count fields.

At DNF 3, changing the actual kernel clock from 24 MHz to 12 MHz increases the filter term from 125 ns to 250 ns, even if counts are adjusted to keep their durations similar. The physical open-drain rise does not automatically change with that divider.

Verify which clock the I²C kernel uses

SCTF SX2M24.000E20F30THN is a 24 MHz, 1.2 V single-ended CMOS active example. Verify exact part, rail, output, load, temperature, and input compatibility. A measured board reference does not establish the kernel's live source. Check selectors, dividers, low-power transitions, and firmware. Frequency tolerance changes the duration of a tick, while DNF can change whole tick counts.

Record pin timing and configuration together

Use an isolated approved low-voltage board, matched load and probing, and repeated short transactions. Record high and low width, rise and fall time with matched thresholds, cycle variation, and any target stretching. Obtain live source, divider, filter, and timing fields through approved diagnostics.

ItemRecordWhat to distinguish
Board referenceCode, supply, measurement point, and frequencyOscillator and clock-path behavior
Kernel clockSource, divider, and live modeActual I²C timing unit
High and low countsFields, prescaler, and unitsProgrammed timing
Filter and synchronizationAnalog enable, DNF, scale, and architectureAdditional fixed or phase-dependent delay
BusThreshold, physical edges, cycles, and long low segmentsSlow rise versus target stretching

Qualify the oscillator and protocol timing separately. Compare known firmware, high/low widths and rise time at the required rate before attributing lot differences to the component.

Frequently asked questions

Can disabled filtering be a permanent fix if speed returns? Requalify noise tolerance and pin timing under an approved configuration.

What if SCL slows only after one byte? Compare transaction position and long low periods with the effects on ordinary cycles. A target wait can be separate from filter delay.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.