Datasheet

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 Table 9 on page 40.
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 Table 9).
Some registers cannot be written (see Table 9); 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 Section 9.1.18 on page 49).
Some registers can only be written in particular conditions (see Ta ble 9 ); 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
Section 9.1.19 on page 52).
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