AMIS30422
http://onsemi.com
22
Table 7. CIRCULAR TRANSLATOR TABLE
Stepmode(< SM[3:0]>) % of Imax
0000
Coil YCoil X
11110111011001010100001100100001
1/128
Coil YCoil X
Full Step + 1/2
rotation
Full
Step
1/21/41/81/161/321/64
455 64 77
456 228 114 57 63 77
457 62 78
458 229 62 79
459 61 80
460 230 115 60 80
461 59 81
462 231 58 82
463 57 82
464 232 116 58 29 56 83
465 55 84
466 233 53 84
467 52 85
468 234 117 51 86
469 50 86
470 235 49 87
471 48 88
472 236 118 59 47 88
473 46 89
474 237 45 89
475 44 90
476 238 119 43 90
477 42 91
478 239 41 91
479 39 92
480 240 120 60 30 15 38 92
481 37 93
482 241 36 93
483 35 94
484 242 121 34 94
485 33 95
486 243 31 95
487 30 95
488 244 122 61 29 96
489 28 96
490 245 27 96
491 25 97
492 246 123 24 97
493 23 97
494 247 22 98
495 21 98
496 248 124 62 31 20 98
497 18 98
498 249 17 99
499 16 99
500 250 125 15 99
501 13 99
502 251 12 99
503 11 99
504 252 126 63 10 100
505 9 100
506 253 7 100
507 6 100
508 254 127 5 100
509 4 100
510 255 2 100
511 1 100
Remarks:
Positive coil current conducts from MOTXP to MOTXN or MOTYP to MOTYN.
AMIS30422
http://onsemi.com
23
Direction
The direction of rotation can be changed by means of the
DIRpin and the SPI bit <DIRCTRL>. See also Figure 12
up to Figure 15. Setup and hold times need to be respected
when changing direction (see Figure 6).
NXT Input
Every rising or falling edge on the NXTpin (selectable
through SPI bit <NXTP>) will move the coil current one
step up or down (dependant on the DIRpin and
<DIRCTRL> bit) in the translator table (see Table 7). The
motor current will be updated at the next PWM cycle.
Enable
The enable SPI bit <MOTEN> is used to enable the PWM
regulator and drive coil current through the stepper motor
coils. When ‘1’ the motor driver is enabled and coil current
will be conducted. If ‘0’ (zero), the Hbridge drivers are
disabled.
When the motor driver is enabled, the NXT and DIRpin
as also the <DIRCTRL> SPI bit can be used to control the
movement of the stepper motor. It’s not allowed to apply
pulses on the NXTpin when the motor driver is disabled.
Certain errors (see Error Output p28) will automatically
disable the motor driver (<MOTEN> = 0). The errors first
need to be cleared before one is able to enable the motor
driver again.
Setup and hold times need to be respected (see Figure 6).
Microstep Position
To be able to track the position in the current translator
table (Table 7), the microstep position SPI byte can be used
(<MSP[8:0]>). This byte gives the position within the
current translator table in units of 1/128 microsteps. This
means that when working in 1/4
th
microstepping the read out
microstep positions will be 0, 32, 64, ...
The microstep position can be used to track/verify the real
position of the stepper motor.
Keep in mind that <MSP[8:0]> will only be update 1 ms
after the NXT pulse was applied.
V
DIR
t
V
NXT
t
Step up in
translator table
Step up in
translator table
Step down in
translator table
Step down in
translator table
Figure 16. Translator Table Update
Microstep
<SM[3:0]> is used to set the microstep stepping mode.
Changing to another microstep stepping mode can be done
but the setup and hold timings need to be respected (see
Figure 6). Changing to another stepping mode can be done
in any (microstep) position. When changing to a lower
stepping mode this could lead to a change in coil current (=
movement of rotor) even if no NXT pulses are applied. This
will only be the case if the microstep position is not shared
between the old and new stepping mode (see also Table 7
and Figure 17). This is done to avoid unwanted phase shifts
in the coil current.
Step 2 of 1/4th stepping mode is equal to Step 1 of half step
stepping mode (see Table 7). No change of coil current dur-
ing change of stepping mode.
Step 1 of 1/4th stepping mode is NOT shared with a step in
half step stepping mode (see Table 7). Change of coil current
will occur during change of stepping mode (to avoid a coil
current phase shift).
Figure 17. NXTStep Mode Synchronization
I
Y
I
X
Step 1
Step 2
Step 3
DIRpin = low
I
Y
I
X
Step 2
1/4th Stepping Mode Half Step
I
Y
I
X
DIRpin = low
I
Y
I
X
Step 1
1/4th Stepping Mode Half Step
Step 1
AMIS30422
http://onsemi.com
24
Programmable PeakCurrent
The amplitude of the current waveform in the motor coils
(I
max
) can be programmed through SPI bits <CUR[2:0]>.
The coil current can be calculated as next:
I
max
+ <CUR[2:0]> ń R
SENSE
R
SENSE
is resistor R
1
and R
2
as given in Figure 9,
<CUR[2:0]> is dependant on the REFpin voltage. This
makes it possible to set the coil current by means of SPI
commands or by adjusting the REFpin voltage. See also
page 35.
A change in the coil current (<CUR[2:0]>) will be
updated at the next PWM cycle.
Hold Current Setting
A second coil current value can be programmed which is
called the Hold Current (<HOLD_CUR[2:0]>). By enabling
this functionality (<EN_HOLD> = 1), AMIS30422 will
automatically change the coil current to the programmed
Hold Current value when no NXT pulse is detected for a
time longer than the specified <HOLD_TIME[1:0]>. From
the moment a NXT pulse is detected, AMIS30422 will
automatically set the coil current back to <CUR[2:0]>. This
functionality makes it easy to add Run and Hold Current
capability to your application.
The HOLDCURpin can be used if one wants to select
Run or Hold Current manually. To use this pin,
<EN_HOLD> must be set to 0 (zero). When pulling the
HOLDCURpin high, the coil current will be defined by the
<HOLD_CUR[2:0]> value. When pulled low, the coil
current will be defined by the <CUR[2:0]> value. When
<EN_HOLD> is set to 0 (zero) <HOLD_TIME[1:0]> will
have no meaning. Switching between the two coil current
values can be done at any time (= independent of the NXT
frequency). By this the HOLDCURpin can also be used to
switch between two coil current values in an easy way (even
when the motor is rotating).
The Hold Current (<HOLD_CUR[2:0]>) is calculated in
the same way as the Run Current (<CUR[2:0]>).
Clear
Logic 0 on the CLRpin allows normal operation of the
chip. To clear the complete digital inside AMIS30422, the
CLRpin needs to be pulled to logic 1 for a minimum time
of t
CLR
(Table 5). Clearing the motor driver can not be done
during Sleep Mode. During a clear the charge pump remains
active. The voltage regulator remains functional during and
after the clear action and the WDbpin is not activated.
After a clear, NXT pulses can be applied after t
CLR_SET
(see Figure 7).
Speed and Load Angle Output
The SLApin provides an output voltage that indicates the
level of the BEMF (Back Electro Magnetic Force) voltage
of the motor. This BEMF voltage is sampled during every
socalled ”coil current zero crossing”. Per coil, two
zerocurrent positions exist per electrical period, yielding in
a total of four zerocurrent observation points per electrical
period.
Because of the relatively high recirculation currents in the
coil during current decay, the coil voltage V
COIL
shows a
transient behavior. This transient behavior (which is not the
BEMF) can be made visible or invisible on the SLApin by
means of SPI bit <SLAT>. When set to transparent
(<SLAT> = ‘1’), the coil voltage is sampled every PWM
cycle and updated on the SLApin (see Figure 18). When set
to nottransparent (<SLAT> = ‘0’), only the last sample
(taken right before leaving the “coil current zero crossing”)
will be copied to the SLApin (see Figure 19).
When working in nottransparent mode (<SLAT> = ‘0’)
keep in mind that there is a delay between applying the NXT
pulse (to leave the “coil current zero crossing”) and the
updated voltage on the SLApin (see t
SLA_DELAY
in
Figure 19 and Table 5).

AMIS30422DBGEVB

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
DAUGHTER BOARD BIP STEP MOTOR
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet