L6470
Programming manual
Doc ID 16737 Rev 2
39/64
9.1.6 DEC
The DEC register contains the speed profile deceleration expressed in step/tick
2
(format
unsigned fixed point 0.40).
In order to convert DEC value in step/s
2
the following formula can be used:
Equation 6
where DEC is the integer number stored into the register and tick is 250 ns.
The available range is from 14.55to 59590 step/s2 with a resolution of 14.55 step/s2.
When the device is working in infinite acceleration mode this value is ignored.
Any attempt to write the register when the motor is running causes the command to be
ignored and the NOTPERF_CMD flag to rise (see paragraph
9.1.7 MAX_SPEED
The MAX_SPEED register contains the speed profile maximum speed expressed in
step/tick (format unsigned fixed point 0.18).
In order to convert it in step/s the following formula can be used:
Equation 7
where MAX_SPEED is the integer number stored into the register and tick is 250 ns.
The available range is from 15.25 to 15610 step/s with a resolution of 15.25 step/s.
9.1.8 MIN_SPEED
The MIN_SPEED register contains following parameters:
The MIN_SPEED parameter contains the speed profile minimum speed. Its value is
expressed in step/tick and to convert it in step/s the following formula can be used:
[
]
2
40
2
tick
2
DEC
s
/
step
−
⋅
=
[
]
tick
2
SPEED
_
MAX
s
/
step
18
−
⋅
=
Table 10.
MIN_SPEED register
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
LSPD_OPT
MIN_SPEED
[
]
tick
2
SPEED
_
MIN
s
/
step
24
−
⋅
=