IMX8 i2c slave eeprom clock stretching

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8 i2c slave eeprom clock stretching

788件の閲覧回数
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

 

ラベル(3)
0 件の賞賛
返信
2 返答(返信)

755件の閲覧回数
MJaroc
Contributor II

Hi,

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

0 件の賞賛
返信

767件の閲覧回数
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 件の賞賛
返信