IMX8 i2c slave eeprom clock stretching

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8 i2c slave eeprom clock stretching

906 次查看
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 项奖励
回复
2 回复数

873 次查看
MJaroc
Contributor II

Hi,

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

0 项奖励
回复

885 次查看
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 项奖励
回复