Datasheet

Table Of Contents
L6470 Programming manual
Doc ID16737 Rev 5 57/70
Figure 22. 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 the STATUS register is raised (see Section 9.1.22).
9.2.2 Nop
Nothing is performed.
9.2.3 SetParam (PARAM, VALUE)
The SetParam command sets the PARAM register value equal to VALUE; PARAM is the
respective register address listed in Ta bl e 12 .
The command should be followed by the new register VALUE (most significant byte first).
The number of bytes making up the VALUE argument depends on the length of the target
register (see Table 12 ).
Some registers cannot be written (see Ta bl e 1 2 ); any attempt to write one of those registers
causes the command to be ignored and the WRONG_CMD flag to rise at the end of the
command byte as if an unknown command code were sent (see Section 9.1.22).
Some registers can only be written in particular conditions (see Ta bl e 12 ); any attempt to
write one of those registers when the conditions are not satisfied causes the command to be
ignored and the NOTPERF_CMD flag to rise at the end of the last argument byte (see
Section 9.1.22).
Any attempt to set an inexistent register (wrong address value) causes the command to be
ignored and the WRONG_CMD flag to rise at the end of the command byte as if an
unknown command code were sent.
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 38. Nop command structure
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
00000000 from host
Table 39. SetParam command structure
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 0 0 PARAM
from host
VALUE Byte 2 (if needed)
VALUE Byte 1 (if needed)
VALUE Byte 0