STMicroelectronics Fully integrated stepper motor driver mounting the L6472 in a high power PowerSO package EVAL6472PD EVAL6472PD Scheda Tecnica

Codici prodotto
EVAL6472PD
Pagina di 70
Programming manual
L6472
56/70
DocID022729 Rev 3
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 
The command should be followed by the new register VALUE (most significant byte first). 
The number of bytes composing the VALUE argument depends on the length of the target 
register (see 
).
Some registers cannot be written (see 
); any attempt to write one of these 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 was sent (see 
Some registers can only be written in particular conditions (see 
); any attempt to 
write one of these registers when the conditions are not satisfied causes the command to be 
ignored and the NOTPERF_CMD flag to rise at the end of last argument byte (see 
).
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 was sent.
9.2.4 GetParam 
(PARAM)
         
Table 35. NOP command structure
Bit 7 
Bit 6 
Bit 5 
Bit 4 
Bit 3 
Bit 2 
Bit 1 
Bit 0 
0 0 0 0 0 0 0 0 From 
host 
Table 36. 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 
Table 37. GetParam command structure 
Bit 
7 Bit 
6 Bit 
5 Bit 
4 Bit 3 
Bit 2 
Bit 1 
Bit 0 
0 0 1 
PARAM 
From 
host 
ANS Byte 2 (if needed) 
To host 
ANS Byte 1 (if needed) 
To host 
ANS Byte 0 
To host