<div dir="ltr">hp and Karl Hammar, we already have sketch<span class=""></span> of control chain here: <a href="http://wiki.portalmod.com/wiki/Control_Chain">http://wiki.portalmod.com/wiki/Control_Chain</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 November 2014 10:56,  <span dir="ltr"><<a href="mailto:karl@aspodata.se" target="_blank">karl@aspodata.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Gianfranco (The MOD Team):<br>
...<br>
<span class="">> The physical interface of the Control Chain devices is an RS-485<br>
> full-duplex serial line running at 1Mbit/sec.  Currently up to eight<br>
> devices can be daisy chained and by use of the RJ-45 cable we also<br>
> power the devices ( 1 pair for input,1 for output and 1 for power supply).<br>
</span>...<br>
<br>
How are you handling "collisions" and idle bus (rs485 does not<br>
specify that kind of things) ?<br>
<br>
Idle bus can be taken care of with a resistor devider (as described<br>
in e.g. [1]), but that solution draws power when the bus is idle.<br>
Why not a "active" kind of termination by connecting "A" to +2, 3.3,<br>
or 5V and "B" to GND (or vice versa), both throught 60 Ohm resistors ?<br>
<br>
"Collision" handling can be avoided by using a one master and letting<br>
the other nodes to be slaves, and polling the slaves.<br>
 Or one can use something similar to J1708 [2] and CAN by driving the<br>
device enable pin instead of the transmit pin and let the bus "float"<br>
(by setting the output driver to hi-z) up/down to the "recessive" state<br>
by a "idle bus"/failstate circuit. You have to have some software to<br>
detect any collisions then.<br>
<br>
I drafted some thoughts in [3], but havn't implemented it "yet".<br>
<br>
Ideas ?<br>
<br>
Regards,<br>
/Karl Hammar<br>
<br>
[1] <a href="http://www.ti.com/lit/an/slyt324/slyt324.pdf" target="_blank">http://www.ti.com/lit/an/slyt324/slyt324.pdf</a><br>
[2] <a href="http://www.ti.com/lit/an/snla038b/snla038b.pdf" target="_blank">http://www.ti.com/lit/an/snla038b/snla038b.pdf</a><br>
[3] <a href="http://turkos.aspodata.se/git/openhw/serial_bus/Readme" target="_blank">http://turkos.aspodata.se/git/openhw/serial_bus/Readme</a><br>
<br>
-----------------------------------------------------------------------<br>
Aspö Data<br>
Lilla Aspö 148<br>
S-742 94 Östhammar<br>
Sweden<br>
<a href="tel:%2B46%20173%20140%2057" value="+4617314057">+46 173 140 57</a><br>
<br>
<br>
_______________________________________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-dev</a><br>
</blockquote></div><br></div>