how do I configure the i2c host with clock stretching ?

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

how do I configure the i2c host with clock stretching ?

跳至解决方案
3,525 次查看
Luke-Hsieh
Contributor III

I'm trying to have TI gauge bq27542-g1 worked on imx8m nano EVK with pure Linux OS.

I was aware that i2c host must support i2c clock stretching to wait for slow slave response.

 

Can anyone share your experience any specific change in DTS or in the driver to support i2c clock stretching ?

 

 

0 项奖励
回复
1 解答
3,513 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Luke

 

it is supported in hardware as described in sect.15.1.3.5 Clock stretching, no additional

dts settings are needed   i.MX 8M Nano Applications Processor Reference Manual

 

Best regards
igor

在原帖中查看解决方案

2 回复数
3,502 次查看
Luke-Hsieh
Contributor III

Hi Igor,

 

Thanks for the confirmation!

I will give it a try when I receive the device which is a fuel gauge IC.

0 项奖励
回复
3,514 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Luke

 

it is supported in hardware as described in sect.15.1.3.5 Clock stretching, no additional

dts settings are needed   i.MX 8M Nano Applications Processor Reference Manual

 

Best regards
igor