Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #478494 > unrolled thread
| Started by | David Lesher <wb8foz@panix.com> |
|---|---|
| First post | 2017-09-22 18:59 +0000 |
| Last post | 2017-09-22 22:50 -0400 |
| Articles | 20 on this page of 36 — 13 participants |
Back to article view | Back to sci.electronics.design
I2C master David Lesher <wb8foz@panix.com> - 2017-09-22 18:59 +0000
Re: I2C master rickman <gnuarm@gmail.com> - 2017-09-22 16:13 -0400
Re: I2C master David Lesher <wb8foz@panix.com> - 2017-09-22 23:32 +0000
Re: I2C master rickman <gnuarm@gmail.com> - 2017-09-22 20:21 -0400
Re: I2C master "Tim Williams" <tmoranwms@gmail.com> - 2017-09-22 21:42 -0500
Re: I2C master rickman <gnuarm@gmail.com> - 2017-09-23 00:39 -0400
Re: I2C master "Tim Williams" <tmoranwms@gmail.com> - 2017-09-22 23:55 -0500
Re: I2C master rickman <gnuarm@gmail.com> - 2017-09-23 01:58 -0400
Re: I2C master krw@notreal.com - 2017-09-23 09:48 -0400
Re: I2C master Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-09-23 19:20 +0300
Re: I2C master krw@notreal.com - 2017-09-23 13:35 -0400
Re: I2C master John Devereux <john@devereux.me.uk> - 2017-09-23 19:08 +0100
Re: I2C master "Tim Williams" <tmoranwms@gmail.com> - 2017-09-23 13:48 -0500
Re: I2C master John Devereux <john@devereux.me.uk> - 2017-09-23 20:04 +0100
Re: I2C master "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2017-09-23 18:47 -0400
Re: I2C master "Tim Williams" <tmoranwms@gmail.com> - 2017-09-23 20:06 -0500
Re: I2C master Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2017-09-24 07:33 +0000
Re: I2C master upsidedown@downunder.com - 2017-09-24 08:46 +0300
Re: I2C master David Lesher <wb8foz@panix.com> - 2017-09-24 07:04 +0000
Re: I2C master krw@notreal.com - 2017-09-23 20:12 -0400
Re: I2C master Allan Herriman <allanherriman@hotmail.com> - 2017-09-24 03:30 +0000
Re: I2C master kevin93 <kevin@whitedigs.com> - 2017-09-23 20:50 -0700
Re: I2C master Allan Herriman <allanherriman@hotmail.com> - 2017-09-24 06:47 +0000
Re: I2C master upsidedown@downunder.com - 2017-09-23 10:28 +0300
Re: I2C master upsidedown@downunder.com - 2017-09-23 10:18 +0300
Re: I2C master upsidedown@downunder.com - 2017-09-23 10:45 +0300
Re: I2C master David Brown <david.brown@hesbynett.no> - 2017-09-25 09:56 +0200
Re: I2C master whit3rd <whit3rd@gmail.com> - 2017-09-25 22:59 -0700
Re: I2C master David Brown <david.brown@hesbynett.no> - 2017-09-26 09:58 +0200
Re: I2C master upsidedown@downunder.com - 2017-09-26 14:11 +0300
Re: I2C master whit3rd <whit3rd@gmail.com> - 2017-09-26 18:42 -0700
Re: I2C master upsidedown@downunder.com - 2017-09-27 08:36 +0300
Re: I2C master whit3rd <whit3rd@gmail.com> - 2017-09-27 03:16 -0700
Re: I2C master Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2017-09-27 10:58 +0000
Re: I2C master krw@notreal.com - 2017-09-22 22:53 -0400
Re: I2C master krw@notreal.com - 2017-09-22 22:50 -0400
Page 1 of 2 [1] 2 Next page →
| From | David Lesher <wb8foz@panix.com> |
|---|---|
| Date | 2017-09-22 18:59 +0000 |
| Subject | I2C master |
| Message-ID | <oq3mii$ru8$1@reader2.panix.com> |
In theory, I2C handles multiple masters. <https://www.i2c-bus.org/MultiMaster/> Wonder if anyone is doing so, and if so, how hard was it to get up & running? -- A host is a host from coast to coast.................wb8foz@nrk.com & no one will talk to a host that's close.......................... Unless the host (that isn't close).........................pob 1433 is busy, hung or dead....................................20915-1433
[toc] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2017-09-22 16:13 -0400 |
| Message-ID | <oq3qu1$4sb$2@dont-email.me> |
| In reply to | #478494 |
David Lesher wrote on 9/22/2017 2:59 PM: > In theory, I2C handles multiple masters. > <https://www.i2c-bus.org/MultiMaster/> > > Wonder if anyone is doing so, and if so, how hard was it to get up & running? There are two features in I2C that I believe are seldom implemented. One is clock stretching and the other is multiple masters. I don't know, but suspect you are looking at a long row to hoe. -- Rick C Viewed the eclipse at Wintercrest Farms, on the centerline of totality since 1998
[toc] | [prev] | [next] | [standalone]
| From | David Lesher <wb8foz@panix.com> |
|---|---|
| Date | 2017-09-22 23:32 +0000 |
| Message-ID | <oq46it$1ps$1@reader2.panix.com> |
| In reply to | #478514 |
rickman <gnuarm@gmail.com> writes: >David Lesher wrote on 9/22/2017 2:59 PM: >> In theory, I2C handles multiple masters. >> <https://www.i2c-bus.org/MultiMaster/> >> >> Wonder if anyone is doing so, and if so, how hard was it to get up & running? >There are two features in I2C that I believe are seldom implemented. One is >clock stretching and the other is multiple masters. I don't know, but >suspect you are looking at a long row to hoe. Thanks, we'll eschew. RS-232 may be old and slow but works.... -- A host is a host from coast to coast.................wb8foz@nrk.com & no one will talk to a host that's close.......................... Unless the host (that isn't close).........................pob 1433 is busy, hung or dead....................................20915-1433
[toc] | [prev] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2017-09-22 20:21 -0400 |
| Message-ID | <oq49e4$tqk$1@dont-email.me> |
| In reply to | #478528 |
David Lesher wrote on 9/22/2017 7:32 PM: > rickman <gnuarm@gmail.com> writes: > >> David Lesher wrote on 9/22/2017 2:59 PM: >>> In theory, I2C handles multiple masters. >>> <https://www.i2c-bus.org/MultiMaster/> >>> >>> Wonder if anyone is doing so, and if so, how hard was it to get up & running? > >> There are two features in I2C that I believe are seldom implemented. One is >> clock stretching and the other is multiple masters. I don't know, but >> suspect you are looking at a long row to hoe. > > Thanks, we'll eschew. RS-232 may be old and slow but works.... It's also not multi-master... I guess you can roll your own. -- Rick C Viewed the eclipse at Wintercrest Farms, on the centerline of totality since 1998
[toc] | [prev] | [next] | [standalone]
| From | "Tim Williams" <tmoranwms@gmail.com> |
|---|---|
| Date | 2017-09-22 21:42 -0500 |
| Message-ID | <oq4hmt$1tr$1@dont-email.me> |
| In reply to | #478531 |
"rickman" <gnuarm@gmail.com> wrote in message news:oq49e4$tqk$1@dont-email.me... >> Thanks, we'll eschew. RS-232 may be old and slow but works.... > > It's also not multi-master... I guess you can roll your own. RS-485 is a solved problem, cheap, and noise tolerant. Or CAN, if you don't mind a little more hardware (often provided in MCUs) and more automation as far as the bus dealing with bus-y problems all by itself. These might be a little hungry, or overly robust. If you need lower current consumption, and the signal doesn't have to leave the board, an open collector bus (like I2C) is still a good idea. Tim -- Seven Transistor Labs, LLC Electrical Engineering Consultation and Contract Design Website: http://seventransistorlabs.com
[toc] | [prev] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2017-09-23 00:39 -0400 |
| Message-ID | <oq4oif$20s$1@dont-email.me> |
| In reply to | #478547 |
Tim Williams wrote on 9/22/2017 10:42 PM: > "rickman" <gnuarm@gmail.com> wrote in message > news:oq49e4$tqk$1@dont-email.me... >>> Thanks, we'll eschew. RS-232 may be old and slow but works.... >> >> It's also not multi-master... I guess you can roll your own. > > RS-485 is a solved problem, cheap, and noise tolerant. Or CAN, if you don't > mind a little more hardware (often provided in MCUs) and more automation as > far as the bus dealing with bus-y problems all by itself. > > These might be a little hungry, or overly robust. If you need lower current > consumption, and the signal doesn't have to leave the board, an open > collector bus (like I2C) is still a good idea. RS-485 is an electrical interface, nothing more. It doesn't solve the multi-master problem any more than RS-232 does. -- Rick C Viewed the eclipse at Wintercrest Farms, on the centerline of totality since 1998
[toc] | [prev] | [next] | [standalone]
| From | "Tim Williams" <tmoranwms@gmail.com> |
|---|---|
| Date | 2017-09-22 23:55 -0500 |
| Message-ID | <oq4pfn$6no$1@dont-email.me> |
| In reply to | #478558 |
"rickman" <gnuarm@gmail.com> wrote in message news:oq4oif$20s$1@dont-email.me... > RS-485 is an electrical interface, nothing more. It doesn't solve the > multi-master problem any more than RS-232 does. Well, RS-232 is an anti-solution, as it's always asserted. Point to point only. There's a reason I said 485 and not 422. As for the protocols traditionally used on these interfaces, asynchronous serial with some kind of bus arbitration is standard on 485. For some strange reason, when you search on "RS-485", you get not just the signaling standard, but also a lot of protocols that people use on it... ;-) Tim -- Seven Transistor Labs, LLC Electrical Engineering Consultation and Contract Design Website: http://seventransistorlabs.com
[toc] | [prev] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2017-09-23 01:58 -0400 |
| Message-ID | <oq4t5e$mrf$1@dont-email.me> |
| In reply to | #478560 |
Tim Williams wrote on 9/23/2017 12:55 AM: > "rickman" <gnuarm@gmail.com> wrote in message > news:oq4oif$20s$1@dont-email.me... >> RS-485 is an electrical interface, nothing more. It doesn't solve the >> multi-master problem any more than RS-232 does. > > Well, RS-232 is an anti-solution, as it's always asserted. Point to point > only. There's a reason I said 485 and not 422. > > As for the protocols traditionally used on these interfaces, asynchronous > serial with some kind of bus arbitration is standard on 485. > > For some strange reason, when you search on "RS-485", you get not just the > signaling standard, but also a lot of protocols that people use on it... ;-) There are plenty of networks based on RS-232. As you say, a little searching helps a lot. But giving an electrical standard reference is nothing like actually giving some useful information on the networking issue. -- Rick C Viewed the eclipse at Wintercrest Farms, on the centerline of totality since 1998
[toc] | [prev] | [next] | [standalone]
| From | krw@notreal.com |
|---|---|
| Date | 2017-09-23 09:48 -0400 |
| Message-ID | <papcsclmd3llkd11gqnuv02akbpbf93rhj@4ax.com> |
| In reply to | #478561 |
On Sat, 23 Sep 2017 01:58:06 -0400, rickman <gnuarm@gmail.com> wrote: >Tim Williams wrote on 9/23/2017 12:55 AM: >> "rickman" <gnuarm@gmail.com> wrote in message >> news:oq4oif$20s$1@dont-email.me... >>> RS-485 is an electrical interface, nothing more. It doesn't solve the >>> multi-master problem any more than RS-232 does. >> >> Well, RS-232 is an anti-solution, as it's always asserted. Point to point >> only. There's a reason I said 485 and not 422. >> >> As for the protocols traditionally used on these interfaces, asynchronous >> serial with some kind of bus arbitration is standard on 485. >> >> For some strange reason, when you search on "RS-485", you get not just the >> signaling standard, but also a lot of protocols that people use on it... ;-) > >There are plenty of networks based on RS-232. As you say, a little >searching helps a lot. But giving an electrical standard reference is >nothing like actually giving some useful information on the networking issue. A "network based on RS-232" is an oxymoron. If it's RS-232 it can't be a network. As pointed out above, it's always asserted. Neither a bastardized RS-232 or RS-485 solves the arbitration problem any more than I2C.
[toc] | [prev] | [next] | [standalone]
| From | Tauno Voipio <tauno.voipio@notused.fi.invalid> |
|---|---|
| Date | 2017-09-23 19:20 +0300 |
| Message-ID | <oq61jk$ukc$1@dont-email.me> |
| In reply to | #478578 |
On 23.9.17 16:48, krw@notreal.com wrote: > On Sat, 23 Sep 2017 01:58:06 -0400, rickman <gnuarm@gmail.com> wrote: > >> Tim Williams wrote on 9/23/2017 12:55 AM: >>> "rickman" <gnuarm@gmail.com> wrote in message >>> news:oq4oif$20s$1@dont-email.me... >>>> RS-485 is an electrical interface, nothing more. It doesn't solve the >>>> multi-master problem any more than RS-232 does. >>> >>> Well, RS-232 is an anti-solution, as it's always asserted. Point to point >>> only. There's a reason I said 485 and not 422. >>> >>> As for the protocols traditionally used on these interfaces, asynchronous >>> serial with some kind of bus arbitration is standard on 485. >>> >>> For some strange reason, when you search on "RS-485", you get not just the >>> signaling standard, but also a lot of protocols that people use on it... ;-) >> >> There are plenty of networks based on RS-232. As you say, a little >> searching helps a lot. But giving an electrical standard reference is >> nothing like actually giving some useful information on the networking issue. > > A "network based on RS-232" is an oxymoron. If it's RS-232 it can't > be a network. As pointed out above, it's always asserted. Neither a > bastardized RS-232 or RS-485 solves the arbitration problem any more > than I2C. The I2C multi-master arbitration does work, if all potential masters follow the specification. I have used it with both bit-banged software implementations and hardware-assisted implementations. For hardware, I used Atmel SAM4 TWI interfaces. ----- 'RS-232' is misused at least as much as 'RS-485'. Most often 'RS-232' seems to imply asynchronous serial data transfer, but the specification does not specify the bit stream in any way. The same applies, to a lesser extent to 'RS-485'. -- -TV
[toc] | [prev] | [next] | [standalone]
| From | krw@notreal.com |
|---|---|
| Date | 2017-09-23 13:35 -0400 |
| Message-ID | <hj6dsc1q1030ab8f0b6uroe7on1274kjr0@4ax.com> |
| In reply to | #478594 |
On Sat, 23 Sep 2017 19:20:04 +0300, Tauno Voipio <tauno.voipio@notused.fi.invalid> wrote: >On 23.9.17 16:48, krw@notreal.com wrote: >> On Sat, 23 Sep 2017 01:58:06 -0400, rickman <gnuarm@gmail.com> wrote: >> >>> Tim Williams wrote on 9/23/2017 12:55 AM: >>>> "rickman" <gnuarm@gmail.com> wrote in message >>>> news:oq4oif$20s$1@dont-email.me... >>>>> RS-485 is an electrical interface, nothing more. It doesn't solve the >>>>> multi-master problem any more than RS-232 does. >>>> >>>> Well, RS-232 is an anti-solution, as it's always asserted. Point to point >>>> only. There's a reason I said 485 and not 422. >>>> >>>> As for the protocols traditionally used on these interfaces, asynchronous >>>> serial with some kind of bus arbitration is standard on 485. >>>> >>>> For some strange reason, when you search on "RS-485", you get not just the >>>> signaling standard, but also a lot of protocols that people use on it... ;-) >>> >>> There are plenty of networks based on RS-232. As you say, a little >>> searching helps a lot. But giving an electrical standard reference is >>> nothing like actually giving some useful information on the networking issue. >> >> A "network based on RS-232" is an oxymoron. If it's RS-232 it can't >> be a network. As pointed out above, it's always asserted. Neither a >> bastardized RS-232 or RS-485 solves the arbitration problem any more >> than I2C. > > >The I2C multi-master arbitration does work, if all potential masters >follow the specification. I have used it with both bit-banged software >implementations and hardware-assisted implementations. For hardware, I >used Atmel SAM4 TWI interfaces. Even if the hardware follows the specification, it's doesn't guarantee a competent programmer. Just say *no*. > >----- > >'RS-232' is misused at least as much as 'RS-485'. Most often 'RS-232' >seems to imply asynchronous serial data transfer, but the specification >does not specify the bit stream in any way. It does specify the drivers and receivers. It cannot be a network. If it is, it's not RS-232. > >The same applies, to a lesser extent to 'RS-485'. Not at all. It was designed to be multi-master (and bidirectional). Anything can be, and is, screwed by software but there is a big difference between RS-485 and RS-232.
[toc] | [prev] | [next] | [standalone]
| From | John Devereux <john@devereux.me.uk> |
|---|---|
| Date | 2017-09-23 19:08 +0100 |
| Message-ID | <871smxqodh.fsf@devereux.me.uk> |
| In reply to | #478603 |
krw@notreal.com writes: > On Sat, 23 Sep 2017 19:20:04 +0300, Tauno Voipio > <tauno.voipio@notused.fi.invalid> wrote: > >>On 23.9.17 16:48, krw@notreal.com wrote: >>> On Sat, 23 Sep 2017 01:58:06 -0400, rickman <gnuarm@gmail.com> wrote: >>> >>>> Tim Williams wrote on 9/23/2017 12:55 AM: >>>>> "rickman" <gnuarm@gmail.com> wrote in message >>>>> news:oq4oif$20s$1@dont-email.me... >>>>>> RS-485 is an electrical interface, nothing more. It doesn't solve the >>>>>> multi-master problem any more than RS-232 does. >>>>> >>>>> Well, RS-232 is an anti-solution, as it's always asserted. Point to point >>>>> only. There's a reason I said 485 and not 422. >>>>> >>>>> As for the protocols traditionally used on these interfaces, asynchronous >>>>> serial with some kind of bus arbitration is standard on 485. >>>>> >>>>> For some strange reason, when you search on "RS-485", you get not just the >>>>> signaling standard, but also a lot of protocols that people use on it... ;-) >>>> >>>> There are plenty of networks based on RS-232. As you say, a little >>>> searching helps a lot. But giving an electrical standard reference is >>>> nothing like actually giving some useful information on the networking issue. >>> >>> A "network based on RS-232" is an oxymoron. If it's RS-232 it can't >>> be a network. As pointed out above, it's always asserted. Neither a >>> bastardized RS-232 or RS-485 solves the arbitration problem any more >>> than I2C. >> >> >>The I2C multi-master arbitration does work, if all potential masters >>follow the specification. I have used it with both bit-banged software >>implementations and hardware-assisted implementations. For hardware, I >>used Atmel SAM4 TWI interfaces. > > Even if the hardware follows the specification, it's doesn't guarantee > a competent programmer. Just say *no*. >> >>----- >> >>'RS-232' is misused at least as much as 'RS-485'. Most often 'RS-232' >>seems to imply asynchronous serial data transfer, but the specification >>does not specify the bit stream in any way. > > It does specify the drivers and receivers. It cannot be a network. If > it is, it's not RS-232. You can't have a shared bus but you could still make a network I think, using multiple ports per device. Horrible of course :) Come to think of it modern ethernet is also like this isn't it? >> >>The same applies, to a lesser extent to 'RS-485'. > > Not at all. It was designed to be multi-master (and bidirectional). > Anything can be, and is, screwed by software but there is a big > difference between RS-485 and RS-232. -- John Devereux
[toc] | [prev] | [next] | [standalone]
| From | "Tim Williams" <tmoranwms@gmail.com> |
|---|---|
| Date | 2017-09-23 13:48 -0500 |
| Message-ID | <oq6a9p$tdr$1@dont-email.me> |
| In reply to | #478610 |
"John Devereux" <john@devereux.me.uk> wrote in message news:871smxqodh.fsf@devereux.me.uk... > You can't have a shared bus but you could still make a network I think, > using multiple ports per device. Horrible of course :) Come to think of > it modern ethernet is also like this isn't it? Indeed. And you can, in fact, hack a "routerless" network, using diodes (and much shorter cables, under 20m I think). Collisions are frequent if multiple nodes are talking at once, so it's slow (besides the fact that it may not enumerate higher than 10Mb!). So you can do both, yeah, sure! :-) On a related subject, "RS-232 hub" only turns up USB-to-(many serial) boxes. Perhaps a more specific tack is necessary. "Modbus hub" or "modbus router" seems to return useful hits, though Modbus is carried on so many PHYs that it's not obvious you'll find ones made with good old RS-232 on DE-9 connectors. Seems like the nearest thing, though! Tim -- Seven Transistor Labs, LLC Electrical Engineering Consultation and Contract Design Website: http://seventransistorlabs.com
[toc] | [prev] | [next] | [standalone]
| From | John Devereux <john@devereux.me.uk> |
|---|---|
| Date | 2017-09-23 20:04 +0100 |
| Message-ID | <87h8vt8cdm.fsf@devereux.me.uk> |
| In reply to | #478616 |
"Tim Williams" <tmoranwms@gmail.com> writes: > "John Devereux" <john@devereux.me.uk> wrote in message > news:871smxqodh.fsf@devereux.me.uk... >> You can't have a shared bus but you could still make a network I think, >> using multiple ports per device. Horrible of course :) Come to think of >> it modern ethernet is also like this isn't it? > > Indeed. > > And you can, in fact, hack a "routerless" network, using diodes (and > much shorter cables, under 20m I think). Collisions are frequent if > multiple nodes are talking at once, so it's slow (besides the fact > that it may not enumerate higher than 10Mb!). Yes but then it is not really RS232 any more... > > So you can do both, yeah, sure! :-) > > On a related subject, "RS-232 hub" only turns up USB-to-(many serial) > boxes. Perhaps a more specific tack is necessary. "Modbus hub" or > "modbus router" seems to return useful hits, though Modbus is carried > on so many PHYs that it's not obvious you'll find ones made with good > old RS-232 on DE-9 > connectors. Seems like the nearest thing, though! > > Tim -- John Devereux
[toc] | [prev] | [next] | [standalone]
| From | "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> |
|---|---|
| Date | 2017-09-23 18:47 -0400 |
| Message-ID | <oq6p70$3dc$1@dont-email.me> |
| In reply to | #478616 |
Tim Williams wrote: > > And you can, in fact, hack a "routerless" network, using diodes (and > much shorter cables, under 20m I think). Collisions are frequent if > multiple nodes are talking at once, so it's slow (besides the fact > that it may not enumerate higher than 10Mb!). How can you use diodes to wire-OR the differential pairs, assuming that's what you mean?
[toc] | [prev] | [next] | [standalone]
| From | "Tim Williams" <tmoranwms@gmail.com> |
|---|---|
| Date | 2017-09-23 20:06 -0500 |
| Message-ID | <oq70e5$ahe$1@dont-email.me> |
| In reply to | #478632 |
"Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> wrote in message news:oq6p70$3dc$1@dont-email.me... > Tim Williams wrote: >> >> And you can, in fact, hack a "routerless" network, using diodes (and >> much shorter cables, under 20m I think). Collisions are frequent if >> multiple nodes are talking at once, so it's slow (besides the fact >> that it may not enumerate higher than 10Mb!). > > How can you use diodes to wire-OR the differential pairs, assuming that's > what you mean? Good question -- you use the diode drop to steer to neighbors: https://electronics.stackexchange.com/questions/10864/building-a-passive-ethernet-hub-with-anti-parallel-diodes Tim -- Seven Transistor Labs, LLC Electrical Engineering Consultation and Contract Design Website: http://seventransistorlabs.com
[toc] | [prev] | [next] | [standalone]
| From | Jan Panteltje <pNaonStpealmtje@yahoo.com> |
|---|---|
| Date | 2017-09-24 07:33 +0000 |
| Message-ID | <oq7n49$ocf$1@adenine.netfront.net> |
| In reply to | #478641 |
On a sunny day (Sat, 23 Sep 2017 20:06:06 -0500) it happened "Tim Williams" <tmoranwms@gmail.com> wrote in <oq70e5$ahe$1@dont-email.me>: >"Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> wrote in >message news:oq6p70$3dc$1@dont-email.me... >> Tim Williams wrote: >>> >>> And you can, in fact, hack a "routerless" network, using diodes (and >>> much shorter cables, under 20m I think). Collisions are frequent if >>> multiple nodes are talking at once, so it's slow (besides the fact >>> that it may not enumerate higher than 10Mb!). >> >> How can you use diodes to wire-OR the differential pairs, assuming that's >> what you mean? > >Good question -- you use the diode drop to steer to neighbors: >https://electronics.stackexchange.com/questions/10864/building-a-passive-ethernet-hub-with-anti-parallel-diodes > >Tim That is a very clever circuit, had not seen it before, no power source needed. OTOH economics: I bought 2 good 8 port switches that each came with a power adaptor on ebay for about 12 $ each... To make a PCB, buy diodes and connectors, housing, time.. would be more expensive. >-- >Seven Transistor Labs, LLC >Electrical Engineering Consultation and Contract Design >Website: http://seventransistorlabs.com > >
[toc] | [prev] | [next] | [standalone]
| From | upsidedown@downunder.com |
|---|---|
| Date | 2017-09-24 08:46 +0300 |
| Message-ID | <9chesc57ceu3vmdpm28i3a1f2m005q6trh@4ax.com> |
| In reply to | #478632 |
On Sat, 23 Sep 2017 18:47:21 -0400, "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> wrote: >Tim Williams wrote: >> >> And you can, in fact, hack a "routerless" network, using diodes (and >> much shorter cables, under 20m I think). Collisions are frequent if >> multiple nodes are talking at once, so it's slow (besides the fact >> that it may not enumerate higher than 10Mb!). > >How can you use diodes to wire-OR the differential pairs, assuming >that's what you mean? You have two separate wired-OR gates, one for the inverted and one for the non-inverted side. On the inverted side, connect the port to the diode anode, connect the cathodes together and to pulldown resistor to V- On the non-inverted side, connect the diode cathode to port, connect anodes together and a pullup to V+
[toc] | [prev] | [next] | [standalone]
| From | David Lesher <wb8foz@panix.com> |
|---|---|
| Date | 2017-09-24 07:04 +0000 |
| Message-ID | <oq7ld5$g8u$1@reader2.panix.com> |
| In reply to | #478673 |
a) We have 2 boards, both Jedi ^H^H^H I2C masters, talking over RS232 b) We use I2C from one board to talk to I2C accessory boards. c) I wondered "Can we skip 232 and add the other master to the I2C bus?" Clearly the answer is "stick to what works...." -- A host is a host from coast to coast.................wb8foz@nrk.com & no one will talk to a host that's close.......................... Unless the host (that isn't close).........................pob 1433 is busy, hung or dead....................................20915-1433
[toc] | [prev] | [next] | [standalone]
| From | krw@notreal.com |
|---|---|
| Date | 2017-09-23 20:12 -0400 |
| Message-ID | <81udsc1jhknv8h0v7f7qbc1sbl7rcm6s7a@4ax.com> |
| In reply to | #478610 |
On Sat, 23 Sep 2017 19:08:26 +0100, John Devereux <john@devereux.me.uk> wrote: >krw@notreal.com writes: > >> On Sat, 23 Sep 2017 19:20:04 +0300, Tauno Voipio >> <tauno.voipio@notused.fi.invalid> wrote: >> >>>On 23.9.17 16:48, krw@notreal.com wrote: >>>> On Sat, 23 Sep 2017 01:58:06 -0400, rickman <gnuarm@gmail.com> wrote: >>>> >>>>> Tim Williams wrote on 9/23/2017 12:55 AM: >>>>>> "rickman" <gnuarm@gmail.com> wrote in message >>>>>> news:oq4oif$20s$1@dont-email.me... >>>>>>> RS-485 is an electrical interface, nothing more. It doesn't solve the >>>>>>> multi-master problem any more than RS-232 does. >>>>>> >>>>>> Well, RS-232 is an anti-solution, as it's always asserted. Point to point >>>>>> only. There's a reason I said 485 and not 422. >>>>>> >>>>>> As for the protocols traditionally used on these interfaces, asynchronous >>>>>> serial with some kind of bus arbitration is standard on 485. >>>>>> >>>>>> For some strange reason, when you search on "RS-485", you get not just the >>>>>> signaling standard, but also a lot of protocols that people use on it... ;-) >>>>> >>>>> There are plenty of networks based on RS-232. As you say, a little >>>>> searching helps a lot. But giving an electrical standard reference is >>>>> nothing like actually giving some useful information on the networking issue. >>>> >>>> A "network based on RS-232" is an oxymoron. If it's RS-232 it can't >>>> be a network. As pointed out above, it's always asserted. Neither a >>>> bastardized RS-232 or RS-485 solves the arbitration problem any more >>>> than I2C. >>> >>> >>>The I2C multi-master arbitration does work, if all potential masters >>>follow the specification. I have used it with both bit-banged software >>>implementations and hardware-assisted implementations. For hardware, I >>>used Atmel SAM4 TWI interfaces. >> >> Even if the hardware follows the specification, it's doesn't guarantee >> a competent programmer. Just say *no*. >>> >>>----- >>> >>>'RS-232' is misused at least as much as 'RS-485'. Most often 'RS-232' >>>seems to imply asynchronous serial data transfer, but the specification >>>does not specify the bit stream in any way. >> >> It does specify the drivers and receivers. It cannot be a network. If >> it is, it's not RS-232. > >You can't have a shared bus but you could still make a network I think, >using multiple ports per device. Horrible of course :) Come to think of >it modern ethernet is also like this isn't it? OK, you got me. ;-) >>>The same applies, to a lesser extent to 'RS-485'. >> >> Not at all. It was designed to be multi-master (and bidirectional). >> Anything can be, and is, screwed by software but there is a big >> difference between RS-485 and RS-232.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | sci.electronics.design
csiph-web