a factor in lpi2c driver

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

a factor in lpi2c driver

205件の閲覧回数
fuyunezu
Contributor I

recently, i study the lpi2c driver of i.mxrt1170.

and i can't find the factor 0.52 in the driver software come from.

0.52.png

is anyone aware of it?

i.MX-RT1170 

0 件の賞賛
返信
2 返答(返信)

176件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @fuyunezu,

This 0.52 value comes from the tmpHigh function definition on line 713 of the "fsl_lpi2c.c" file:

EdwinHz_0-1722898844621.png

I hope this helps.

BR,
Edwin.

0 件の賞賛
返信

162件の閲覧回数
fuyunezu
Contributor I
Hi EdwinHz,

Thanks to your reply.

I have noticed it, but it still can't explian this factor. I have looked up the "UM10204" which published by NXP, and I can't find any statement to explain the relationship between tbuf and scl clock cycle except the table which tell us the recommand value.
0 件の賞賛
返信