AMIS−30422
http://onsemi.com
36
Table 14. CONTROL REGISTER 1 PARAMETERS
Parameter Value Value Description Info
DIRCTRL
0 CW
Defines the direction of rotation.
Remark:
CW and CCW is relative. Direction of rotation will
be defined by the status of the DIR−pin and connection of
the stepper motor!
p23
1 CCW
NXTP
0 Positive Edge
Defines the active edge on the NXT−pin. p23
1 Negative Edge
WDb_OD
0 Push Pull
Defines the output type of WDb−pin p28
1 Open Drain
ERRb_OD
0 Push Pull
Defines the output type of ERRb−pin p28
1 Open Drain
PWMJ
0 Disabled
Enables or disables PWM jitter p14
1 Enabled
MINSLATIME[1:0]
00
40 ms
Defines the time coil current zero−crossing extension time. p21
01
120 ms
10
200 ms
11
360 ms
Remark: Bit 5 of Control Register 1 should always be ‘0’ (zero)!
Control Register 2 (CR2)
Control Register 2 is located at address 0x03 and can be used to enable the motor driver and to put the motor driver in sleep
mode. It also has some parameters that can be used to set the SLA.
Table 15. CONTROL REGISTER 2
Control Register 2 (CR2)
Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0x03
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0
Data MOTEN SLP − SLAT SLAG[2:0] SLA_OFFS
Table 16. CONTROL REGISTER 2 PARAMETERS
Parameter Value Value Description Info
MOTEN
0 Disabled
Enables the PWM regulator.
Remark:
the regulator is automatically disabled if one of the
bits in Status Register 1 or 2 is set.
p23
1 Enabled
SLP
0 Normal Mode
Enables the sleep mode (power down mode) p26
1 Sleep Mode
SLAT
0 Not Transparent
Defines the type of SLA sampling. p24
1 Transparent