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.
| Item | Record | What to distinguish |
|---|---|---|
| Board reference | Code, supply, measurement point, and frequency | Oscillator and clock-path behavior |
| Kernel clock | Source, divider, and live mode | Actual I²C timing unit |
| High and low counts | Fields, prescaler, and units | Programmed timing |
| Filter and synchronization | Analog enable, DNF, scale, and architecture | Additional fixed or phase-dependent delay |
| Bus | Threshold, physical edges, cycles, and long low segments | Slow 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.
