Skip to main content
Fee
Associate II
July 31, 2020
Solved

STPMIC1 Clock Stretching

  • July 31, 2020
  • 4 replies
  • 1181 views

Hi,

is it possible to use the STPMIC1 on an I2C Bus where another slave does clock stretching? In the datasheet it says that the STPMIC uses the SCL to shift data. For my understanding the clock strechting of the other slave shouldn't bother the STPMIC cause it is not addressed when the clock stretching occurs.

Does anyone has experience with that?

This topic has been closed for replies.
Best answer by Vincenzo

Hi @Lukas Brückner​ 

you've already answered your question, it should be all OK

Vincenzo

4 replies

Olivier GALLIEN
ST Technical Moderator
July 31, 2020

Hi @Lukas Brückner​ 

Not heard about such experience.

Talking about it with @PatrickF​ , he thought that only concern could be real-time impact for Linux in case a slave stretch SCL for a very long time at the time the PMIC is addressed (i.e. a slave that is woken up by I2C Start could stretch the SCL in order to allow it to receive the address. )

We have trigged some experts ( currently in vacation) to confirm or not this assumption.

Keep you posted.

Olivier

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Fee
FeeAuthor
Associate II
September 14, 2020

Hi @Community member​ ,

any updates yet?

Vincenzo
VincenzoBest answer
ST Employee
September 14, 2020

Hi @Lukas Brückner​ 

you've already answered your question, it should be all OK

Vincenzo

Fee
FeeAuthor
Associate II
September 15, 2020

Alright, thanks for your answer @Vincenzo​ !