> Toggling 9x even means you could then write something somewhere > which in case of a PMIC can be really dangerous. I am partly wrong here because you send a START beforehand. And devices are required to reset their state machine when they detect a START (I2C Specs 3.1.10, Note 4). So, it *shouldn't* be dangerous. If all devices follow that rule, that is... However, you can only send START when SDA is not stuck. And still, this whole toggling is to reanimate a stuck SDA. So, it still looks to me that it doesn't make sense to have START & STOP around the toggling and rather have a single STOP before you try toggling. Makes sense?
Attachment:
signature.asc
Description: PGP signature