IMX8 i2c slave eeprom clock stretching

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8 i2c slave eeprom clock stretching

907 Views
MJaroc
Contributor II

Hi,

Im using IM8MM development board as slave eeprom emulator (i2c-slave-eeprom module). Im observe a long clock streching after master's request to my board. Sometimes its run normally, but usually looks like this:

IMX8_stretch_.JPG

I dont now why driver need 340 us stretch. I try to disable read from file in user-space and send random data from module but it stil need stretch.

IMX8_stretch.JPG

 I need to speed-up this driver, because my master doesnt support that long stretch.

 

Running system:
Linux visionsom-8mm-cb-std 5.4.24-lts-somlabs_imx_5.4.24_2.1.0+gd4858bce452f #1 SMP PREEMPT Tue Feb 7 11:14:29 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

 

0 Kudos
Reply
2 Replies

874 Views
MJaroc
Contributor II

Hi,

how can i disable clock stretching in controler? Is this even posible?

0 Kudos
Reply

886 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I see that you're using a SOMLABS BSP, I would suggest to contact them regarding this issue you’re seeing.

Best regards,
Aldo.

0 Kudos
Reply