
Features and Benefits
▪ LowRds(on)outputs
▪ Automaticcurrentdecaymodedetection/selection
▪ Mixedandslowcurrentdecaymodes
▪ Synchronousrectificationforlowpowerdissipation
▪ InternalUVLO
▪ Crossover-currentprotection
▪ 3.3and5Vcompatiblelogicsupply
▪ Thermalshutdowncircuitry
▪ Short-to-groundprotection
▪ Shortedloadprotection
▪ Fiveselectablestepmodes:full,1/2,1/4,1/8,and1/16
Package:
Description
TheA4988 is a complete microstepping motor driver with
built-intranslatorforeasyoperation.Itisdesignedtooperate
bipolar stepper motors in full-, half-, quarter-, eighth-, and
sixteenth-stepmodes,withanoutputdrivecapacityofupto
35Vand±2A.TheA4988includesafixedoff-timecurrent
regulatorwhichhastheabilitytooperateinslowormixed
decaymodes.
Thetranslatoris the key totheeasyimplementation of the
A4988.SimplyinputtingonepulseontheSTEPinputdrives
themotoronemicrostep.Therearenophasesequencetables,
high-frequencycontrollines,orcomplexinterfacestoprogram.
TheA4988interfaceisanidealfitforapplicationswherea
complexmicroprocessorisunavailableorisoverburdened.
Duringsteppingoperation,thechoppingcontrolintheA4988
automaticallyselectsthecurrentdecaymode:slowormixed.In
mixeddecaymode,thedeviceissetinitiallytoafastdecayfor
aproportionofthefixedoff-time,thentoaslowdecayforthe
remainderoftheoff-time.Mixeddecaycurrentcontrolresults
inreducedaudiblemotornoise,increasedstepaccuracy,and
reducedpowerdissipation.
DMOS Microstepping Driver with Translator
and Overcurrent Protection
Continued on the next page…
A4988
Microcontroller or
Controller Logic
VDD
VREF GND GND
RESET
ENABLE
SLEEP
DIR
MS2
MS3
MS1
STEP
VBB1
CP1 VCPVREG
VDD
ROSC
5 kΩ
0.22 µF
0.22 µF
0.1 µF 0.1 µF
100 µF
CP2
VBB2
OUT1A
OUT1B
SENSE1
OUT2A
OUT2B
SENSE2
A4988
28-contactQFN
withexposedthermalpad
5mm×5mm×0.90mm
(ETpackage)
Typical Application Diagram
4988-DS, Rev. 6
Not to scale

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
2
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Internal synchronous rectification control circuitry is provided
to improve power dissipation during PWM operation. Internal
circuit protection includes: thermal shutdown with hysteresis,
undervoltagelockout(UVLO),andcrossover-currentprotection.
Specialpower-onsequencingisnotrequired.
TheA4988issuppliedinasurface-mountQFNpackage(ET),5mm
×5mm,withanominaloverallpackageheightof0.90mmandan
exposedpadforenhancedthermaldissipation.Itislead(Pb)free
(suffix–T),with100%matte-tin-platedleadframes.
Description (continued)
Absolute Maximum Ratings
Characteristic Symbol Notes Rating Units
Load Supply Voltage VBB 35 V
Output Current IOUT ±2 A
Logic Input Voltage VIN –0.3 to 5.5 V
Logic Supply Voltage VDD –0.3 to 5.5 V
Motor Outputs Voltage –2.0 to 37 V
Sense Voltage VSENSE –0.5 to 0.5 V
Reference Voltage VREF 5.5 V
Operating Ambient Temperature TARange S –20 to 85 ºC
Maximum Junction TJ(max) 150 ºC
Storage Temperature Tstg –55 to 150 ºC
Selection Guide
Part Number Package Packing
A4988SETTR-T 28-contact QFN with exposed thermal pad 1500 pieces per 7-in. reel

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
3
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Functional Block Diagram
SENSE1
SENSE2
VREG
VCP
CP2
Control
Logic
DAC
VDD
PWM Latch
Blanking
Mixed Decay
DAC
STEP
DIR
RESET
MS1
PWM Latch
Blanking
Mixed Decay
Current
Regulator
CP1
Charge
Pump
RS2
RS1
VBB1
OUT1A
OUT1B
VBB2
OUT2A
OUT2B
0.1 µF
VREF
Translator
Gate
Drive DMOS Full Bridge
DMOS Full Bridge
0.1 µF
0.22 µF
OSC
ROSC
MS2
REF
ENABLE
SLEEP
MS3
OCP
OCP

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
4
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
ELECTRICAL CHARACTERISTICS1 at TA = 25°C, VBB = 35 V (unless otherwise noted)
Characteristics Symbol Test Conditions Min. Typ.2Max. Units
Output Drivers
Load Supply Voltage Range VBB
Operating 8 – 35 V
During Sleep Mode 0 – 35 V
Logic Supply Voltage Range VDD Operating 3 – 5.5 V
Output On-Resistance Rds(on)
Source driver, IOUT = –1.5 A – 320 430 mΩ
Sink driver, IOUT = 1.5 A – 320 430 mΩ
Body Diode Forward Voltage VF
Source diode, IF = –1.5 A – – 1.2 V
Sink diode, IF = 1.5 A – – 1.2 V
Motor Supply Current IBB
fPWM < 50 kHz – – 4 mA
Operating, outputs disabled – – 2 mA
Sleep Mode – – 10 µA
Logic Supply Current IDD
fPWM < 50 kHz – – 8 mA
Outputs off – – 5 mA
Sleep Mode – – 10 µA
Control Logic
Logic Input Voltage VIN(1) VDD × 0.7 – – V
VIN(0) – – VDD × 0.3 V
Logic Input Current IIN(1) VIN = VDD × 0.7 –20 <1.0 20 µA
IIN(0) VIN = VDD × 0.3 –20 <1.0 20 µA
Microstep Select
RMS1 MS1 pin – 100 – kΩ
RMS2 MS2 pin – 50 – kΩ
RMS3 MS3 pin – 100 – kΩ
Logic Input Hysteresis VHYS(IN) As a % of VDD 511 19 %
Blank Time tBLANK 0.7 1 1.3 μs
Fixed Off-Time tOFF
OSC = VDD or GND 20 30 40 μs
ROSC = 25 kΩ 23 30 37 μs
Reference Input Voltage Range VREF 0 – 4 V
Reference Input Current IREF –3 0 3 μA
Current Trip-Level Error3errI
VREF = 2 V, %ITripMAX = 38.27% – – ±15 %
VREF = 2 V, %ITripMAX = 70.71% – – ±5 %
VREF = 2 V, %ITripMAX = 100.00% – – ±5 %
Crossover Dead Time tDT 100 475 800 ns
Protection
Overcurrent Protection Threshold4IOCPST 2.1 – – A
Thermal Shutdown Temperature TTSD – 165 – °C
Thermal Shutdown Hysteresis TTSDHYS – 15 – °C
VDD Undervoltage Lockout VDDUVLO VDD rising 2.7 2.8 2.9 V
VDD Undervoltage Hysteresis VDDUVLOHYS – 90 – mV
1 For input and output current specifications, negative current is defined as coming out of (sourcing) the specified device pin.
2 Typical data are for initial design estimations only, and assume optimum manufacturing and application conditions. Performance may vary for individual
units, within the specified maximum and minimum limits.
3 VERR = [(VREF/8) – VSENSE] / (VREF/8).
4 Overcurrent protection (OCP) is tested at TA = 25°C in a restricted range and guaranteed by characterization.

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
5
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
THERMAL CHARACTERISTICS
Characteristic Symbol Test Conditions* Value Units
Package Thermal Resistance RθJA Four-layer PCB, based on JEDEC standard 32 ºC/W
*Additional thermal information available on Allegro website.
Temperature, T
A
(°C)
Power Dissipation, P
D
(W)
0
0.50
1.50
2.00
2.50
3.00
3.50
4.00
1.00
20 40 60 80 100 120 140 160
Power Dissipation versus Ambient Temperature
R
θJA
= 32 ºC/W

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
6
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Figure 1: Logic Interface Timing Diagram
STEP
t
A
t
D
t
C
MS1, MS2, MS3,
RESET, or DIR
t
B
Table 1: Microstepping Resolution Truth Table
Time Duration Symbol Typ. Unit
STEP minimum, HIGH pulse width tA1μs
STEP minimum, LOW pulse width tB1μs
Setup time, input change to STEP tC200 ns
Hold time, input change to STEP tD200 ns
MS1 MS2 MS3 Microstep Resolution Excitation Mode
L L L Full Step 2 Phase
H L L Half Step 1-2 Phase
L H L Quarter Step W1-2 Phase
H H L Eighth Step 2W1-2 Phase
H H H Sixteenth Step 4W1-2 Phase

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
7
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Device Operation. TheA4988isacompletemicrostepping
motordriverwithabuilt-intranslatorforeasyoperationwith
minimalcontrollines.Itisdesignedtooperatebipolarstepper
motorsinfull-,half-,quarter-,eighth,andsixteenth-stepmodes.
Thecurrentsineachofthetwooutputfull-bridgesandallofthe
N-channelDMOSFETsareregulatedwithfixedoff-timePWM
(pulse-widthmodulated)controlcircuitry.Ateachstep,thecur-
rentforeachfull-bridgeissetbythevalueofitsexternalcurrent-
senseresistor(RS1andRS2),areferencevoltage(VREF),andthe
outputvoltageofitsDAC(whichinturniscontrolledbythe
outputofthetranslator).
Atpower-onorreset,thetranslatorsetstheDACsandthephase
currentpolaritytotheinitialHomestate(showninFigures9
through13),andthecurrentregulatortoMixeddecaymodefor
bothphases.WhenastepcommandsignaloccursontheSTEP
input,thetranslatorautomaticallysequencestheDACstothe
nextlevelandcurrentpolarity.(SeeTable2forthecurrent-level
sequence.)Themicrostepresolutionissetbythecombinedeffect
oftheMSxinputs,asshowninTable1.
Whenstepping,ifthenewoutputlevelsoftheDACsarelower
thantheirpreviousoutputlevels,thenthedecaymodeforthe
activefull-bridgeissettoMixed.Ifthenewoutputlevelsofthe
DACsarehigherthanorequaltotheirpreviouslevels,thenthe
decaymodefortheactivefull-bridgeissettoSlow.Thisauto-
maticcurrentdecayselectionimprovesmicrosteppingperfor-
mancebyreducingthedistortionofthecurrentwaveformthat
resultsfromthebackEMFofthemotor.
Microstep Select (MSx).Themicrostepresolutionissetby
thevoltageonlogicinputsMSx,asshowninTable1.TheMS1and
MS3pinshavea100kΩpull-downresistance,andtheMS2pin
hasa50kΩpull-downresistance.Whenchangingthestepmode,
thechangedoesnottakeeffectuntilthenextSTEPrisingedge.
Ifthestepmodeischangedwithoutatranslatorreset,andabso-
lutepositionmustbemaintained,itisimportanttochangethe
stepmodeatasteppositionthatiscommontobothstepmodesin
ordertoavoidmissingsteps.Whenthedeviceispowereddown,
orresetduetoTSDoranovercurrentevent,thetranslatorissetto
thehomepositionwhichisbydefaultcommontoallstepmodes.
Mixed Decay Operation.ThebridgeoperatesinMixed
decaymode,atpower-onandreset,andduringnormalrunning
accordingtotheROSCconfigurationandthestepsequence,as
showninFigures9through13.DuringMixeddecaymode,when
thetrippointisreached,theA4988initiallygoesintoafastdecay
intervalfor31.25%oftheoff-time,tOFF
.Afterthat,itswitches
toslowdecayfortheremainderoftOFF.Atimingdiagramforthis
featureappearsonthenextpage.
Typically,mixeddecayisonlynecessarywhenthecurrentinthe
windingisgoingfromahighervaluetoalowervalueasdetermined
bythestateofthetranslator.Formostloads,automaticallyselected
mixeddecayisconvenientbecauseitminimizesripplewhenthe
currentisrisingandpreventsmissedstepswhenthecurrentisfalling.
Forsomeapplicationswheremicrosteppingatverylowspeedsis
necessary,thelackofbackEMFinthewindingcausesthecurrentto
increaseintheloadquickly,resultinginmissedsteps.Thisisshown
inFigure2.BypullingtheROSCpintoground,mixeddecayisset
tobeactive100%ofthetime,forbothrisingandfallingcurrents,and
preventsmissedstepsasshowninFigure3.Ifthisisnotanissue,it
isrecommendedthatautomaticallyselectedmixeddecaybeused,
becauseitwillproducereducedripplecurrents.RefertotheFixed
Off-Timesectionfordetails.
Low Current Microstepping. Intendedforapplications
wheretheminimumon-timepreventstheoutputcurrentfrom
regulatingtotheprogrammedcurrentlevelatlowcurrentsteps.
Topreventthis,thedevicecanbesettooperateinMixeddecay
modeonbothrisingandfallingportionsofthecurrentwaveform.
ThisfeatureisimplementedbyshortingtheROSCpintoground.
Inthisstate,theoff-timeisinternallysetto30µs.
Reset Input (¯
R
¯
¯
E
¯
¯
S
¯
¯
E
¯
¯
T
¯
).The¯
R
¯
¯
E
¯
¯
S
¯
¯
E
¯
¯
T
¯
inputsetsthetranslator
toapredefinedHomestate(showninFigures9through13),and
turnsoffalloftheFEToutputs.AllSTEPinputsareignoreduntil
the¯
R
¯
¯
E
¯
¯
S
¯
¯
E
¯
¯
T
¯
inputissettohigh.
Step Input (STEP).Alow-to-hightransitionontheSTEP
inputsequencesthetranslatorandadvancesthemotoroneincre-
ment.ThetranslatorcontrolstheinputtotheDACsandthedirec-
Functional Description

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
8
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Figure 2: Missed Steps in Low-Speed Microstepping
Figure 3: Continuous Stepping Using Automatically-Selected Mixed Stepping (ROSC pin grounded)
t → , 1 s/div.
Step input 10 V/div.
Mixed Decay
No Missed
Steps
ILOAD 500 mA/div.
t → , 1 s/div.
Step input 10 V/div.
Slow
Decay
Slow
Decay
Slow
Decay
Slow
Decay
Mixed
Decay
Mixed
Decay
Mixed
Decay
Mixed
Decay
Missed
Step
Voltage on ROSC terminal 2 V/div.

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
9
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
tionofcurrentflowineachwinding.Thesizeoftheincrementis
determinedbythecombinedstateoftheMSxinputs.
Direction Input (DIR). Thisdeterminesthedirectionofrota-
tionofthemotor.Changestothisinputdonottakeeffectuntilthe
nextSTEPrisingedge.
Internal PWM Current Control. Eachfull-bridgeiscon-
trolledbyafixedoff-timePWMcurrentcontrolcircuitthatlimits
theloadcurrenttoadesiredvalue,ITRIP
.Initially,adiagonalpair
ofsourceandsinkFEToutputsareenabledandcurrentflows
throughthemotorwindingandthecurrentsenseresistor,RSx.
WhenthevoltageacrossRSxequalstheDACoutputvoltage,the
currentsensecomparatorresetsthePWMlatch.Thelatchthen
turnsofftheappropriatesourcedriverandinitiatesafixedoff-
timedecaymode
Themaximumvalueofcurrentlimitingissetbytheselectionof
RSxandthevoltageattheVREFpin.Thetransconductancefunc-
tionisapproximatedbythemaximumvalueofcurrentlimiting,
ITripMAX(A),whichissetby
ITripMAX = VREF / ( 8 × RS)
whereRSistheresistanceofthesenseresistor(Ω)andVREFis
theinputvoltageontheREFpin(V).
TheDACoutputreducestheVREFoutputtothecurrentsense
comparatorinprecisesteps,suchthat
Itrip = (%ITripMAX / 100) × ITripMAX
(SeeTable2for%ITripMAXateachstep.)
Itiscriticalthatthemaximumrating(0.5V)ontheSENSE1and
SENSE2pinsisnotexceeded.
Fixed Off-Time.TheinternalPWMcurrentcontrolcircuitry
usesaone-shotcircuittocontrolthedurationoftimethatthe
DMOSFETsremainoff.Theoff-time,tOFF,isdeterminedbythe
ROSCterminal.TheROSCterminalhasthreesettings:
▪ ROSCtiedtoVDD—off-timeinternallysetto30µs;decay
modeisautomaticMixed,exceptwheninfull-stepwhere
decaymodeissettoSlow.
▪ ROSCtieddirectlytoground—off-timeinternallysetto
30µs;currentdecayissettoMixedforbothincreasingand
decreasingcurrentsforallstepmodes.
▪ ROSCthrougharesistortoground—off-timeisdetermined
bythefollowingformula;thedecaymodeisautomaticMixed
forallstepmodesexceptfull-stepwhichissettoSlow.
tOFF ≈ ROSC ⁄ 825
wheretOFFisinµs.
Blanking.Thisfunctionblankstheoutputofthecurrentsense
comparatorswhentheoutputsareswitchedbytheinternalcurrent
controlcircuitry.Thecomparatoroutputsareblankedtoprevent
falseovercurrentdetectionduetoreverserecoverycurrentsofthe
clampdiodes,andswitchingtransientsrelatedtothecapacitance
oftheload.Theblanktime,tBLANK(µs),isapproximately
tBLANK ≈ 1 µs
Shorted Load and Short-to-Ground Protection.
Ifthemotorleadsareshortedtogether,orifoneoftheleadsis
shortedtoground,thedriverwillprotectitselfbysensingthe
overcurrenteventanddisablingthedriverthatisshorted,protect-
ingthedevicefromdamage.Inthecaseofashort-to-ground,the
devicewillremaindisabled(latched)untiltheS
¯
¯
L
¯
¯
E
¯
¯
E
¯
¯
P
¯
inputgoes
highorVDDpowerisremoved.Ashort-to-groundovercurrent
eventisshowninFigure4.
Whenthetwooutputsareshortedtogether,thecurrentpathis
throughthesenseresistor.Aftertheblankingtime(≈1µs)expires,
thesenseresistorvoltageisexceedingitstripvalue,duetothe
overcurrentconditionthatexists.Thiscausesthedrivertogointo
afixedoff-timecycle.Afterthefixedoff-timeexpires,thedriver
turnsonagainandtheprocessrepeats.Inthiscondition,the
driveriscompletelyprotectedagainstovercurrentevents,butthe
shortisrepetitivewithaperiodequaltothefixedoff-timeofthe
driver.ThisconditionisshowninFigure5.
Duringashortedloadevent,itisnormaltoobservebothaposi-
tiveandnegativecurrentspikeasshowninFigure3,duetothe
directionchangeimplementedbytheMixeddecayfeature.Thisis
showninFigure6.Inbothinstances,theovercurrentcircuitryis
protectingthedriverandpreventsdamagetothedevice.
Charge Pump (CP1 and CP2).Thechargepumpisused
togenerateagatesupplygreaterthanthatofVBBfordrivingthe
source-sideFETgates.A0.1µFceramiccapacitorshouldbe
connectedbetweenCP1andCP2.Inaddition,a0.1µFceramic
capacitorisrequiredbetweenVCPandVBB,toactasareservoir
foroperatingthehigh-sideFETgates.
CapacitorvaluesshouldbeClass2dielectric±15%maximum,
ortoleranceR,accordingtoEIA(ElectronicIndustriesAlliance)
specifications.

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
10
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
VREG (VREG).Thisinternallygeneratedvoltageisusedto
operatethesink-sideFEToutputs.Thenominaloutputvoltage
oftheVREGterminalis7V.TheVREGpinmustbedecoupled
witha0.22µFceramiccapacitortoground.VREGisinternally
monitored.Inthecaseofafaultcondition,theFEToutputsofthe
A4988aredisabled.
CapacitorvaluesshouldbeClass2dielectric±15%maximum,
ortoleranceR,accordingtoEIA(ElectronicIndustriesAlliance)
specifications.
Enable Input (¯
E
¯
¯
N
¯
¯
A
¯
¯
B
¯
¯
L
¯
¯
E
¯
).Thisinputturnsonoroffallofthe
FEToutputs.Whensettoalogichigh,theoutputsaredisabled.
Whensettoalogiclow,theinternalcontrolenablestheoutputs
asrequired.ThetranslatorinputsSTEP,DIR,andMSx,aswellas
theinternalsequencinglogic,allremainactive,independentofthe
¯
E
¯
¯
N
¯
¯
A
¯
¯
B
¯
¯
L
¯
¯
E
¯
inputstate.
Shutdown.Intheeventofafault,overtemperature(excessTJ)
oranundervoltage(onVCP),theFEToutputsoftheA4988are
disableduntilthefaultconditionisremoved.Atpower-on,the
UVLO(undervoltagelockout)circuitdisablestheFEToutputs
andresetsthetranslatortotheHomestate.
Sleep Mode( ¯
S
¯
¯
L
¯
¯
E
¯
¯
E
¯
¯
P
¯
).Tominimizepowerconsumption
whenthemotorisnotinuse,thisinputdisablesmuchofthe
internalcircuitryincludingtheoutputFETs,currentregulator,
andchargepump.AlogiclowontheS
¯
¯
L
¯
¯
E
¯
¯
E
¯
¯
P
¯
pinputstheA4988
intoSleepmode.Alogichighallowsnormaloperation,aswell
asstartup(atwhichtimetheA4988drivesthemotortotheHome
microstepposition).WhenemergingfromSleepmode,inorder
toallowthechargepumptostabilize,provideadelayof1ms
beforeissuingaStepcommand.
Mixed Decay Operation.ThebridgeoperatesinMixed
decaymode,dependingonthestepsequence,asshowninFig-
ures9through13.Asthetrippointisreached,theA4988initially
goesintoafastdecayintervalfor31.25%oftheoff-time,tOFF.
Afterthat,itswitchestoslowdecayfortheremainderoftOFF.A
timingdiagramforthisfeatureappearsinFigure7.
Synchronous Rectification.WhenaPWM-offcycleis
triggeredbyaninternalfixed-offtimecycle,loadcurrentrecircu-
latesaccordingtothedecaymodeselectedbythecontrollogic.
Thissynchronousrectificationfeatureturnsontheappropriate
FETsduringcurrentdecay,andeffectivelyshortsoutthebody
diodeswiththelowFETRds(on).Thisreducespowerdissipation
significantly,andcaneliminatetheneedforexternalSchottky
diodesinmanyapplications.Synchronousrectificationturnsoff
whentheloadcurrentapproacheszero(0A),preventingreversal
oftheloadcurrent.
t →
Fixed off-time
5 A / div.
t →
5 A / div.
Figure 4: Short-to-Ground Event
Figure 5. Shorted Load (OUTxA → OUTxB) in Slow Decay Mode
Figure 6: Shorted Load (OUTxA → OUTxB) in Mixed Decay Mode
Fixed off-time
Fast decay portion
(direction change)
t →
5 A / div. Fault
latched

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
11
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
VSTEP
IOUT
IOUT
t
See Enlargement A
Enlargement A
t
SD
t
FD
t
off
Slow Decay
Mixed Decay
Fast Decay
I
PEAK
70.71
–70.71
0
100.00
–100.00
Symbol Characteristic
toff Device fixed off-time
IPEAK Maximum output current
tSD Slow decay interval
tFD Fast decay interval
IOUT Device output current
Figure 7: Current Decay Modes Timing Chart

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
12
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Application Layout
Layout.Theprintedcircuitboardshoulduseaheavyground-
plane.Foroptimumelectricalandthermalperformance,the
A4988mustbesoldereddirectlyontotheboard.Pins3and18
areinternallyfused,whichprovidesapathforenhancedthermal
dissipation.Thesespinsshouldbesoldereddirectlytoanexposed
surfaceonthePCBthatconnectstothermalviasareusedto
transferheattootherlayersofthePCB.
Inordertominimizetheeffectsofgroundbounceandoffset
issues,itisimportanttohavealow-impedancesingle-point
ground,knownasastar ground,locatedveryclosetothedevice.
Bymakingtheconnectionbetweenthepadandthegroundplane
directlyundertheA4988,thatareabecomesanideallocationfor
astargroundpoint.Alow-impedancegroundwillpreventground
bounceduringhigh-currentoperationandensurethatthesupply
voltageremainsstableattheinputterminal.
Thetwoinputcapacitorsshouldbeplacedinparallel,andas
closetothedevicesupplypinsaspossible.Theceramiccapaci-
tor(CIN1)shouldbeclosertothepinsthanthebulkcapacitor
(CIN2).Thisisnecessarybecausetheceramiccapacitorwillbe
responsiblefordeliveringthehigh-frequencycurrentcomponents.
Thesenseresistors,RSx,shouldhaveaverylow-impedance
pathtoground,becausetheymustcarryalargecurrentwhile
supportingveryaccuratevoltagemeasurementsbythecurrent
sensecomparators.Longgroundtraceswillcauseadditional
voltagedrops,adverselyaffectingtheabilityofthecomparators
toaccuratelymeasurethecurrentinthewindings.TheSENSEx
pinshaveveryshorttracestotheRSxresistorsandverythick,
low-impedancetracesdirectlytothestargroundunderthe
device.Ifpossible,thereshouldbenoothercomponentsonthe
sensecircuits.
V
BB
V
DD
1
PAD
A4988
C3
C6
R1
R2
R3
C1 C8
C2
C9C7
RS2RS1
R6
C4
OUT1B
NC
DIR
REF
STEP
VDD
OUT2B
ENABLE
CP1
CP2
VCP
NC
VREG
MS1
MS2
MS3
RESET
ROSC
SLEEP
VBB2
SENSE2
OUT2A
NC
OUT1A
SENSE1
VBB1
GND
GND
PCB
Thermal Vias
Trace (2 oz.)
Signal (1 oz.)
Ground (1 oz.)
Thermal (2 oz.)
Solder
A4988
Figure 8: Typical Application and Circuit Layout

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
13
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
VCP
GND
CP2
GND
CP1VBB
8 V
GND
VDD
GND GND
8 V
GND GND
8 V
VBB
VREG
10 V
GND
DMOS
Parasitic
SENSE VREG
GND
VBB
40 V
GND
VBB
OUT
DMOS
Parasitic
DMOS
Parasitic
GND
PGND GND
MS1
MS2
MS3
DIR
VREF
ROSC
SLEEP
Pin Circuit Diagrams

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
14
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Figure 10: Decay Modes for Half-Step IncrementsFigure 9: Decay Mode for Full-Step Increments
*With ROSC pin tied to GND
Mixed*
Phase 2
I
OUT2A
Direction =
H
(%)
Phase 1
I
OUT1A
Direction =
H
(%)
STEP
Home Microstep Position
Home Microstep Position
100.00
70.71
–70.71
0.00
–100.00
100.00
70.71
–70.71
0.00
–100.00
Slow
RESET
*With ROSC pin tied to GND
Home Microstep Position
Home Microstep Position
100.00
70.71
–70.71
0.00
–100.00
100.00
70.71
–70.71
0.00
–100.00
Phase 2
IOUT2B
Direction = H
(%)
Phase 1
IOUT1A
Direction = H
(%)
STEP
Slow
Mixed
Mixed*
Mixed*
Slow
Mixed
Slow
Mixed
Mixed
Slow
Mixed
Slow
Mixed
Slow
Slow
0.00
100.00
92.39
70.71
38.27
–38.27
–70.71
–92.39
–100.00
0.00
100.00
92.39
70.71
38.27
–38.27
–70.71
–92.39
–100.00
Phase 2
IOUT2B
Direction = H
(%)
Phase 1
IOUT1A
Direction = H
(%)
Home Microstep Position
Slow Mixed Slow
Slow Mixed
Slow Mixed Slow MixedMixed
STEP
Slow
Mixed*
Mixed*
*With ROSC pin tied to GND
Figure 11: Decay Modes for Quarter-Step Increments
DIR= H
DIR= H DIR= H

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
15
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Figure 12: Decay Modes for Eighth-Step Increments
Mixed Mixed
Slow Slow
Mixed Slow Mixed Slow
0.00
100.00
92.39
70.71
55.56
–55.56
83.15
–83.15
38.27
19.51
–19.51
–38.27
–70.71
–92.39
–100.00
0.00
100.00
92.39
70.71
55.56
–55.56
83.15
–83.15
38.27
19.51
–19.51
–38.27
–70.71
–92.39
–100.00
Phase 2
I
OUT2B
Direction = H
(%)
Phase 1
I
OUT1A
Direction = H
(%)
Home Microstep Position
STEP
Mixed*
Mixed*
*With ROSC pin tied to GND
DIR= H

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
16
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Figure 13: Decay Modes for Sixteenth-Step Increments
MixedSlow
Mixed*
Mixed*
MixedSlow
MixedSlow Slow
Slow
100.00
95.69
88.19
83.15
–83.15
77.30
70.71
63.44
55.56
47.14
38.27
29.03
19.51
9.8
0.00
–100.00
–95.69
–88.19
–77.30
–70.71
–63.44
–55.56
–47.14
–38.27
–29.03
–19.51
–9.8
100.00
95.69
88.19
83.15
–83.15
77.30
70.71
63.44
55.56
47.14
38.27
29.03
19.51
9.8
0.00
–100.00
–95.69
–88.19
–77.30
–70.71
–63.44
–55.56
–47.14
–38.27
–29.03
–19.51
–9.8
Phase 2
I
OUT2B
Direction = H
(%)
Phase 1
I
OUT1A
Direction = H
(%)
Home Microstep Position
Mixed
*With ROSC pin tied to GND
STEP
DIR= H

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
17
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Table 2: Step Sequencing Settings
Home microstep position at Step Angle 45º; DIR = H
Full
Step
#
Half
Step
#
1/4
Step
#
1/8
Step
#
1/16
Step
#
Phase 1
Current
[% ItripMax]
(%)
Phase 2
Current
[% ItripMax]
(%)
Step
Angle
(º)
Full
Step
#
Half
Step
#
1/4
Step
#
1/8
Step
#
1/16
Step
#
Phase 1
Current
[% ItripMax]
(%)
Phase 2
Current
[% ItripMax]
(%)
Step
Angle
(º)
1 1 1 1 100.00 0.00 0.0 5 9 17 33 –100.00 0.00 180.0
2 99.52 9.80 5.6 34 –99.52 –9.80 185.6
2 3 98.08 19.51 11.3 18 35 –98.08 –19.51 191.3
4 95.69 29.03 16.9 36 –95.69 –29.03 196.9
2 3 5 92.39 38.27 22.5 10 19 37 –92.39 –38.27 202.5
6 88.19 47.14 28.1 38 –88.19 –47.14 208.1
4 7 83.15 55.56 33.8 20 39 –83.15 –55.56 213.8
8 77.30 63.44 39.4 40 –77.30 –63.44 219.4
1 2 3 5 9 70.71 70.71 45.0 3 6 11 21 41 –70.71 –70.71 225.0
10 63.44 77.30 50.6 42 –63.44 –77.30 230.6
611 55.56 83.15 56.3 22 43 –55.56 –83.15 236.3
12 47.14 88.19 61.9 44 –47.14 –88.19 241.9
4 7 13 38.27 92.39 67.5 12 23 45 –38.27 –92.39 247.5
14 29.03 95.69 73.1 46 –29.03 –95.69 253.1
8 15 19.51 98.08 78.8 24 47 –19.51 –98.08 258.8
16 9.80 99.52 84.4 48 –9.80 –99.52 264.4
3 5 9 17 0.00 100.00 90.0 7 13 25 49 0.00 –100.00 270.0
18 –9.80 99.52 95.6 50 9.80 –99.52 275.6
10 19 –19.51 98.08 101.3 26 51 19.51 –98.08 281.3
20 –29.03 95.69 106.9 52 29.03 –95.69 286.9
611 21 –38.27 92.39 112.5 14 27 53 38.27 –92.39 292.5
22 –47.14 88.19 118.1 54 47.14 –88.19 298.1
12 23 –55.56 83.15 123.8 28 55 55.56 –83.15 303.8
24 –63.44 77.30 129.4 56 63.44 –77.30 309.4
2 4 7 13 25 –70.71 70.71 135.0 4 8 15 29 57 70.71 –70.71 315.0
26 –77.30 63.44 140.6 58 77.30 –63.44 320.6
14 27 –83.15 55.56 146.3 30 59 83.15 –55.56 326.3
28 –88.19 47.14 151.9 60 88.19 –47.14 331.9
8 15 29 –92.39 38.27 157.5 16 31 61 92.39 –38.27 337.5
30 –95.69 29.03 163.1 62 95.69 –29.03 343.1
16 31 –98.08 19.51 168.8 32 63 98.08 –19.51 348.8
32 –99.52 9.80 174.4 64 99.52 –9.80 354.4

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
18
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
Pinout Diagram
Terminal List Table
Name Number Description
CP1 4 Charge pump capacitor terminal
CP2 5 Charge pump capacitor terminal
VCP 6 Reservoir capacitor terminal
VREG 8 Regulator decoupling terminal
MS1 9 Logic input
MS2 10 Logic input
MS3 11 Logic input
¯
R
¯
¯
E
¯
¯
S
¯
¯
E
¯
¯
T
¯ 12 Logic input
ROSC 13 Timing set
¯
S
¯
¯
L
¯
¯
E
¯
¯
E
¯
¯
P
¯ 14 Logic input
VDD 15 Logic supply
STEP 16 Logic input
REF 17 Gm reference voltage input
GND 3, 18 Ground*
DIR 19 Logic input
OUT1B 21 DMOS Full Bridge 1 Output B
VBB1 22 Load supply
SENSE1 23 Sense resistor terminal for Bridge 1
OUT1A 24 DMOS Full Bridge 1 Output A
OUT2A 26 DMOS Full Bridge 2 Output A
SENSE2 27 Sense resistor terminal for Bridge 2
VBB2 28 Load supply
OUT2B 1 DMOS Full Bridge 2 Output B
¯
E
¯
¯
N
¯
¯
A
¯
¯
B
¯
¯
L
¯
¯
E
¯ 2 Logic input
NC 7, 20, 25 No connection
PAD – Exposed pad for enhanced thermal dissipation*
*The GND pins must be tied together externally by connecting to the PAD ground plane
under the device.
PAD
21
20
19
18
17
16
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
VBB2
SENSE2
OUT2A
NC
OUT1A
SENSE1
VBB1
VREG
MS1
MS2
MS3
RESET
ROSC
SLEEP
OUT1B
NC
DIR
GND
REF
STEP
VDD
OUT2B
ENABLE
GND
CP1
CP2
VCP
NC

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
19
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
ET Package, 28-Pin QFN with Exposed Thermal Pad
0.25 +0.05
–0.07
0.50
0.90 ±0.10
C0.08
29X SEATING
PLANE
C
ATerminal #1 mark area
BExposed thermal pad (reference only, terminal #1
identifier appearance at supplier discretion)
For Reference Only; not for tooling use
(reference JEDEC MO-220VHHD-1)
Dimensions in millimeters
Exact case and lead configuration at supplier discretion within limits shown
CReference land pattern layout (reference IPC7351
QFN50P500X500X100-29V1M);
All pads a minimum of 0.20 mm from all adjacent pads; adjust as
necessary to meet application process requirements and PCB layout
tolerances; when mounting on a multilayer PCB, thermal vias at the
exposed thermal pad land can improve thermal dissipation (reference
EIA/JEDEC Standard JESD51-5)
28
2
1
A
28
1
2
PCB Layout Reference View
B
3.15
0.73 MAX
3.15
3.15
3.15
0.30
1
28 0.50
1.15
4.80
4.80
C
5.00 ±0.15
5.00 ±0.15
D
DCoplanarity includes exposed thermal pad and terminals

DMOS Microstepping Driver with Translator
and Overcurrent Protection
A4988
20
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
For the latest version of this document, visit our website:
www.allegromicro.com
Revision History
Revision Revision Date Description of Revision
4 January 27, 2012 Updated IOCPST
5 May 7, 2014 Revised text on page 9; revised Figure 8 and Table 2
6 January 14, 2016 Updated VBB, IBB, and IDD in Electrical Characteristics table
Copyright ©2016, Allegro MicroSystems, LLC
Allegro MicroSystems, LLC reserves the right to make, from time to time, such departures from the detail specifications as may be required to
permit improvements in the performance, reliability, or manufacturability of its products. Before placing an order, the user is cautioned to verify that
the information being relied upon is current.
Allegro’s products are not to be used in any devices or systems, including but not limited to life support devices or systems, in which a failure of
Allegro’s product can reasonably be expected to cause bodily harm.
The information included herein is believed to be accurate and reliable. However, Allegro MicroSystems, LLC assumes no responsibility for its
use; nor for any infringement of patents or other rights of third parties which may result from its use.
Products related to this Datasheet
IC MTR DRVR BIPOLAR 3-5.5V 28QFN
STEPPER DRIVER 2A 35V LOAD
IC MTR DRVR BIPOLAR 3-5.5V 28QFN
IC MTR DRVR BIPOLAR 3-5.5V 28QFN
BOARD EVAL FOR A4988SET
STEPPER DRIVER 2A 35V LOAD