SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By philkeys
#191849
I just received an AutoDriver v13 board and am somewhat confused about connections to a RedBoard... I have read
https://www.arduino.cc/en/Reference/SPI
SPI descriptions and know about SCK, MISO, MOSI and SS.

Looking at https://www.arduino.cc/en/Reference/SPI
I see that SCK, MISO, MOSI and SS are connected to Arduino Uno pins 13, 12, 11 and 10.

Looking at https://learn.sparkfun.com/tutorials/ge ... iver---v13
Hardware, The Board description at the beginning states:

"Communications in - where the SPI, clock, and logic level power enter the board. That can be either from the system CPU or from a prior AutoDriver board. By default, the AutoDriver expects a power supply input here, but that power supply is not the supply to the motors and should not exceed 5V. Designed for a 2x5 .1" shrouded connector, and to be connected by a 2x5 ribbon cable."

"Control signal in - metasignals for input and output to and from the AutoDriver. Chip select, optional step clock, and reset inputs come in here, and open-drain busy and error flag signals go back to the previous board. Designed for a 2x3 .1" shrouded header and to be connected by a 2x3 ribbon cable."

Towards the end I see an Example

"If you skipped over the Test Hardware Assembly page, and just want to hook up an AutoDriver to an Arduino or RedBoard as easily as possible, see the above diagram. You’ll need to change the example sketch to remove references the boardB, however, and to not use the busy pin."

In the connection diagram, the AutoDriver terminations are somewhat fuzzy but I think I have figured out what they are.
RedBoardAutoDriver
SCK (pin 13) SCK “Communications in” area
MISO (pin 12) CS “Communications in” area
MOSI (pin 11) SD from prev bd “Communications in” area
SS (pin 10) unlabeled (middle left) “Control signal in” area
Reset (pin 6) RESET “Control signal in” area
I assume SD means serial data.

Now finally comes the question. The above doesn’t seem right. Shouldn’t the connections be?
RedBoard AutoDriver
SCK (pin 13) SCK “Communications in” area
MISO (pin 12) SD to prev bd “Communications in” area
MOSI (pin 11) SD from prev bd “Communications in” area
SS (pin 10) CS “Communications in” area
Reset (pin 6) RESET “Control signal in” area