L6482
Programming manual
Doc ID 023768 Rev 1
43/73
9 Programming
manual
9.1
Register and flag description
shows the user registers available (a detailed description can be found in the
respective paragraphs):
Table 11.
Register map
Address
[Hex]
Register name
Register function
Len.
[bit]
Reset
Hex
Reset
value
Remarks
(1)
h01
ABS_POS
Current position
22
000000 0
R, WS
h02
EL_POS
Electrical position
9
000
0
R, WS
h03
MARK
Mark position
22
000000 0
R, WR
h04
SPEED
Current speed
20
00000
0 step/tick (0 step/s)
R
h05
ACC
Acceleration
12
08A
125.5e-12 step/tick
2
(2008
step/s
2
)
R, WS
h06
DEC
Deceleration
12
08A
125.5e-12 step/tick
2
(2008
step/s
2
)
R, WS
h07
MAX_SPEED
Maximum speed
10
041
248e-6 step/tick (991.8 step/s)
R, WR
h08
MIN_SPEED
Minimum speed
12
000
0 step/tick (0 step/s)
R, WS
h15
FS_SPD
Full-step speed
10
027
150.7e-6 step/tick (602.7
step/s)
R, WR
h09
TVAL_HOLD
Holding reference
voltage
7
29
328 mV
R, WR
h0A
TVAL_RUN
Constant speed
reference voltage
7
29
328 mV
R, WR
h0B
TVAL_ACC
Acceleration starting
reference voltage
7
29
328 mV
R, WR
h0C
TVAL_DEC
Deceleration starting
reference voltage
7
29
328 mV
R, WR
h0D
RESERVED
-
16
-
-
-
h0E
T_FAST
Fast decay settings
8
19
1 us / 5 us
R, WH
h0F
TON_MIN
Minimum on-time
8
29
20.5 us
R, WH
h10
TOFF_MIN
Minimum off-time
8
29
20.5 us
R, WH
h11
RESERVED
-
8
-
-
-
h12
ADC_OUT
ADC output
5
XX
(2)
0
R
h13
OCD_TH
OCD threshold
5
8
281.25 mV
R, WR
h14
RESERVED
-
8
-
-
-
h16
STEP_MODE
Step mode
8
7
16
μ
steps, SYNC mode
disabled
R, WH
h17
ALARM_EN
Alarms enabled
8
FF
All alarms enabled
R, WS