English
Language : 

EVAL6470H Datasheet, PDF (38/70 Pages) STMicroelectronics – dSPIN fully integrated microstepping motor driver with motion engine and SPI
Serial interface
8
Serial interface
L6470
The integrated 8-bit serial peripheral interface (SPI) is used for a synchronous serial
communication between the host microprocessor (always master) and the L6470 (always
slave).
The SPI uses chip select (CS), serial clock (CK), serial data input (SDI) and serial data
output (SDO) pins. When CS is high, the device is unselected and the SDO line is inactive
(high-impedance).
The communication starts when CS is forced low. The CK line is used for synchronization of
data communication.
All commands and data bytes are shifted into the device through the SDI input, most
significant bit first. The SDI is sampled on the rising edges of the CK.
All output data bytes are shifted out of the device through the SDO output, most significant
bit first. The SDO is latched on the falling edges of the CK. When a return value from the
device is not available, an all zero byte is sent.
After each byte transmission the CS input must be raised and be kept high for at least tdisCS
in order to allow the device to decode the received command and put the return value into
the SHIFT register.
All timing requirements are shown in Figure 18 (see Section 3: Electrical characteristics for
values).
Multiple devices can be connected in daisy chain configuration, as shown in Figure 19.
Figure 18. SPI timings diagram
#3
TSET#3
T T T T R#+
H#+
F#+
L#+
#+
TEN3$/
TSET3$)
THOL3$)
3$)
(I:
3$/
-3"
THOL3$/
-3"
. 
. 
. 
TV3$/
. 
TDIS#3
THOL#3
,3"
TDIS3$/
,3"
-3"
!-V
38/70
Doc ID16737 Rev 5