Skip to content

i2c: fine tune register values to meet the 100 kHz frequency requirement#78

Merged
ddeshat merged 1 commit intointel:mainfrom
ddeshat:ish_i2c
Apr 17, 2026
Merged

i2c: fine tune register values to meet the 100 kHz frequency requirement#78
ddeshat merged 1 commit intointel:mainfrom
ddeshat:ish_i2c

Conversation

@ddeshat
Copy link
Copy Markdown
Contributor

@ddeshat ddeshat commented Apr 8, 2026

i2c: fine tune register values to meet the 100 kHz frequency requirement

When ISH I2C is configured to standard frequency 100kHz and measured on different WCL RVP and customer reference designs the measured frequency reported is more than 101kHz

The default values of the I2C_SS_SCL_HIGH REG values is increased by 140 to finetune clock frequency to 99.79kHz. This helps generate frequency less than 100kHz by default.

Based on the WCL boards RVP below are the details on the I2C SCL Clock pulse
tr(raise time)=189.6ns tf(fall time)=48.92ns tHIGH=4.7usec and tLOW=5.124usec. Frequency measured is 99.79kHz

Captures attached:
tHIGH_4 7usec_timing
raisetime_falltime_frequency_measurement
tLOW_5 124usec_timing

@kwd-doodling
Copy link
Copy Markdown
Contributor

The patch looks well and should be able to address the 100KHZ issue.
Will get it merged after internal patch merged first.

@kwd-doodling kwd-doodling self-requested a review April 17, 2026 06:19
@ddeshat ddeshat changed the title ISH I2C frequency tuning ish i2c: fine tune the register values to meet the 100 kHz i2c standard frequency requirement Apr 17, 2026
@ddeshat ddeshat changed the title ish i2c: fine tune the register values to meet the 100 kHz i2c standard frequency requirement ish i2c: fine tune register values to meet the 100 kHz frequency requirement Apr 17, 2026
@ddeshat ddeshat changed the title ish i2c: fine tune register values to meet the 100 kHz frequency requirement i2c: fine tune register values to meet the 100 kHz frequency requirement Apr 17, 2026
When ISH I2C is configured to standard frequency 100kHz
and measured on different WCL RVP and customer reference
designs the measured frequency reported is more than 101kHz

The default values of the I2C_SS_SCL_HIGH REG values is increased
by 140 to finetune clock frequency to 99.79kHz. This helps
generate frequency less than 100kHz by default.

Based on the WCL boards RVP below are the  details on the
I2C SCL Clock pulse

tr(raise time)=189.6ns tf(fall time)=48.92ns tHIGH=4.7usec and
tLOW=5.124usec. Frequency measured is 99.79kHz

Signed-off-by: Deshatty, Deepti <deepti.deshatty@intel.com>
@ddeshat ddeshat merged commit a985186 into intel:main Apr 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants