Skip to main content
Fee
Associate II
Jul 31, 2020 5:25 AM UTC
Solved

STPMIC1 Clock Stretching

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.
Vincenzo
VincenzoBest answer
ST Employee
Sep 14, 2020 3:08 PM UTC

Hi @Lukas Brückner​ 

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

Vincenzo

4 replies

Olivier GALLIEN
ST Technical Moderator
Jul 31, 2020 11:25 AM UTC

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
Sep 14, 2020 5:51 AM UTC

Hi @Community member​ ,

any updates yet?

Vincenzo
VincenzoBest answer
ST Employee
Sep 14, 2020 3:08 PM UTC

Hi @Lukas Brückner​ 

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

Vincenzo

Fee
FeeAuthor
Associate II
Sep 15, 2020 4:56 AM UTC

Alright, thanks for your answer @Vincenzo​ !