<div dir="ltr"><div>If you could offer more details about the problem you are trying to solve, we could be more help.<br><br>I think your latest question (or concern) is that sending out independent SPI commands to motor controllers would be offset enough in time (since with one SPI bus you can only send one command at a time) will be an issue.  If you were to send one message out to one motor, then another to the second, etc - anywhere near the speed capable of SPI, you are talking about less than a millisecond total time for a half dozen (or more) easily and that is small enough that you will not be able to tell the difference.<br>
<br></div>If I have misunderstood the problem, or there are other unknowns I have not described here, please update - but you should easily be able to control multiple SPI motors with the same bus with no issue.<br><br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 1, 2014 at 10:29 PM, Carl Nobile <span dir="ltr"><<a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Rodney,<div><br></div><div>What I'm trying to do is control 4 (or more) motor controllers through SPI using the SS (Slave Select) pin. But I just though of an issue, I would never be able to send all the motors a command simultaneously using this method. I'd have to got down the list of motors that were online at the time and send what might be the same command like 'stop' one motor at a time. It would be quick, so may not be an issue, but I wonder if there is a better way of doing this.</div>

<div><br></div><div>Carl</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">On Tue, Apr 1, 2014 at 9:46 PM, Rodney Radford <span dir="ltr"><<a href="mailto:ncgadgetry@gmail.com" target="_blank">ncgadgetry@gmail.com</a>></span> wrote:<br>

</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The two data lines MISO and MOSI can be in any state until the falling edge of SCLK, so they could conceivably be used for other purposes.<br>

<br></div><div>In addition, if the only concern is programming the hex image (which is not something you do while the motors are running), you could have some jumpers that disconnect the SPI lines from the rest of the circuit while downloading the image, and then put them back in place for normal operation.<br>


<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Apr 1, 2014 at 9:40 PM, Carl Nobile <span dir="ltr"><<a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi all,<div><br></div><div>Is it possible to use the SPI pins on a mircorcontroller for two purposes? For example used to burn the hex image and when not burning the image then in normal running mode used to control motor speed, etc. or something similar. My guess is yes, but I haven't figured out how to do it.</div>


<span><font color="#888888">
<div><br></div><div>Carl<br clear="all"><div><br></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br>
<a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>
-------------------------------------------------------------------------------
</font></span></div>
</blockquote></div><br></div>