Editing SPI
Your changes will be displayed to readers once an authorized user accepts them. (help) |
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.
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 | + | 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 | + | ==VSD SPI bus capabilities== |
− | + | Key features of VSD SPI bus: | |
*All commands are 32 bit packets: | *All commands are 32 bit packets: | ||
**8 bit command ID | **8 bit command ID | ||
− | **16 bit | + | **16 bit data |
− | + | **8 bit CRC check sum | |
− | + | ||
− | + | ||
− | + | ||
− | **8 bit CRC | + | |
*Command rate up to 2500 commands/s (80 kbit/s) | *Command rate up to 2500 commands/s (80 kbit/s) | ||
==Using VSD SPI== | ==Using VSD SPI== | ||
− | + | SPI bus on VSD drives require 3 data wires and ground: | |
− | + | ||
− | + | ||
− | SPI bus on VSD drives | + | |
* SCLK - clock signal | * SCLK - clock signal | ||
* MISO - master in, slave out | * MISO - master in, slave out | ||
Line 22: | Line 15: | ||
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. | 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]] | ||
− |