Clock Stretching

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

Clock Stretching

1,008件の閲覧回数
perharaldhelges
Contributor II

I`m trying to do some clock streching by using th I2C_LDD componenet but the clock stretching option doesn`t seem to be avalable ?

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

801件の閲覧回数
perharaldhelges
Contributor II

No, I`m using Kinetis KL26Z as master. The I2C_LDD component has an option for clock streching but it is not possible to mark it.

0 件の賞賛
返信

801件の閲覧回数
egoodii
Senior Contributor III

Well, I don't know what to tell you.  Per the I2C standard, 'clock stretching' is strictly a function FROM a slave BACK to a master to 'pace' the transaction.  Master-side I2C is, of course, totally 'in control' of its own pacing.  Thus the I2C_LDD component doesn't enable 'clock stretching' as an option in master-mode.

0 件の賞賛
返信

801件の閲覧回数
egoodii
Senior Contributor III

I presume you are speaking of a mode where the Kinetis is an I2C slave.  In that case, the 'clock stretching' is an automatic hardware function, where the clock line will be held after a byte is received until the I2C register has been cleared by firmware, thus making it available for the next byte to be clocked-in.

0 件の賞賛
返信