Editing SPI

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help page.

Latest revision Your text
Line 1: Line 1:
SPI (Serial Peripheral Interface) is a serial communication link used in [[VSD-A]] and [[VSD-E and VSD-XE]] drives. SPI is used to set drive parameters and it also can be used for control with [[SimpleMotion library]].
+
SPI (Serial Peripheral Interface) is a serial communication link used in [[VSD-A]] and [[VSD-E and VSD-XE]] drives. SPI is used to set drive parameters and it also can be used for control with [[SimpleMotion]] library.
==VSD SPI bus key features==
+
Implementation of VSD SPI bus:
+
*All commands are 32 bit packets:
+
**8 bit command ID
+
**16 bit command parameter
+
**8 bit CRC error checking
+
*By sending one command, drive responds simultaneously with 32 bit return data packet:
+
**8 bit status bits (usually not needed by application)
+
**16 bit return data
+
**8 bit CRC error checking
+
*Command rate up to 2500 commands/s (80 kbit/s)
+
==Using VSD SPI==
+
===With SimpleMotion library===
+
[[SimpleMotion library]] communicates to [[VSD-E and VSD-XE]] drives via SPI bus. The phyiscal transfer link between PC and VSD drive is [http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf FTDI TTL232R USB serial adapter].
+
===From low level hardware===
+
SPI bus on VSD drives requires 3 data wires, ground and 3-5 VDC supply (5 wires total):
+
* SCLK - clock signal
+
* MISO - master in, slave out
+
* MOSI - master out, slave in
+
VSD drive is the slave device.
+
 
+
SPI signals are relatively easy to generate with any programmable device with digital I/O's such as microcontrollers. [[SimpleMotion]] source code can be ported on many platforms including MCU's.
+
 
+
 
==See also==
 
==See also==
*[[Wikipedia:Serial Peripheral Interface Bus]]
+
[[Wikipedia:Serial Peripheral Interface Bus]]
[[Category:Signals]]
+

Please note that all contributions to Granite Devices Knowledge Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Granite Devices Knowledge Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Select categories:

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)