Re: I2C trick?




"larwe" <zwsdotcom@xxxxxxxxx> wrote in message
news:5980266c-d5ab-42e2-8cd5-609ba19d84f9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Dec 28, 11:27 am, Vladimir Vassilevsky <antispam_bo...@xxxxxxxxxxx>
wrote:

Anything from just not working to a total bus lockup, (if devices
detect a START but not a STOP.)

Would you describe a scenario which can lead to an unrecoverable problem?

If both slaves go on-bus in output mode then both SCL and SDA lines
are being driven hard by the slaves; how is the master going to create
edges?

Hi Larwe,

Thank you for the meaningful response.
The I2C bus is supposed to ignore the incorrect sequences on the bus; so I
don't see a problem there. What you mentioned is possible only if the
hardware is broken.


I can imagine you could do very funky things with voltage dividers to
ensure that the master could always assert its will over both I/Os
regardless of what the other end is trying to do, but this would
result in some horrible non-spec I2C implementation. I can't imagine
shipping such a hack.

There should not be a need for such complication. So far nobody suggested a
valid reason why exactly it is a bad idea to swap the SCL and SDA to
separate the I2C slaves. I tried to do that; everything worked like
expected. This could actually be a good trick.

VLV


.



Relevant Pages

  • Re: Clitches oder =?ISO-8859-15?Q?St=F6rungen_beim_Atmel_A?= =?ISO-8859-15?Q?T89C405
    ... Jeder Controller ist mit zwei Pins an den Bus angeschlossen. ... der Master funktioniert einwandfrei mit fertig gekauften Slaves wie beispielsweise EEPROM und RTC. ... Der Glitch ensteht auf der Clockleitung und geht in diesem Fall mal gegen Masse. ...
    (de.sci.electronics)
  • Re: linux and rs-485
    ... A quite common (non-standard) modification is a "master/slave RS422 ... Here a master sends to many slaves on one pair and all slaves send ... of the master bus release timing in not critical. ...
    (comp.os.linux.hardware)
  • Re: linux and rs-485
    ... A quite common (non-standard) modification is a "master/slave RS422 ... Here a master sends to many slaves on one pair and all slaves send ... of the master bus release timing in not critical. ...
    (comp.os.linux.embedded)
  • Re: linux and rs-485
    ... A quite common (non-standard) modification is a "master/slave RS422 ... Here a master sends to many slaves on one pair and all slaves send ... of the master bus release timing in not critical. ...
    (comp.os.linux)
  • Re: [RFC/PATCH 0/22] W1: sysfs, lifetime and other fixes
    ... defined in family driver. ... Bus master driver - is like NIC driver, it does not know about the rest ... It has it's logical slaves, it has it's own attributes and features, ... This is wrong - netlink notification is used and will be moved to ...
    (Linux-Kernel)