EasyManuals Logo

ST L6470H User Manual

ST L6470H
64 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #53 background imageLoading...
Page #53 background image
L6470 Programming manual
Doc ID 16737 Rev 2 53/64
9.2.1 Command management
The host microcontroller can control motor motion and configure the L6470 through a
complete set of commands.
All commands are composed by a single byte. After the command byte, some bytes of
arguments should be needed (see
Figure 18). Argument length can vary from 1 to 3 bytes.
Figure 18. Command with three byte argument
By default the device returns an all zeroes response for any received byte, the only
exceptions are GetParam and GetStatus commands. When one of these commands is
received the following response bytes represents the related register value (see
Figure 19).
Response length can vary from 1 to 3 bytes.
Figure 19. Command with three byte responset
During response transmission, new commands can be sent. If a command requiring a
response is sent before the previous response is completed, the response transmission is
aborted and the new response is loaded into output communication buffer (see
Figure 20).
Figure 20. Command response aborted
When a byte that does not correspond to a command is sent to the IC it is ignored and the
WRONG_CMD flag in STATUS register is raised (see paragraph 9.1.22).
9.2.2 Nop
Nothing is performed.
3$)
3$/
#OMMANDBYTE
!RGUMENTBYTE
-3"
!RGUMENTBYTE
,3"
!RGUMENTBYTE
X X X X
FROMHOST
TOHOST
3$)
3$/
#OMMANDBYTE
2ESPONSEBYTE
-3"
2ESPONSEBYTE
,3"
2ESPONSEBYTEX
./0 ./0 ./0
FROMHOST
TOHOST
3$)
3$/
#OMMAND
BYTERESPEXPECTED
#OMMAND
BYTERESPEXPECTED
2ESPONSEBYTE
-3"
2ESPONSEBYTE
-3"
2ESPONSEBYTEX
#OMMAND
NORESPEXPECTED
2ESPONSEBYTE
,3"
FROMHOST
TOHOST
#OMMAND
NORESPEXPECTED
#OMMAND
NORESPEXPECTED
#OMMANDRESPONSE
ISABORTED
Table 37. Nop command structure
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
00000000 From host

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST L6470H and is the answer not in the manual?

ST L6470H Specifications

General IconGeneral
BrandST
ModelL6470H
CategoryComputer Hardware
LanguageEnglish

Related product manuals