59
© Semiconductor Components Industries, LLC, 2017 December, 2017 - Rev. 0 1 Publication Order Number: NCV70628/D NCV70628 Micro-stepping Motor Driver Introduction The NCV70628 is a single-chip micro-stepping motor driver with position controller and control/diagnostic interface. It is ready to build dedicated mechatronics solutions connected remotely with a LIN master. The chip receives positioning instructions through the bus and subsequently drives the motor coils to the desired position. The on-chip position controller is configurable (OTP or RAM) for different motor types, positioning ranges and parameters for speed, acceleration and deceleration. The NCV70628 acts as a slave on the LIN bus and the master can fetch specific status information like actual position, error flags, etc. from each individual slave node. An integrated sensor-less step-loss detection prevents the positioner from loosing steps and stops the motor when running into stall. This enables silent, yet accurate position calibrations during a referencing run and allows semi-closed loop operation when approaching the mechanical end-stops. The chip is implemented in I3T50 technology, enabling both high voltage analog circuitry and digital functionality on the same chip. The NCV70628 is fully compatible with the automotive voltage requirements. Due to the technology, the device is especially suited for use in applications with fluctuating battery supplies. PRODUCT FEATURES Motordriver Micro-stepping Technology Sensorless Step-loss Detection Peak Current up to 800 mA Low Temperature Boost Current up to 1100 mA Programmable Current Stabilization Phase Fixed Frequency PWM Current-control Automatic Selection of Fast and Slow Decay Mode No External Fly-back Diodes Required Compliant with 14 V Automotive Systems Controller with RAM and OTP Memory Position Controller Configurable Speeds and Acceleration Input to Connect Optional Motion Switch LIN Interface Physical Layer Compliant to LIN rev. 2.2. Data-link Layer Compatible with LIN rev. 2.2 Field-programmable Node Addresses Dynamically Allocated Identifiers Diagnostics and Status Information Protection Overcurrent Protection Open-circuit Detection High Temperature Warning and Management Low Temperature Flag LIN Bus Short-circuit Protection to Supply and Ground Lost LIN Safe Operation Enhanced Under Voltage Management Power Saving Powerdown Supply Current < 150 mA 3.3 V Regulator with Wake-up On LIN Activity EMI Compatibility LIN Bus Integrated Slope Control HV Outputs with Slope Control This is a Pb-Free Device www. onsemi.com See detailed ordering, marking and shipping information in the package dimensions section on page 2 of this data sheet. ORDERING INFORMATION QFN32, 5x5x1 CASE 484AB 32 1

NCV70628 - Micro-stepping Motor Driver

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: NCV70628 - Micro-stepping Motor Driver

© Semiconductor Components Industries, LLC, 2017

December, 2017 − Rev. 01 Publication Order Number:

NCV70628/D

NCV70628

Micro-stepping Motor DriverIntroduction

The NCV70628 is a single−chip micro−stepping motor driver withposition controller and control/diagnostic interface. It is ready to builddedicated mechatronics solutions connected remotely with a LIN master.

The chip receives positioning instructions through the bus andsubsequently drives the motor coils to the desired position. The on−chipposition controller is configurable (OTP or RAM) for different motortypes, positioning ranges and parameters for speed, acceleration anddeceleration. The NCV70628 acts as a slave on the LIN bus and themaster can fetch specific status information like actual position, errorflags, etc. from each individual slave node.

An integrated sensor−less step−loss detection prevents the positionerfrom loosing steps and stops the motor when running into stall. Thisenables silent, yet accurate position calibrations during a referencingrun and allows semi−closed loop operation when approaching themechanical end−stops.

The chip is implemented in I3T50 technology, enabling both highvoltage analog circuitry and digital functionality on the same chip. TheNCV70628 is fully compatible with the automotive voltagerequirements. Due to the technology, the device is especially suited foruse in applications with fluctuating battery supplies.

PRODUCT FEATURESMotordriver• Micro−stepping Technology

• Sensorless Step−loss Detection

• Peak Current up to 800 mA

• Low Temperature Boost Current up to 1100 mA

• Programmable Current Stabilization Phase

• Fixed Frequency PWM Current−control

• Automatic Selection of Fast and Slow Decay Mode

• No External Fly−back Diodes Required

• Compliant with 14�V Automotive Systems

Controller with RAM and OTP Memory• Position Controller

• Configurable Speeds and Acceleration

• Input to Connect Optional Motion Switch

LIN Interface• Physical Layer Compliant to LIN rev. 2.2. Data−link

Layer Compatible with LIN rev. 2.2• Field−programmable Node Addresses

• Dynamically Allocated Identifiers

• Diagnostics and Status Information

Protection• Overcurrent Protection

• Open−circuit Detection

• High Temperature Warning and Management

• Low Temperature Flag

• LIN Bus Short−circuit Protection to Supply and Ground

• Lost LIN Safe Operation

• Enhanced Under Voltage Management

Power Saving• Powerdown Supply Current < 150 �A

• 3.3 V Regulator with Wake−up On LIN Activity

EMI Compatibility• LIN Bus Integrated Slope Control

• HV Outputs with Slope Control

• This is a Pb−Free Device

www.onsemi.com

See detailed ordering, marking and shipping information in thepackage dimensions section on page 2 of this data sheet.

ORDERING INFORMATION

QFN32, 5x5x1CASE 484AB

321

Page 2: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com2

Applications

The NCV70628 is ideally suited for small positioningapplications. Target markets include: automotive (headlampalignment, HVAC, idle control, cruise control), industrialequipment (lighting, fluid control, labeling, process control,XYZ tables, robots...) and building automation (HVAC,

surveillance, satellite dish, renewable energy systems).Suitable applications typically have multiple axes or requiremechatronics solutions with the driver chip mounteddirectly on the motor.

Table 1. ORDERING INFORMATION

Part No. Peak Current End Market/Version Package* Shipping†

NCV70628MW001R2G 800/1100 mA (Note 1) Automotive QFN32with step−cut wettable flank

(Pb−Free)5000 / Tape & Reel

*For additional information on our Pb−Free strategy and soldering details, please download the ON Semiconductor Soldering and MountingTechniques Reference Manual, SOLDERRM/D.

†For information on tape and reel specifications, including part orientation and tape sizes, please refer to our Tape and Reel PackagingSpecifications Brochure, BRD8011/D.

1. The device boost current. This applies for operation under the thermal warning level only.

MARKING DIAGRAM

A = Assembly LocationWL = Wafer LotYY = YearWW = Work WeekG or � = Pb−Free Package

N70628−1AWLYYWW�

1

(Note: Microdot may be in either location)QFN32

Table 2. ABSOLUTE MAXIMUM RATINGS

Parameter Min Max Unit

Vbb, Vhw2, Vswi Supply voltage, hardwired address pin −0.3 +40 (Note 2) V

Vlin Bus input voltage (Note 3) −40 +40 V

TJ Junction temperature range (Note 4) −45 +175 °C

Tstg Storage temperature range (Note 5) −55 +160 °C

Vesd (Note 6) HBM Electrostatic discharge voltage on LIN pin −4 +4 kV

HBM Electrostatic discharge voltage on other pins −2 +2 kV

MM Electrostatic discharge voltage on other pins −200 +200 V

Stresses exceeding those listed in the Maximum Ratings table may damage the device. If any of these limits are exceeded, device functionalityshould not be assumed, damage may occur and reliability may be affected.NOTE: A mission profile (Note 4) is a substantial part of the operation conditions; hence the Customer must contact ON Semiconductor in

order to mutually agree in writing on the allowed missions profile(s) in the application.2. For limited time: VBB <0.5 s, SWI and HW2 pins <1.0 s.3. Maximum allowed voltage between two device pins is 60 V.4. The circuit functionality is not guaranteed outside the Operating junction temperature range.

A mission profile describes the application specific conditions such as, but not limited to, the cumulative operating conditions over life time,the system power dissipation, the system’s environmental conditions, the thermal design of the customer’s system, the modes, in which thedevice is operated by the customer, etc.

5. For limited time up to 100 hours. Otherwise the maximum storage temperature is 85°C.6. HBM according to AEC−Q100: EIA−JESD22−A114−B (100 pF via 1.5 k�) and MM according to AEC−Q100: EIA−JESD22−A115−A.

Table 3. OPERATING RANGES

Parameter Min Max Unit

VBB Supply voltage +5.5 +29 V

TJP Parametric Operating junction temperature range (Note 7) −40 +145 °C

TJF Functional Operating junction temperature range (Note 8) −40 +160 °C

7. The parametric characteristics of the circuit are not guaranteed outside the parametric operating junction temperature range.8. The maximum functional operating temperature range can be limited by thermal shutdown Ttsd.

Page 3: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com3

Figure 1. Block Diagram

MOTXP

MOTXN

MOTYP

MOTYN

GNDVDDVBB

TST

LIN

HW[2:0]

SWI

PWMregulator

X

Motion detection

I−sense

NCV70628

BUSInterface

Controller

ControllerPosition

Vref Tempsense Oscillator

4 MHz

VoltageRegulator

Main ControlRegisters

OTP − ROM

I−sense

Decoder

SinewaveTable

DAC’s

PWMregulator

Y

Figure 2. Pinout Diagram

(Top View)

MXP

VBB

SWI

NC

HW0

NC

2

3

4

1

6

7

8

5

MX

N

GN

DP

W

29303132 25262728

NC

TST4

TST3

TST2

21

22

23

24

19

20

17

18

HW

1

VD

D

GN

D

TS

T1

LIN

HW

2

GN

DL

GN

DL

10 11 129 14 15 1613

MXP

VBB

GN

DP

W

MX

N

MY

P

MY

P

GN

DP

W

GN

DP

W

MYN

MYN

VBB

VBBNCV70628QFN32 5x5

Page 4: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com4

Table 4. PIN DESCRIPTIONS − QFN PACKAGE

Pin No. Pin Name Pin Description

1, 2 MXP Positive end of phase X coil

3, 4, 21, 22 VBB Battery voltage supply

5, 7, 20 NC Not used

6 SWI Switch input

8 HW0 Bit 0 of LIN−ADDTo be tied to GND or VDD

9 HW1 Bit 1 of LIN−ADD

10 VDD Internal supply (needs external decoupling capacitor)

11 GND Ground

12 TST1 Test pin (to be tied to ground in normal operation)

13 LIN LIN−bus connection

14, 15 GNDL Ground

16 HW2 Bit 2 LIN−ADD

17 TST2 Test pin (to be tied to ground in normal operation)

18 TST3 Test pin (to be tied to ground in normal operation)

19 TST4 Test pin (to be tied to ground in normal operation)

23, 24 MYN Negative end of phase Y coil

25, 26, 31, 32 GNDPW Ground

27, 28 MYP Positive end of phase Y coil

29, 30 MXN Negative end of phase X coil

Package Thermal Resistance

The NCV70628 is available in thermally optimizedQFN32 package. For the optimizations, the package has anexposed thermal pad which has to be soldered to the PCBground plane. The ground plane needs thermal vias to

conduct the heat to the bottom layer. Figure 3 givesexamples for good power distribution solutions.

The thermal resistances are presented in Table 5: Thermalresistance.

Table 5. THERMAL RESISTANCE

Characteristics Package Symbol Min Typ Max Unit

Thermal Resistance, Junction−to−Exposed Pad (Note 9) QFN32 R�JP − 14 − K/W

9. Also includes typical solder thickness under the Exposed Pad (EP).

Figure 3. Example of QFN32 PCB Ground Plane Layout. Preferred layout at top and bottomconnected with through−hole filled vias

Page 5: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com5

DC Parameters

The DC parameters are guaranteed over junction temperature from −40 to 145°C and VBB in the operating range from 5.5to 29 V, unless otherwise specified. Convention: currents flowing into the circuit are defined as positive.

Table 6. DC PARAMETERS

Symbol Pin(s) Parameter Test Conditions Min Typ Max Unit

MOTORDRIVER

IMS-

max,Peak

MOTXPMOTXNMOTYPMOTYN

Max current through motorcoil in normal operation

VBB = 14 V 800 mA

IMS-

max,RMS

Max rms current throughcoil in normal operation

VBB = 14 V 570 mA

IMSabs Absolute error on coilcurrent (Note 10)

VBB = 14 V, Tj =145°C −10 10 %

IMSrel Matching of X & Ycoil currents

VBB = 14 V −7 0 7 %

IMS-

boost_Peak

Max peak current duringbooster function

VBB = 14 V, T < Ttw 1100 mA

RDS(on) On resistance of High side+ Low side Driver at IMSmax

Tj ≤ 25°C 1.8 �

Tj = 145°C 2.4 �

LIN TRANSMITTER (Note 21)

Ibus_off LIN Dominant state, driver off Vbus = 0 V, VBB = 7 V & 18 V −1 mA

Ibus_off Recessive state, driver off Vbus = Vbat, VBB = 7 V & 18 V 10 �A

Ibus_off Recessive state, driver off VBB = 0 V (Note 10) 10 �A

Ibus_lim Current limitation VBB = 7 V & 18 V 40 75 200 mA

Ibus_no_gnd Control unit disconnectedfrom GND

VBB = GND = 18 V,Vbus = 0 & 18 V

−1 1 mA

Ibus_no_bat Vbat disconnected VBB = GND = 0 V,Vbus = 0 & 18 V

100 �A

CLIN Capacitance on the pin 20 30 pF

Rslave Pullup resistance VBB = 7 V & 18 V 20 30 47 k�

LIN RECEIVER (Note 21)

Vbus_dom LIN Receiver dominant state VBB = 7 V & 18 V 0 0.4 * VBB V

Vbus_rec Receiver recessive state VBB = 7 V & 18 V 0.6 * VBB VBB V

Vbus_hys Receiver hysteresis(Note 11)

VBB = 7 V & 18 V 0.05 * VBB 0.175 * VBB V

Vrec_cnt Receiver center voltage(Note 12)

VBB = 7 V & 18 V 0.475 * VBB 0.5 * VBB 0.525 * VBB V

THERMAL WARNING & SHUTDOWN

Ttw Thermal warning (Notes 13 and 14) 150 157 165 °C

Ttsd Thermal shutdown (Note 15) Ttw + 10 °C

Tlow Low temperature warning (Note 15) Ttw − 157 °C

10.Tested in production for 800 mA, 400 mA, 200 mA and 100 mA current settings for both X and Y coil.11. Vbus_hys = Vth_rec − Vth_dom12.Vrec_cnt = 1/2*(Vth_dom + Vth_rec), Vth_dom: receiver threshold of the recessive to dominant LIN bus edge,

Vth_rec: receiver threshold of the dominant to recessive LIN bus edge13.Parameter guaranteed by trimming relevant OTPs in production.14.No more than 100 cumulated hours in life time above Tw.15.Thermal shutdown and low temperature warning are derived from thermal warning. Guaranteed by design.16.A buffer capacitor of minimum 100 �F is needed between VBB and GND. Short connections to the power supply are recommended.17.Typical value is valid for the junction temperature < 130°C18.Pin VDD must not be used for any external supply19.The RAM content will not be altered above this voltage.20.External resistance value seen from pin SWI or HW2, including 1 k� series resistor. For the switch OPEN, the maximum allowed leakage

current is represented by a minimum resistance seen from the pin.21.While LIN is only specified for operation above 7 V VBB, the device can operate LIN at lower voltages down to UV2 voltage level. Under

these conditions the LIN specific parameters are not guaranteed.

Page 6: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com6

Table 6. DC PARAMETERS

Symbol UnitMaxTypMinTest ConditionsParameterPin(s)

SUPPLY AND VOLTAGE REGULATOR

VbbOTP VBB Supply voltage for OTP zapping (Note 16) 14.0 18.0 V

UV2 Stop voltage low threshold 5.48 5.90 6.32 V

UV3 Decelerated stop voltagelow threshold

UV3Thr[2:0] = 000 5.48 5.90 6.32 V

UV3Thr[2:0] = 001 5.86 6.30 6.74 V

UV3Thr[2:0] = 010 6.23 6.70 7.17 V

UV3Thr[2:0] = 011 6.60 7.10 7.60 V

UV3 VBB Decelerated stop voltagelow threshold

UV3Thr[2:0] = 100 6.97 7.50 8.03 V

UV3Thr[2:0] = 101 7.34 7.90 8.46 V

UV3Thr[2:0] = 110 7.71 8.30 8.89 V

UV3Thr[2:0] = 111 8.09 8.70 9.31 V

UV1 VBB Stop voltage high threshold,

Ratio metric coupled toUV3Thr[2:0].

UV3Thr[2:0] = 000 6.18 6.62 7.06 V

UV3Thr[2:0] = 001 6.60 7.07 7.54 V

UV3Thr[2:0] = 010 7.02 7.52 8.01 V

UV3Thr[2:0] = 011 7.44 7.97 8.49 V

UV3Thr[2:0] = 100 7.86 8.41 8.97 V

UV3Thr[2:0] = 101 8.28 8.86 9.45 V

UV3Thr[2:0] = 110 8.70 9.31 9.93 V

UV3Thr[2:0] = 111 9.12 9.76 10.41 V

Ibat Total current consumption Unloaded outputs, VBB = 29 V 3.50 10.0 mA

Ibat_s Sleep mode currentconsumption (Note 17)

VBB = 5.5 V & 18 V 65 100 �A

VDD VDD Regulated internal supply(Note 18)

5.5 V < VBB < 29 V 3.0 3.3 3.6 V

Digital supply reset level @power down (Note 19)

2.85 V

IddLim Current limitation Pin shorted to groundVBB = 14 V

80 mA

SWITCH INPUT AND HARDWIRE ADDRESS INPUT

Rt_OFF SWIHW2

Switch OPEN resistance (Note 20) 10 k�

Rt_ON Switch ON resistance(Note 20)

Switch to GND or VBB 1.9 k�

Vbb_sw VBB range for guaranteedoperation of SWI and HW2

5.5 29 V

Ilim_sw Current limitation Short to GND or Vbat VBB = 29 V 20 30 45 mA

HARDWIRED ADDRESS INPUTS AND TEST PIN

Vihigh HW0HW1TST

Input level high VBB = 14 V 0.75*VDD V

Vilow Input level low VBB = 14 V 0.25*VDD V

HWhyst Hysteresis VBB = 14 V 0.3*VDD 0.5*VDD V

10.Tested in production for 800 mA, 400 mA, 200 mA and 100 mA current settings for both X and Y coil.11. Vbus_hys = Vth_rec − Vth_dom12.Vrec_cnt = 1/2*(Vth_dom + Vth_rec), Vth_dom: receiver threshold of the recessive to dominant LIN bus edge,

Vth_rec: receiver threshold of the dominant to recessive LIN bus edge13.Parameter guaranteed by trimming relevant OTPs in production.14.No more than 100 cumulated hours in life time above Tw.15.Thermal shutdown and low temperature warning are derived from thermal warning. Guaranteed by design.16.A buffer capacitor of minimum 100 �F is needed between VBB and GND. Short connections to the power supply are recommended.17.Typical value is valid for the junction temperature < 130°C18.Pin VDD must not be used for any external supply19.The RAM content will not be altered above this voltage.20.External resistance value seen from pin SWI or HW2, including 1 k� series resistor. For the switch OPEN, the maximum allowed leakage

current is represented by a minimum resistance seen from the pin.21.While LIN is only specified for operation above 7 V VBB, the device can operate LIN at lower voltages down to UV2 voltage level. Under

these conditions the LIN specific parameters are not guaranteed.

Page 7: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com7

AC Parameters

The AC parameters are guaranteed over junction temperature from −40 to 145°C and VBB in the operating range from 5.5 to 29 V,unless otherwise specified. The LIN transmitter and receiver physical layer parameters are compliant to LIN rev. 2.x.

Table 7. AC PARAMETERS

Symbol Pin(s) Parameter Test Conditions Min Typ Max Unit

POWERUP

Tpu Power−up time Guaranteed by design 10 ms

INTERNAL OSCILLATOR

fosc Frequency of internal oscillator VBB = 14 V 3.6 4.0 4.4 MHz

LIN TRANSMITTER CHARACTERISTICS ACCORDING TO LIN V2.x

D1 LIN Duty cycle 1 = tBus_rec(min) /(2 x tBit); See Figure 4

THRec(max) = 0.744 x VBBTHDom(max) = 0.581 x VBB;

VBB = 7.0 V...18 V;tBit = 50 �s

0.396

D2 Duty cycle 2 = tBus_rec(max) /(2 x tBit); See Figure 4

THRec(min) = 0.422 x VBBTHDom(min) = 0.284 x VBB;

VBB = 7.6 V...18 V;tBit = 50 �s

0.581

D3 Duty cycle 3 = tBus_rec(min) /(2 x tBit)

THRec(max) = 0.778 x VBBTHDom(max) = 0.616 x VBB;

VBB = 7.0 V...18 V;tBit = 96 �s

0.417

D4 Duty cycle 4 = tBus_rec(max) /(2 x tBit)

THRec(min) = 0.389 x VBBTHDom(min) = 0.251 x VBB;

VBB = 7.6 V...18 V;tBit = 96 �s

0.590

LIN RECEIVER CHARACTERISTICS ACCORDING TO LIN V2.x

trx_pdr LIN Propagation delay bus dominantto RxD = low

VBB = 7.0 V & 18 V;See Figure 4

6 �s

trx_pdf Propagation delay bus recessiveto RxD = high

VBB = 7.0 V & 18 V;See Figure 4

6 �s

trx_sym Symmetry of receiver propagationdelay

trx_pdr − trx_pdf −2 +2 �s

SWITCH INPUT AND HARDWIRE ADDRESS INPUT

Tsw SWIHW2

Scan pulse period (Note 22) VBB = 14 V 1024 �s

Tsw_on Scan pulse duration (Note 22) VBB = 14 V 128 �s

22.Derived from the internal oscillator23.See SetMotorParam and PWM Regulator

Page 8: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com8

Table 7. AC PARAMETERS

Symbol UnitMaxTypMinTest ConditionsParameterPin(s)

MOTORDRIVER

Fpwm MOTx PWM frequency (Note 22) PWMfreq = 0 (Note 23) 20.6 22.8 25.0 kHz

PWMfreq = 1 (Note 23) 41.2 45.6 50.0 kHz

Fjit_depth PWM jitter modulation depth PWMJen = 1 (Note 23) 10 %

Tbrise Turn−on transient time Between 10% and 90% 300 ns

Tbfall Turn−off transient time 300 ns

Tstab Run current stabilization time(Note 22)

TStab[2:0] = 000 14.4 16 17.6 ms

TStab[2:0] = 001 19.8 22 24.2 ms

TStab[2:0] = 010 25.2 28 30.8 ms

TStab[2:0] = 011 28.8 32 35.2 ms

TStab[2:0] = 100 34.2 38 41.8 ms

TStab[2:0] = 101 39.6 44 48.4 ms

TStab[2:0] = 110 45 50 55 ms

TStab[2:0] = 111 50.4 56 61.6 ms

SUPPLY

TUV1_deb VBB UV1 level debounce time (Note 22)

UV3debT = 0 256 �s

UV3debT = 1 2000 �s

22.Derived from the internal oscillator23.See SetMotorParam and PWM Regulator

Figure 4. Timing Diagram for AC Characteristics According to LIN 2.x

LIN

t

50%

50%

Thresholdsreceiver 1

Thresholdsreceiver 2

RxD

TxD

(receiver 2)

t

t

tBITtBIT

THRec(max)THDom(max)

THRec(min)THDom(min)

tBUS_dom(max) tBUS_rec(min)

tBUS_dom(min) tBUS_rec(max)

trx_pdrtrx_pdf

Page 9: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com9

Figure 5. Typical Application

NCV70628

VBAT

GND

9MOTXP

LIN

100 nF

LIN bus

2,7 nF

MOTXN

MOTYP

MOTYN

4VDD 21

SWI

16

HW0

HW1

HW2

1,2

M

29,30

27,28

23,24

6

TST1...TST4

10

8

1312 25 26 32

100 nF 100 nF

2,7 nF

1 k

Connectto VBAT

or GND

Connectto GND

1 k

100 uF

VDR 27V

C1

C2

C4C7C8

C91 �F

3117 18 19

VBB

C3

EMC capacitors 1nF max.

C10

R1

R2

D1

X1 11 14 15

3 22

Table 8. APPLICATION DIAGRAM COMPONENT VALUES

Comp Function Typ. Value Tol. Units Voltage / Power Dissipation

R1 Switch inout protection 1 ±5% k� 250 mW

R2 Addressing protection 1 ±5% k� 250 mW

C1 Switch inout filter 2.7 ±20% nF 50 V

C2 Addressing inout filter 2.7 ±20% nF 50 V

C3 High voltage supply decoupling 100 ±20% nF 50 V

C4 High voltage supply decoupling 100 ±20% nF 50 V

C6 Low voltage supply decoupling 100 ±20% nF 10 V

C7 High voltage supply filter 100 ±20% �F 50 V

C8 High voltage supply decoupling 100 ±20% nF 50 V

C9 Low voltage supply stabilization 1 ±20% �F 10 V

C10 EMC filtering capacitors 1 ±20% nF 50 V

NOTES: All resistors are ± 5%, 1/4 W C1, C2 minimum value is 2.7 nF, maximum value is 10 nFDepending on the application, the ESR value and working voltage of C7 must be carefully chosenC3 and C4 must be close to pins VBB and coupled GND directlyC9 must be a ceramic capacitor to assure low ESRC10 is placed for system level EMC reasons; value depends on EMC requirements of the application, recommended 200 pFX1 is placed for system level EMC and ESD reasons. Use e.g. BLM18AG601SN1D 600 OHM or resistor 50 �

Page 10: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com10

Positioning Parameters

Stepping Modes

One of four possible stepping modes can be programmed:• Half−stepping

• 1/4 micro−stepping

• 1/8 micro−stepping

• 1/16 micro−stepping

Maximum VelocityFor each stepping mode, the maximum velocity Vmax can

be programmed to 16 possible values given in the tablebelow.

The accuracy of Vmax is derived from the internaloscillator. Under special circumstances it is possible tochange the Vmax parameter while a motion is ongoing. All16 entries for the Vmax parameter are divided into fourgroups. When changing Vmax during a motion theapplication must take care that the new Vmax parameterstays within the same group.

Table 9. MAXIMUM VELOCITY SELECTION TABLE

Vmax Index

Vmax(full step/s) Group

Stepping Mode

Hex DecHalf−stepping(half−step/s)

1/4th

Micro−stepping(micro−step/s)

1/8th

Micro−stepping(micro−step/s)

1/16th

Micro−stepping(micro−step/s)

0 0 99 A 197 395 790 1579

1 1 136 B 273 546 1091 2182

2 2 167 334 668 1335 2670

3 3 197 395 790 1579 3159

4 4 213 425 851 1701 3403

5 5 228 456 912 1823 3647

6 6 243 486 973 1945 3891

7 7 273 C 546 1091 2182 4364

8 8 303 607 1213 2426 4852

9 9 334 668 1335 2670 5341

A 10 364 729 1457 2914 5829

B 11 395 790 1579 3159 6317

C 12 456 912 1823 3647 7294

D 13 546 D 1091 2182 4364 8728

E 14 729 1457 2914 5829 11658

F 15 973 1945 3891 7782 15564

Page 11: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com11

Minimum VelocityOnce the maximum velocity is chosen, 16 possible values

can be programmed for the minimum velocity Vmin. Thetable below provides the obtainable values in full−step/s.

The accuracy of Vmin is derived from the internal oscillator.It is not recommended to change the Vmin while a motionis ongoing.

Table 10. OBTAINABLE VALUES IN FULL−STEP/s FOR THE MINIMUM VELOCITY

VminIndex

VmaxFactor

Vmax (Full−step/s)

A B C D

Hex Dec 99 136 167 197 213 228 243 273 303 334 364 395 456 546 729 973

0 0 1 99 136 167 197 213 228 243 273 303 334 364 395 456 546 729 973

1 1 1/32 3 4 5 6 6 7 7 8 8 10 10 11 13 15 19 27

2 2 2/32 6 8 10 11 12 13 14 15 17 19 21 23 27 31 42 57

3 3 3/32 9 12 15 18 19 21 22 25 27 31 32 36 42 50 65 88

4 4 4/32 12 16 20 24 26 28 30 32 36 40 44 48 55 65 88 118

5 5 5/32 15 21 26 31 32 35 37 42 46 51 55 61 71 84 111 149

6 6 6/32 18 25 31 36 39 42 45 50 55 61 67 72 84 99 134 179

7 7 7/32 21 30 36 43 46 50 52 59 65 72 78 86 99 118 156 210

8 8 8/32 24 33 41 49 52 56 60 67 74 82 90 97 113 134 179 240

9 9 9/32 28 38 47 55 59 64 68 76 84 93 101 111 128 153 202 271

A 10 10/32 31 42 51 61 66 71 75 84 93 103 113 122 141 168 225 301

B 11 11/32 34 47 57 68 72 78 83 93 103 114 124 135 156 187 248 332

C 12 12/32 37 51 62 73 79 85 91 101 113 124 135 147 170 202 271 362

D 13 13/32 40 55 68 80 86 93 98 111 122 135 147 160 185 221 294 393

E 14 14/32 43 59 72 86 93 99 106 118 132 145 158 172 198 237 317 423

F 15 15/32 46 64 78 93 99 107 113 128 141 156 170 185 214 256 340 454

NOTES: The Vmax factor is an approximation.In case of motion without acceleration (AccShape = 1) the length of the steps = 1/Vmin. In case of accelerated motion(AccShape = 0) the length of the first step is shorter than 1/Vmin depending of Vmin, Vmax and Acc.

Page 12: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com12

Acceleration and DecelerationSixteen possible values can be programmed for Acc

(acceleration and deceleration between Vmin and Vmax).The table below provides the obtainable values infull−step/s2. One observes restrictions for somecombinations of acceleration index and maximum speed. It

is not recommended to change the Acc value while a motionis ongoing.

The accuracy of Acc is derived from the internaloscillator.

Table 11. ACCELERATION AND DECELERATION SELECTION TABLE

Vmax (FS/s) → 99 136 167 197 213 228 243 273 303 334 364 395 456 546 729 973

↓ Acc Index

Acceleration (Full−step/s2)Hex Dec

0 0 49 106 473

1 1 218 735

2 2 1004

3 3 3609

4 4 6228

5 5 8848

6 6 11409

7 7 13970

8 8 16531

9 9 14785 19092

A 10 21886

B 11 24447

C 12 27008

D 13 29570

E 14 29570 34925

F 15 40047

The formula to compute the number of equivalentfull−steps during acceleration phase is:

Nstep �Vmax2

� Vmin2

2 � Acc

PositioningThe position programmed in commands SetPosition

is given as a number of (micro−) steps. According to thechosen stepping mode, the internal position words is aligned

as described in the table below. The Secure Position is givenin a number of two Full Steps. The position data is alignedautomatically.

Table 12. POSITION WORD ALIGNMENT

Stepping Mode Position Word: Pos[15:0] Shift

1/16th S B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 LSB No shift

1/8th S B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 LSB 0 1−bit left ⇔ ×2

1/4th S B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 LSB 0 0 2−bit left ⇔ ×4

Half−stepping S B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 LSB 0 0 0 3−bit left ⇔ ×8

Position Short S S S B9 B8 B7 B6 B5 B4 B3 B2 B1 LSB 0 0 0 No shift

Secure Position S B9 B8 B7 B6 B5 B4 B3 B2 B1 LSB 0 0 0 0 0 No shift

NOTES: LSB: Least Significant BitS: Sign bit

Page 13: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com13

Position RangesA position is coded by using the binary two’s complement format. According to the positioning commands used and to the

chosen stepping mode, the position range will be as shown in the following table.

Table 13. POSITION RANGE

Command Stepping Mode Position Range Full Range ExcursionNumber of Bits in

micro stepping

SetPosition Half−stepping −4096 to +4095 8192 half−steps 13

1/4th micro−stepping −8192 to +8191 16384 micro−steps 14

1/8th micro−stepping −16384 to +16383 32768 micro−steps 15

1/16th micro−stepping −32768 to +32767 65536 micro−steps 16

When using the command SetPosition, althoughcoded on 16 bits, the position word is shifted to the left bya certain number of bits, according to the stepping mode.

Secure PositionA secure position can be programmed. It is mapped to the

positioned full range but coded in 11−bits, thus having a lowerresolution than normal positions, as shown in the followingtable. See also command GotoSecurePosition andLIN lost behavior.

Table 14. SECURE POSITION

Stepping Mode Secure Position Resolution

Half−stepping 4 half−steps

1/4th micro−stepping 8 micro−steps (1/4th)

1/8th micro−stepping 16 micro−steps (1/8th)

1/16th micro−stepping 32 micro−steps (1/16th)

ImportantNOTES: For the FailSafe functionality and SetDualPosition command, the secure position is disabled in case the programmed value has

the code “10000000000” (0x400 or most negative position). For the GotoSecurePosition command there is no disabling possible.By receiving this command the secure positioning is always executed, even when the secure position has the value 0x400.

The resolution of the secure position is limited to 9 bit at start−up. The OTP register is copied in RAM as illustrated below. TheRAM bits SecPos1 and SecPos0 are set to 0.

SecPos10 SecPos9 SecPos8 SecPos2 SecPos1 SecPos0

SecPos10 SecPos9 SecPos8 SecPos2 FailSafe SleepEn

RAM

OTP

ShaftA shaft bit, which can be programmed in OTP or with

command SetMotorParam, defines whether a positivemotion is a clockwise (CW) or counter−clockwise rotation(CCW) (an outer or an inner motion for linear actuators):

• Shaft = 0 ⇒ MOTXP is used as positive pin of the Xcoil, while MOTXN is the negative one.

• Shaft = 1 ⇒ opposite situation

Page 14: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com14

Structural Description

Refer to the Block Diagram in Figure 1.

Stepper MotordriverThe Motordriver receives the control signals from the

control logic. The main features are:• Two H−bridges, designed to drive a stepper motor with

two separated coils. Each coil (X and Y) is driven byone H−bridge, and the driver controls the currentsflowing through the coils. The rotational position of therotor, in unloaded condition, is defined by the ratio ofcurrent flowing in X and Y. The torque of the steppermotor when unloaded is controlled by the magnitude ofthe currents in X and Y.

• The control block for the H−bridges, including thePWM control, the synchronous rectification and theinternal current sensing circuitry.

• Two pre−scale 4−bit DAC’s to set the maximummagnitude of the current through X and Y.

• Two DAC’s to set the correct current ratio through Xand Y.

• A boost function that increases the current during coldconditions.Battery voltage monitoring is also performed by this

block, which provides the required information to thecontrol logic part. The same applies for detection andreporting of an electrical problem that could occur on thecoils.

Control Logic (Position Controller and Main Control)The control logic block stores the information provided by

the LIN interface (in a RAM or an OTP memory) anddigitally controls the positioning of the stepper motor interms of speed and acceleration, by feeding the right signalsto the motor driver state machine.

It will take into account the successive positioningcommands to properly initiate or stop the stepper motor inorder to reach the set point in a minimum time.

It also receives feedback from the motor driver part inorder to manage possible problems and decide on internalactions and reporting to the LIN interface.

Motion DetectionMotion detection is based on the back−emf generated

internally in the running motor. When the motor is blocked,e.g. when it hits the end position, the velocity, and as a resultalso the generated back−emf, is disturbed. The NCV70628senses the back−emf and compares the value with anindependent threshold level. If the back−emf becomes lowerthan the threshold, the running motor is stopped.

LIN InterfaceThe LIN interface implements the physical layer and the

MAC and LLC layers according to the OSI reference model.It provides and gets information to and from the control logicblock, in order to drive the stepper motor, to configure theway this motor must be driven, or to get information such asactual position or diagnosis (temperature, battery voltage,electrical status...) and pass it to the LIN master node.

MiscellaneousThe NCV70628 also contains the following:

• An internal oscillator, needed for the LIN protocolhandler as well as the control logic and the PWMcontrol of the motor driver.

• An internal trimmed voltage source for precisereferencing.

• A protection block featuring a thermal shutdown and apower−on−reset circuit.

• A 3.3 V regulator (from the battery supply) to supplythe internal logic circuitry.

Functions Description

This chapter describes the following functional blocks inmore detail:• Position controller

• Main control and register, OTP memory + ROM

• Motor driverThe Motion detection and LIN controller are discussed in

separate chapters.

Page 15: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com15

Position Controller

Positioning and Motion ControlA positioning command will produce a motion as

illustrated in Figure 6. A motion starts with an accelerationphase from minimum velocity (Vmin) to maximum velocity(Vmax) and ends with a symmetrical deceleration. This is

defined by the control logic according to the positionrequired by the application and the parameters programmedby the application during the configuration phase. Thecurrent in the coils is also programmable.

00000000000000000000

00000000000000000000

Velocity

Vmax

Vmin

Accelerationrange

Decelerationrange

Pstart PstopP=0

Position

Zero SpeedHold Current

Pmin Pmax

Zero SpeedHold Current

Figure 6. Position and Motion Control

Table 15. POSITION RELATED PARAMETERS

Parameter Reference

Pmax – Pmin See Positioning

Zero Speed Hold Current See Ihold

Maximum Current See Irun

Acceleration and Deceleration See Acceleration and Deceleration

Vmin See Minimum Velocity

Vmax See Maximum Velocity

Stabilization Time See Stabilization Time

Different positioning examples are shown in the next table.

Page 16: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com16

Table 16. POSITIONING EXAMPLES

Short motion. Velocity

time

New positioning command in same dir-ection, shorter or longer, while a motionis running at maximum velocity.

Velocity

time

New positioning command in same dir-ection while in deceleration phase(Note 24)Note: there is no wait time between thedeceleration phase and the new acceler-ation phase.

Velocity

time

New positioning command in reversedirection while motion is running at max-imum velocity.

Velocity

time

New positioning command in reversedirection while in deceleration phase.

Velocity

time

New velocity Vmax programming whilemotion is running.

Velocity

tim-e

24.Reaching the end position is always guaranteed, however velocity rounding errors might occur. The device is automatically compensatingthe position error. The velocity rounding error will be removed at Vmin (e.g. at end of acceleration or when AccShape=1) by a correctivemotion action.

Dual PositioningA SetDualPosition command allows the user to

perform a positioning using two different velocities. The firstmotion is done with the specified Vmin and Vmax velocitiesin the SetDualPosition command, with the acceleration(deceleration) parameter already in RAM, to a positionPos1[15:0] also specified in SetDualPosition.

Then a second relative motion to a physical positionPos1[15:0] + Pos2[15:0] is done at the specifiedVmin velocity in the SetDualPosition command (no

acceleration). Once the second motion is achieved, theActPos register is reset to zero, whereas TagPos registeris cleared (or set to SecPos value when Secure Position isenabled).

When the Secure position is enabled, after the dualpositioning, the secure positioning is executed. The figurebelow gives a detailed overview of the dual positioningfunction. After the dual positioning is executed an internalflag is set to indicate the NCV70628 is referenced.

Page 17: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com17

Vmax

TStab

Vmin

TStab

Assume:

First Position = 300Second Position = 5Secure position = 50

Pos: xx ActPos: 300 ActPos: 0

ResetPos

ActPos: 0

4

ResetPos

ActPos: 50

During one Vmin time theActPos is 0

Secure

(if enabled)

second movement

first movement

Profile:

Motion status:

Position:

0 00

xx

5 steps

When Stall Detection is enabled, thismovement is stopped when a stall is

detected.

0 0 1

0

50

A new motion willstart only after Tstab

Figure 7. Dual Position

postioning

≠ 0≠ 0

0 1

≠ 0

Remark: This operation cannot be interrupted or influenced by any further command unless the occurrence of the conditionsdriving to a motor shutdown or by a HardStop command. Sending a SetDualPosition command while a motion isalready ongoing is not recommended.25.The priority encoder is describing the management of states and commands.26.A DualPosition sequence starts by setting TagPos buffer register to SecPos value, provided secure position is enabled otherwise TagPos

is reset to zero. If a SetPosition command is issued during a DualPosition sequence, it will be kept in the position buffer memory and executedafterwards. This applies also for the commands Sleep, SetPosParam and GotoSecurePosition.

27.Commands such as GetActualPos or GetFullStatus will be executed while a Dual Positioning is running. This applies also for all LIN standarddiagnostic and configuration frames.

28.The Pos1, Pos2, Vmax and Vmin values programmed in a SetDualPosition command apply only for this sequence. All other motionparameters are used from the RAM registers (programmed for instance by a former SetMotorParam command). After the DualPositionmotion is completed, the former Vmin and Vmax become active again.

29.Commands ResetPosition, SetDualPosition, and SoftStop will be ignored while a DualPosition sequence is ongoing, and will not be executedafterwards.

30.Recommendation: a SetMotorParam command should not be sent during a SetDualPosition sequence: all the motion parametersdefined in the command, except Vmin and Vmax, become active immediately.

31.When during the Dual positioning an under voltage UV2 or UV3 happens, the motor will stop (hardstop for UV2 or softstop for UV3). Thedevice will go into the under−voltage and autarkic operational handler function (refer to battery voltage management and autarkic function).Especially for the dual positioning it should be stated that after passing the UV1 level the motion is continued with the parameters Vmax,Vmin and Acceleration from RAM registers and not from the SetDualPosition command.

Position PeriodicityDepending on the stepping mode the position can range

from −4096 to +4095 in half−step to −32768 to +32767 in1/16th micro−stepping mode. One can project all thesepositions lying on a circle. When executing the commandSetPosition, the position controller will set themovement direction in such a way that the traveled distanceis minimal.

The figure below illustrates that the moving directiongoing from ActPos = +30000 to TagPos = –30000 isclockwise.

If a counter clockwise motion is required in this example,several consecutive SetPosition commands can be used. Figure 8. Motion Direction is Function of the

Difference between ActPos and TagPos

Page 18: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com18

Hardwired Address HW2In the drawing below, a simplified schematic diagram is

shown of the HW2 comparator circuit.The HW2 pin is sensed via 2 switches. The DriveHS and

DriveLS control lines are alternatively closing the top andbottom switch connecting HW2 pin with a current to resistorconverter. Closing STOP (DriveHS = 1) will sense a current

to GND. In that case the top I � R converter output is low,via the closed passing switch SPASS_T this signal is fed to the“R” comparator which output HW2_Cmp is high. Closingbottom switch SBOT (DriveLS = 1) will sense a current toVBAT. The corresponding I � R converter output is low andvia SPASS_B fed to the comparator. The output HW2_Cmpwill be high.

1 2 3

2 = R2VBAT

3 = OPEN

1 = R2GND COMP

I/R

I/R

LOGIC

High

Low

Float

DriveHS

DriveLS

HW2_Cmp

HW2

State

Debouncer

Debouncer

64 ms

1 k

Figure 9.

32 �s

SPASS_T

STOP

SBOT

SPASS_B

“R”−Comp

Rth

3 cases can be distinguished (see also Figure 9 above):• HW2 is connected to ground: R2GND or drawing 1

• HW2 is connected to VBAT: R2VBAT or drawing 2

• HW2 is floating: OPEN or drawing 3

Page 19: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com19

Table 17. STATE DIAGRAM OF THE HW2 COMPARATOR

Previous State DriveLS DriveHS HW2_Cmp New State Condition Drawing

Float 1 0 0 Float R2GND or OPEN 1 or 3

Float 1 0 1 High R2VBAT 2

Float 0 1 0 Float R2VBAT or OPEN 2 or 3

Float 0 1 1 Low R2GND 1

Low 1 0 0 Low R2GND or OPEN 1 or 3

Low 1 0 1 High R2VBAT 2

Low 0 1 0 Float R2VBAT or OPEN 2 or 3

Low 0 1 1 Low R2GND 1

High 1 0 0 Float R2GND or OPEN 1 or 3

High 1 0 1 High R2VBAT 2

High 0 1 0 High R2VBAT or OPEN 2 or 3

High 0 1 1 Low R2GND 1

The logic is controlling the correct sequence in closing theswitches and in interpreting the 32 �s debouncedHW2_Cmp output accordingly. The output of this smallstate−machine is corresponding to:• High or address = 1

• Low or address = 0

• Floating

As illustrated in the table above (Table 17), the state isdepending on the previous state, the condition of the 2switch controls (DriveLS and DriveHS) and the output ofHW2_Cmp. Figure 10 shows an example of a practical casewhere a connection to VBAT is interrupted.

t

DriveLS

t

t

t

DriveHS

HW2_Cmp

State

t

Condition

R2VBAT OPEN

Hig

h

Flo

at

R2VBAT R2GND

Hig

h

Low

t

Floa

t

Figure 10. Timing Diagram Showing the Change in State for HW2 Comparator

“R”−Comp

Rth

Tsw_on = 128 �s

Tsw = 1024 �s

Page 20: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com20

R2VBATA resistor is connected between VBAT and HW2. Every

1024��s SBOT is closed and a current is sensed. The outputof the I ⇒ R converter is low and the HW2_Cmp output ishigh. Assuming the previous state was floating, the internallogic will interpret this as a change of state and the new statewill be high (see also Table 17). The next time SBOT is closedthe same conditions are observed. The previous state washigh so based on Table 17 the new state remains unchanged.This high state will be interpreted as HW2 address = 1.

OPENIn case the HW2 connection is lost (broken wire, bad

contact in connector) the next time SBOT is closed, this willbe sensed. There will be no current, the output of thecorresponding I ⇒ R converter is high and the HW2_Cmpwill be low. The previous state was high. Based in Table 17one can see that the state changes to float. This will trigger

a motion to secure position after a debounce time of 64�ms,which prevents false triggering in case of micro−interruptions of the power supply.

R2GNDIf a resistor is connected between HW2 and the GND, a

current is sensed every 1024 �s when STOP is closed. Theoutput of the top I ⇒ R converter is low and as a result theHW2_Cmp output switches to high. Again based on thestated diagram in Table 17 one can see that the state willchange to Low. This low state will be interpreted as HW2address = 0.

External Switch SWIAs illustrated in Figure 11 the SWI comparator is almost

identical to HW2. The major difference is in the limitednumber of states. Only open or closed is recognized leadingto respectively ESW = 0 and ESW = 1.

COMP

LOGIC

Closed

Open

DriveHS

SWI_Cmp

SWI

1 2

2 = OPEN1 = R2GND

Figure 11. Simplified Schematic Diagram of the SWI Comparator

STOP

SPASS_T

State

32 �s Debouncer

Rth

“R”−Comp

I→R

As illustrated in the drawing above, a change in state isalways synchronized with DriveHS or DriveLS. The samesynchronization is valid for updating the internal positionregister. This means that after every current pulse (or closingof STOP or SBOT) the state of the position switch togetherwith the corresponding position is memorized.

The GetActualPos command reads back the<ActPos> register and the status of ESW. In this way themaster node may get synchronous information about thestate of the switch together with the position of the motor.See Table 18 below.

Table 18. GetActualPos READING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(6)

1 Data 1 ActPos[7:0]

2 Data 2 ActPos[15:8]

3 Data 3 ESW StepLoss ElDef UV TSD TW Tinfo[1:0]

4 Data 4 Motion[2:0] Stall LIN_E UV2 UV3 VddReset

5 Checksum Enhanced Checksum

Page 21: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com21

1

Figure 12. Timing Diagram Showing the Change in States for SWI Comparator

t

t

t

t

t

t

110

ActPos+3ActPos+2ActPos+1ActPos

ActPos

ESW

Tsw_on = 128 �s

Tsw = 1024 �s

SWI_Cmp

DriveHS

SWI closed

120 �s

Rth

“R”−Comp

Main Control and Register, OTP memory + ROM

Power−up PhasePower−up phase of the NCV70628 will not exceed 10 ms.

After this phase, the NCV70628 is in standby mode, readyto receive LIN messages and execute the associatedcommands. After power−up, the registers and flags are in thereset state, while some of them are being loaded with theOTP memory content (see Table 21: RAM Registers).

ResetAfter power−up, or after a reset occurrence (e.g. a

micro−cut on pin VBB has made VDD to go below VddResetlevel), the H−bridges will be in high−impedance mode, andthe registers and flags will be in a predetermined position.This is documented in Table 21: RAM Registers andTable�22: Flags Table.

Soft−stopA soft−stop is an immediate interruption of a motion, but

with a deceleration phase. At the end of this action, theregister <TagPos> is loaded with the value contained inregister <ActPos>, (see Table 21: Ram Registers). Thecircuit is then ready to execute a new positioning command,provided thermal and electrical conditions allow for it.

Sleep ModeWhen entering sleep mode, the stepper−motor can be

driven to its secure position. After which, the circuit is

completely powered down, apart from the LIN receiver,which remains active to detect a dominant state on the bus.In case sleep mode is entered while a motion is ongoing, atransition will occur towards secure position as described inPositioning and Motion Control provided <SecPos> isenabled. Otherwise, <SoftStop> is performed.

Sleep mode can be entered in the following cases:• The circuit receives a LIN go to sleep command (frame

with identifier 0x3C and first data byte containing0x00, as required by LIN specification rev. 2.2 and<SleepEn> bit = 1. See also Sleep in the LINApplication Command section.

• In case the <SleepEn> bit =�1 and the LIN bus remainsinactive (or is lost) during more than 4.46 s, a time−outsignal switches the circuit to sleep mode.

The circuit will return to normal mode if a valid LIN frameis received. During sleep mode the digital part of NCV70628is powered off so all internal registers and LIN relatedsettings are cleared. Pre−load of internal registers fromOTPs is executed after wake−up from sleep mode. For moreinformation see LIN wake−up functionality description.

Thermal Shutdown ModeWhen thermal shutdown occurs, the circuit performs a

<SoftStop> command and goes to motor shutdown mode(see Figure 13: State Diagram Temperature Management).

Page 22: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com22

Temperature ManagementThe NCV70628 monitors temperature by means of two

thresholds and one shutdown level, as illustrated in the statediagram and illustration of Figure 13: State DiagramTemperature Management below. The only condition to

reset flags <TW> and <TSD> (respectively thermal warningand thermal shutdown) is to be at a temperature lower thanTtw and to get the occurrence of a GetStatus or aGetFullStatus LIN frame.

Normal Temp.

T° < Ttw &LIN frame:GetStatus orGetFullStatus

Thermal warning Thermal shutdown

Post thermalwarning

T° > Tlow

Post thermalshutdown 1

−Motor shutdown(motion disabled)

Post thermalshutdown 2

−Motor shutdown(motion disabled)

Low Temp.

T° < Tlow

Figure 13. State Diagram Temperature Management

−<Tinfo> = “01”−<TW> = ‘0’−<TSD> = ‘0’

−<Tinfo> = “00”−<TW> = ‘1’−<TSD> = ‘1’

−<Tinfo> = “00”−<TW> = ‘1’−<TSD> = ‘0’

−<Tinfo> = “00”−<TW> = ‘0’−<TSD> = ‘0’

T° < TtwT° > Ttw

T° > Ttw

T° < Ttw

−<Tinfo> = “10”−<TW> = ‘1’−<TSD> = ‘0’−<I_Boost_ENB> = ‘1’

T° < TtsdT° > Ttsd

T° > Ttsd

T° > Ttw

−<Tinfo> = “10”−<TW> = ‘1’−<TSD> = ‘1’

−<Tinfo> = “11”−<TW> = ‘1’−<TSD> = ‘1’−SoftStop if motion ongoing−Motor shutdown (motion disabled)

T warning level

T shutdown level

T

t

T < Ttw andgetstatus orgetfullstatus

T<tw> bit

T > Ttsd, motorstops andshutdown

T < Ttw andgetstatus orgetfullstatus

T<tsd> bit

I_Boost_ENBforced to ‘1’

Figure 14. Illustration of Thermal Management Situation

Page 23: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com23

Under−Voltage Condition and Autarkic Functionality

Battery Voltage ManagementThe NCV70628 monitors the VBB voltage by means of

two under voltage threshold UV3 and UV2 and oneshutdown level. The only condition to go back to normaloperation is to recover by a VBB voltage higher than UV1.The flags <UV2> and <UV3> can only be cleared by receivingthe header of a GetStatus or a GetFullStatuscommand after the VBB voltage higher than UV1.

The UV3 and UV1 levels are programmable by a LINcommand. There are 8 levels available for the UV3threshold voltage. The UV1 level is ratio metric coupledwith UV3. UV2 has only a fixed threshold level. Refer to theDC parameter table for the different under voltage levels.

When the battery voltage drops below UV3, the <UV3>flag will be set and a Soft Stop is performed to stop themotion. If during this decelerated motion the battery voltagedoes not go under the UV2 level, the NCV70628 will go tostate <StoppedUnder UV1>” and the original TargetPosition (TagPos) is saved while the motor is kept in positionby the Hold current*. As soon as the VBB voltage rises abovethe UV1 level the NCV70628 will continue the motion the(TagPos) and will go to the normal <Stopped> stateafterwards.

When during a motion the battery voltage drops below theUV2 level, the NCV70628 will stop immediately by a HardStop and directly enters the state <HardUnder> followedby <ShutUnder>. The motor is placed in HiZ and theflags <UV2> and <Steploss> are set (see Figure 15).

Note*: In this situation the <Steploss> flag is not set.

Remarks:If VBB voltage drops below the UV2 level while the

NCV70628 is in the motion “stabilization phase”, only the<UV2> flag is set; the <Steploss> flag is not set.

When the NCV70628 is in a stopped states <Stopped> or<StoppedUnder UV1> and the VBB voltage drops belowUV2 level, the device will directly go to the state<ShutUnder>, but does not raise the <Stepploss> flag.

At the UV3 comparator output, there is implemented anunsymmetrical debouncer which will filter immediateactions during unwanted spikes at the battery supply. Fortransitions, when supply voltage VBB drops below UV3level, a 32 �s debouncer is implemented that is derived fromthe internal oscillator. For transitions when supply voltage

VBB rises above UV1 level, the NCV70628 reacts after256 �s debounce time typically (OTP bit UV3debT is notset). This time is increased to 2 ms when OTP bit UV3debTis zapped to “1”. Zapping can be done via the SetOTPparamcommand.

Autarkic FunctionFrom above described states the device can enter the state

<ShutUnder>. When in the <ShutUnder> state, thedevice will perform the Autarkic Function:• If in this state VBB becomes > UV1 within 15 seconds,

the NCV70628 still will resume the motion to the saved(TagPos) and will go to the <Stopped> state afterwards.It accepts updates of the target position by means of thecommands SetPosition,SetPosition2motors, SetPosParam andGotoSecurePosition, even if the <UV2> flag and<Steploss> flags are NOT cleared.

• If however the VBB voltage remains below UV2 levelvoltage level for more than 15 seconds, the device willenter <Shutdown> state and the target position isoverwritten by Actual Position. This state can be exitedonly if VBB is > UV1 voltage level and an incomingcommand GetStatus or GetFullStatus isreceived.

Important Notes:1. In the case of Autarkic positioning, care needs to

be taken because accumulated steploss can cause asignificant deviation between physical and storedactual position.

2. The SetDualPosition command will only beexecuted after clearing the <UV2> and<Steploss> flags.

3. RAM reset occurs when Vdd < VddReset (digitalPower−On−Reset level).

4. The Autarkic function remains active as long asVDD > VddReset.

5. LIN timeout is not being monitored in Autarkicmode in <ShutUnder> state to avoid LIN lostprocedure activation in Autarkic mode or rightafter Vdd > UV1 (LIN communication is disabledwhen Vdd < UV2).

Page 24: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com24

OTP Register

OTP Memory StructureThe table below shows how the parameters to be stored in the OTP memory are located.

Table 19. OTP MEMORY STRUCTURE

Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0x00 TSD2 TSD1 TSD0 IREF4 IREF3 IREF2 IREF1 IREF0

0x01 SecPosA ADM BG4 BG3 BG2 BG1 BG0 TSD3

0x02 AbsThr3 AbsThr2 AbsThr1 AbsThr0 PA3 PA2 PA1 PA0

0x03 Irun3 Irun2 Irun1 Irun0 Ihold3 Ihold2 Ihold1 Ihold0

0x04 Vmax3 Vmax2 Vmax1 Vmax0 Vmin3 Vmin2 Vmin1 Vmin0

0x05 SecPos10 SecPos9 SecPos8 Shaft Acc3 Acc2 Acc1 Acc0

0x06 SecPos7 SecPos6 SecPos5 SecPos4 SecPos3 SecPos2 Failsafe SleepEn

0x07 UV3debT UV3Thr2 UV3Thr1 UV3Thr0 StepMode1 StepMode0 LOCKBT LOCKBG

0x08 SecPos10A SecPos9A SecPos8A OSC4 OSC3 OSC2 OSC1 OSC0

0x09 SecPos7A SecPos6A SecPos5A SecPos4A SecPos3A SecPos2A FailsafeA SleepEnA

Parameters stored at address 0x00[6:0], 0x01[5:0],0x08[4:0] and bit <LOCKBT> are already programmed inthe OTP memory at circuit delivery. They correspond to thecalibration of the circuit and are just documented here as anindication.

Each OTP bit is at ‘0’ when not zapped. Zapping a bit willset it to ‘1’. Thus only bits having to be at ‘1’ must be zapped.Zapping of a bit already at ‘1’ is disabled. Each OTP bytewill be programmed separately (see commandSetOTPparam). Once OTP programming is completed,bit <LOCKBG> can be zapped to disable future zapping,otherwise any OTP bit at ‘0’ could still be zapped by usinga SetOTPparam command.

Table 20. OTP OVERWRITE PROTECTION

Lock Bit Protected Bytes

LOCKBT (factory zappedbefore delivery)

0x00[6:0], 0x01[5:0], 0x08[4:0]

LOCKBG 0x00 to 0x09

The command used to load the application parameters viathe LIN bus in the RAM prior to an OTP Memoryprogramming is SetMotorParam. This allows for afunctional verification before using a SetOTPparamcommand to program and zap separately one OTP memorybyte. A GetOTPparam command issued after eachSetOTPparam command allows verifying the correct bytezapping.

Note: Zapped bits will become active only after a powercycle. After programming the LIN bits the power cycle hasto be performed first to guarantee further communicationwith the device at the new address.

Application Parameters Stored in OTP MemoryExcept for the physical address <PA[3:0]> these

parameters, although programmed in a non−volatilememory can still be overwritten in RAM by a LINSetMotorParam writing operation.

PA[3:0] In combination with HW[2:0] it forms thephysical address NAD[7:0] of thestepper−motor. Up to 125 stepper−motors cantheoretically be connected to the same LIN bus.

AbsThr[3:0] Absolute threshold used for the motiondetection

Index AbsThr AbsThr level (V) (*)

0 0 0 0 0 Disable

1 0 0 0 1 0.6

2 0 0 1 0 1.3

3 0 0 1 1 1.9

4 0 1 0 0 2.6

5 0 1 0 1 3.2

6 0 1 1 0 3.9

7 0 1 1 1 4.5

8 1 0 0 0 5.1

9 1 0 0 1 5.8

A 1 0 1 0 6.4

B 1 0 1 1 7.1

C 1 1 0 0 7.7

D 1 1 0 1 8.3

E 1 1 1 0 9.0

F 1 1 1 1 9.6

(*) Not tested in production. Values are approximations.

Page 25: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com25

UV3Thr[2:0] Under voltage threshold voltage for UV3and UV1.

Index UV3Thr UV3 Level UV1 Level

0 0 0 0 5.90 6.62

1 0 0 1 6.30 7.07

2 0 1 0 6.70 7.52

3 0 1 1 7.10 7.97

4 1 0 0 7.50 8.41

5 1 0 1 7.90 8.86

6 1 1 0 8.30 9.31

7 1 1 1 8.70 9.76

Irun[3:0] Current amplitude value to be fed to each coil ofthe stepper−motor. The table below provides the 16 possiblevalues for <IRUN>.

Index IrunRun Current

(mA)Run Boost

Current (mA)

0 0 0 0 0 59 81

1 0 0 0 1 71 98

2 0 0 1 0 84 116

3 0 0 1 1 100 138

4 0 1 0 0 119 164

5 0 1 0 1 141 194

6 0 1 1 0 168 231

7 0 1 1 1 200 275

8 1 0 0 0 238 327

9 1 0 0 1 283 389

A 1 0 1 0 336 462

B 1 0 1 1 400 550

C 1 1 0 0 476 655

D 1 1 0 1 566 778

E 1 1 1 0 673 925

F 1 1 1 1 800 1100

Ihold[3:0] Hold current for each coil of the stepper−motor.The table below provides the 16 possible values for<IHOLD>.

Index IholdHold Current

(mA)Hold Boost

Current (mA)

0 0 0 0 0 59 81

1 0 0 0 1 71 98

2 0 0 1 0 84 116

3 0 0 1 1 100 138

4 0 1 0 0 119 164

5 0 1 0 1 141 194

6 0 1 1 0 168 231

7 0 1 1 1 200 275

8 1 0 0 0 238 327

9 1 0 0 1 283 389

A 1 0 1 0 336 462

B 1 0 1 1 400 550

C 1 1 0 0 476 655

D 1 1 0 1 566 778

E 1 1 1 0 673 925

F 1 1 1 1 0 0

Note: When the motor is stopped, the current is reducedfrom <IRUN> to <IHOLD>. In the case of 0 mA holdcurrent (1111 in the hold current table), the followingsequence is applied:

1. The current is first reduced to 59 mA or 81 mAduring I_Boost function (corresponding to 0000value in the table).

2. The PWM regulator is switched off; the bottomtransistors of the bridges are grounded.

Step Mode Setting of step modes.

Step Mode Step Mode

0 0 1/2 stepping

0 1 1/4 stepping

1 0 1/8 stepping

1 1 1/16 stepping

Shaft This bit distinguishes between a clock−wise orcounter−clock−wise rotation.

SecPos[10:2] Secure Position of the stepper−motor. This isthe position to which the motor is driven in case of a LINcommunication loss or when the LIN error−counteroverflows. If <SecPos[10:2]> = “100 0000 00xx”, securepositioning is disabled. The stepper motor will be kept in theposition occupied at the moment these events occur (doesnot affect GoToSecurePosition command).

Note: The Secure Position is coded on 11 bits only, providingactually the most significant bits of the position, the noncoded least significant bits being set to ‘0’. The Secure

Position in OTP has only 9 bits. The two least significant bitsare loaded as ‘0’ to RAM when copied from OTP.

SecPosA If <SecPosA> = 0 then <SecPos[10:2]>,<Failsafe> and <SleepEn> stored in bytes 0x05and 0x06 are used during operationIf <SecPosA> = 1 then <SecPos[10:2]>,<Failsafe> and <SleepEn> stored in bytes 0x08and 0x09 are used during operation

Programming SecPosA with “1” makes the OTP bytes0x05 and 0x06 obsolete. In this case the OTP bytes at 0x08and 0x09 will be read at the positions of bytes 0x05 and 0x06when reading the OTP via the GetOTPparam command.

Page 26: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com26

Vmax[3:0] Maximum velocity

Index Vmax Vmax(full step/s) Group

0 0 0 0 0 99 A

1 0 0 0 1 136 B

2 0 0 1 0 167

3 0 0 1 1 197

4 0 1 0 0 213

5 0 1 0 1 228

6 0 1 1 0 243

7 0 1 1 1 273 C

8 1 0 0 0 303

9 1 0 0 1 334

A 1 0 1 0 364

B 1 0 1 1 395

C 1 1 0 0 456

D 1 1 0 1 546 D

E 1 1 1 0 729

F 1 1 1 1 973

Vmin[3:0] Minimum velocity.

Index Vmin Vmax Factor

0 0 0 0 0 1

1 0 0 0 1 1/32

2 0 0 1 0 2/32

3 0 0 1 1 3/32

4 0 1 0 0 4/32

5 0 1 0 1 5/32

6 0 1 1 0 6/32

7 0 1 1 1 7/32

8 1 0 0 0 8/32

9 1 0 0 1 9/32

A 1 0 1 0 10/32

B 1 0 1 1 11/32

C 1 1 0 0 12/32

D 1 1 0 1 13/32

E 1 1 1 0 14/32

F 1 1 1 1 15/32

Acc[3:0] Acceleration and deceleration between Vmax andVmin.

Index Acc Acceleration (Full−step/s2)

0 0 0 0 0 49 (*)

1 0 0 0 1 218 (*)

2 0 0 1 0 1004 .

3 0 0 1 1 3609 .

4 0 1 0 0 6228 .

5 0 1 0 1 8848 .

6 0 1 1 0 11409 .

7 0 1 1 1 13970 .

8 1 0 0 0 16531 .

9 1 0 0 1 19092 (*)

A 1 0 1 0 21886 (*)

B 1 0 1 1 24447 (*)

C 1 1 0 0 27008 (*)

D 1 1 0 1 29570 (*)

E 1 1 1 0 34925 (*)

F 1 1 1 1 40047 (*)

(*) restriction on speed

SleepEn IF <SleepEn> = 1 −> NCV70628 always goes tolow−power sleep mode incase of LIN timeout.IF <SleepEn> = 0, there is no more automatic transition tolow−current sleep mode (i.e. stay in stop mode with appliedhold current, unless there are failures). Exception to this ruleare the states <Standby> and <Shutdown>, in which thedevice can enter sleep regardless of the state of SleepEn.

Note: The <SleepEn> function acts for the LIN Go tosleep command too. When <SleepEn> = 1 and the Go tosleep command is received the NCV70628 will go intoSleep. In case the <SleepEn> = 0 the NCV70628 will gointo stop mode.

FailSafeDescription: see section LIN Lost Behavior.

ADM <ADM> controls how the OTP bits and hardwiredLIN address bits are combined into the LIN node address(see also LIN Address section).

UV3DepT Debounce time after passing the UV1 level ofthe rising battery voltage slope. The debouce time isspecified in the AC parameter table.

Page 27: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com27

Table 21. RAM REGISTERS

Register MnemonicLength

(bit) Related Commands CommentResetState

Actual position ActPos 16 GetActualPosGetFullStatusGotoSecurePositionResetPosition

16−bit signed

Last programmedPosition

Pos/TagPos 16/11 GetFullStatusGotoSecurePositionResetPositionSetPositionSetPosition2MotorsSetPosParam

16−bit signed or11−bit signed for half stepping(see Positioning)

Acceleration shape AccShape 1 GetFullStatusSetMotorParamSetStallParam

‘0’ ⇒ normal acceleration from Vmin to Vmax‘1’ ⇒ motion at Vmin without acceleration

‘0’

Coil peak current Irun 4 GetFullStatusSetMotorParamSetStallParam

Operating currentSee look−up table Irun

FromOTP

memory

Coil hold current Ihold 4 GetFullStatusSetMotorParamSetStallParam

Standstill currentSee look−up table Ihold

Minimum Velocity Vmin 4 GetFullStatusSetMotorParamSetPosParamSetStallParam

See Section Minimum VelocitySee look−up table Vmin

Maximum Velocity Vmax 4 GetFullStatusSetMotorParamSetPosParamSetStallParam

See Section Maximum VelocitySee look−up table Vmax

Shaft Shaft 1 GetFullStatusSetMotorParamSetStallParam

Direction of movement

Acceleration/deceleration

Acc 4 GetFullStatusSetMotorParamSetPosParamSetStallParam

See Section AccelerationSee look−up table Acc

Secure Position SecPos 11 GetFullStatusSetMotorParam

Target position when LIN connection fails; 11MSB’s of 16−bit position (LSB’s fixed to ‘0’)

Stepping mode StepMode 2 GetFullStatusSetStallParamSetStallParam

See Section Stepping ModesSee look−up table StepMode

Stall detectionabsolute threshold

AbsThr 4 GetFullStatusSetStallParamSetPosParam

The B−emf voltage threshold level at whichstall is detected.

Under voltage UV3 UV3Thr 3 GetFullStatusSetStallParam

Under voltage UV3 and UV1 level

Sleep Enable SleepEn 1 SetOTPParam Enables entering sleep mode after LIN lost.See also LIN lost behavior

Fail Safe FailSafe 1 SetOTPParam Triggers autonomous motion after LIN lost atPOR. See also LIN lost behavior

Stall detection delay FS2StallEn 3 GetFullStatusSetStallParam

Delays the stall detection after acceleration ‘000’

Stall detectionsampling

MinSamples 4 GetFullStatusSetStallParam

Duration of the zero current step in numberof PWM cycles.

‘0000’

PWM Jitter PWMJEn 1 GetFullStatusSetStallParam

‘1’ means jitter is added ‘0’

Page 28: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com28

Table 21. RAM REGISTERS

RegisterResetStateCommentRelated Commands

Length(bit)Mnemonic

100% duty cycleStall Enable

DC100StEn 1 GetFullStatusSetStallParam

‘1’ means stall detection is enabled in casePWM regulator runs at � = 100%

‘0’

PWM frequency PWMFreq 1 GetFullStatusSetMotorParam

‘0’ means ~ 22 KHz,‘1’ means ~ 44 KHz

‘0’

Boost function I_BOOST_ENB

1 GetFullStatusSetMotorParam

‘0’ means boost function is enabled.See also Motor current boost function

‘1’

Stabilization time Tstab 3 GetFullStatusSetMotorParam

See also Motor stopping phase and Motiondetection

‘011’

Table 22. FLAGS TABLE

Flag MnemonicLength

(bit) Related Commands CommentResetState

LIN Timeout Error TimE 1 GetFullStatus Timeout error occurred ‘0’

LIN Data Error DataE 1 Internal use ‘1’ when one of the three errors occurred: checksumerror, stop bit error or frame length error

‘0’

LIN Header Error HeadE 1 GetFullStatus PID Parity error or PID stop bit error occurred ‘0’

LIN Bit Error BitE 1 Internal use ‘1’ when received bit value is different from the onebeing transmitted

‘0’

LIN Response Error LIN_E 1 GetActualPosGetFullStatus

LIN response error occurred (Checksum error, Stop biterror, Frame length error or difference in bit sent andbit monitored on LIN bus)

‘0’

Electrical defect ElDef 1 GetActualPosGetStatusGetFullStatus

<OVC1> or <OVC2> or ‘open−load on coil X’ or‘open−load on coil YResets only after Get(Full)Status

‘0’

External switch sta-tus

ESW 1 GetActualPosGetStatusGetFullStatus

‘0’ = open‘1’ = close

‘0’

Electrical flag HS 1 Internal use <UV2> or <ElDef> or <VDDreset> ‘0’

Motion status Motion 3 GetActualPosGetFullStatus

“000” = Stop, last movement was inner (CCW) motion“100” = Stop, last movement was outer (CW) motion“001” = inner (CCW) motion acceleration“010” = inner (CCW) motion deceleration“011” = inner (CCW) motion max. speed“101” = outer (CW) motion acceleration“110” = outer (CW) motion deceleration“111” = outer (CW) motion max. speed

“000”

Over current in coil X OVC1 1 GetFullStatus ‘1’ = over current; reset only after GetFullStatus ‘0’

Over current in coil Y OVC2 1 GetFullStatus ‘1’ = over current; reset only after GetFullStatus ‘0’

Secure positionenabled

SecEn 1 Internal use ‘0’ if <SecPos> = “100 0000 0000”‘1’ otherwise

n.a.

Circuit going toSleep mode

Sleep 1 Internal use ‘1’ = Sleep modereset by LIN command

‘0’

Step loss StepLoss 1 GetActualPosGetStatusGetFullStatus

‘1’ = step loss due to under voltage, over current, opencircuit or stall; Resets only after Get(Full)Status

‘1’

Absolute Stall AbsStall 1 GetFullStatus ‘1’ = Vbemf < AbsThr ‘0’

Stall Stall 1 GetActualPosGetFullStatusGetStatus

‘0’

Motor stop Stop 1 Internal use ‘0’

Page 29: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com29

Table 22. FLAGS TABLE

FlagResetStateCommentRelated Commands

Length(bit)Mnemonic

Temperature info Tinfo 2 GetActualPosGetStatusGetFullStatus

“00” = normal temperature range“01” = low temperature warning“10” = high temperature warning“11” = motor shutdown

“00”

Thermal shutdown TSD 1 GetActualPosGetStatusGetFullStatus

‘1’ = shutdown (Tj > Ttsd)Resets only after Get(Full)Statusand if <Tinfo> = “00”

‘0’

Thermal warning TW 1 GetActualPosGetStatusGetFullStatus

‘1’ = over temperature (Tj > Ttw)Resets only after Get(Full)Statusand if <Tinfo> = “00”

‘0’

Battery deceleratedstop voltage

UV3 1 GetActualPosGetStatusGetFullStatus

‘0’ = VBB > UV3‘1’ = VBB ≤ UV3Resets only after reception of header ofGet(Full)Status and if VBB > UV1

‘0’

Battery hard stopvoltage

UV2 1 GetActualPosGetStatusGetFullStatus

‘0’ = VBB > UV2‘1’ = VBB ≤ UV2Resets only after reception of header ofGet(Full)Status and if VBB > UV1

‘0’

Overall UV flag UV 1 GetActualPosGetStatusGetFullStatus

Is the OR function of UV2 and UV3Resets only after reception of header ofGet(Full)Status and if VBB > UV1

‘0’

Digital supply reset VddReset 1 GetActualPosGetStatusGetFullStatus

Set at ‘1’ after power−up of the circuit. If this was dueto a supply micro−cut, it warns that the RAM contentsmay have been lost; can be reset to ‘0’ with a Get-Status or a Get(Full)Status command

‘1’

Back EMF voltage BEMF_OUT

5 GetBemf Result of last back EMF measurementBEMF_OUT=(vMOTdiff *Rdiv_gain *5/4* 25 )/ 2,41

“00000”

BEMF_OUT affectedby 100% duty cycle

BEMF_DC100

1 GetBemf Set to ‘1’ if last back EMF measurement was performed under 100% PWM duty cycle conditions.

‘0’

Page 30: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com30

Priority EncoderThe table below describes the simplified state management performed by the main control block.

Table 23. PRIORITY ENCODER (See table notes on the following page.)

State → Standby Stopped GotoPosDual

Position SoftStop HardStop ShutDown Sleep HardUnder ShutUnder

Command↓

MotorStopped,Ihold in

Coils

Motor MotionOngoing

No Influenceon RAM and

TagPos

MotorDecelerating

MotorForced to

Stop

MotorStopped,

H−bridgesin Hi−Z

NoPower

(Note 32)

GetActualPos LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

GetOTPparam LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LIN in-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

GetFullStatusor GetStatus[ attempt to

clear <TSD>and <HS>

flags]

LIN in-frameresponse;

if (<TSD> or<HS>) = ‘0’

then →Stopped

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frameresponse

LINin-frame

response;if (<TSD>

or <HS>) =‘0’ then →Stopped

LINin-frameresponse

LINin-frameresponse

SetMotorParam[Master takes

care aboutproper update]

RAMupdate

RAMupdate

RAMupdate

RAMupdate

RAMupdate

RAMupdate

RAMupdate

RAMupdate

RAMupdate

ResetPosition <TagPos>and <Act-Pos> reset

<TagPos>and <Act-Pos> reset

<TagPos>and <Act-Pos> reset

SetPosition <TagPos>updated;→ Go-toPos

<TagPos>updated

<TagPos>updated afterDualPosition

SetPosition2Motors

<TagPos>updated; →GotoPos

<TagPos>updated

<TagPos>updated afterDualPosition

GotoSecPosition

<TagPos> =<SecPos>;

→ Go-toPos

<TagPos> =<SecPos>

DualPosition → DualPosition

SoftStop → SoftStop

Sleep or LINtimeout

[ ⇒ <Sleep> =‘1’, reset by

any LINcommand

received later]

→ Sleep (Note 39) If <SecEn> = ‘1’then <TagPos>

= <SecPos>else → Soft-

Stop

If <SecEn> = ‘1’then <Tag Pos>

= <SecPos>;evaluated afterDualPosition

No action;<Sleep> flag

evaluated whenmotor stops

No action;<Sleep> flag

evaluatedwhen motor

stops

→ Sleep No action;<Sleep>

flag evaluat-ed when

motor stops

→ Sleep(LIN

timeoutignored)

HardStop → HardStop

→ HardStop

→ HardStop

VBB < UV2 andt > 15 seconds

→ HardUnder

→ HardUnder

→ HardStop

→ HardUnder

VBB < UV2 andt < 15 seconds

→Stopped

<ElDef> = ‘1’⇒ <HS> = ‘1’

→Shutdown

→ HardStop;<StepLoss> =

‘1’

→ HardStop;<StepLoss> =

‘1’

→ HardStop;<StepLoss> =

‘1’

→Shutdown

Thermalshutdown

[<TSD> = ‘1’]

→Shutdown

→SoftStop

→SoftStop

→Shutdown

Motion finished n.a. → Stopped → Stopped → Stopped;<TagPos> =<ActPos>

Goto stoppedonly if Vbb >

UV1

→ Stopped;<TagPos> =<ActPos>

<StepLoss>= 1

n.a. n.a. →ShutUnder

n.a.

Page 31: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com31

With the Following Color Code:

Command Ignored Transition to Another State Master is responsible for proper update (see Note 37)

32.Leaving <Sleep> state is equivalent to power−on−reset.33.After power−on−reset, the <Standby> state is entered.34.A Dual Position sequence runs with a separate set of RAM registers. The parameters that are not specified in a Dual Position command are

loaded with the values stored in RAM at the moment the Dual Position sequence starts. <AccShape> is forced to ‘1’ during second motion.<AccShape> at ‘0’ will be taken into account after the Dual Position sequence. A GetFullStatus command will return the defaultparameters for <Vmax> and <Vmin> stored in RAM.

35.The <Sleep> flag is set to ‘1’ when LIN timeout or GotoSleep command occurs. It is reset by the next LIN command (<Sleep> is cancelledif not activated yet).

36.Shutdown state can be left only when <TSD> and <HS> flags are reset.37.Flags can be reset only after the master could read them via a GetStatus or GetFullStatus command, and provided the physical

conditions allow for it (normal temperature, correct battery voltage and no electrical defect).38.A SetMotorParam command sent while a motion is ongoing (state <GotoPos>) should not attempt to modify <Acc> and <Vmin> values.

This can be done during a Dual Position sequence since this motion uses its own parameters, the new parameters will be taken into accountat the next SetPosition or SetPosition2Motors command.

39.Some transitions like <GotoPos> → <Sleep> are actually done via several states: <GotoPos> → <SoftStop> → <Stopped> →<Sleep> (see diagram below).

40.Two transitions are possible from state <Stopped> when <Sleep> = ‘1’:1) Transition to state <Sleep> if <SleepEn> = ‘0’ and (<SecEn> = ‘0’ or secure position reached or <Stop> = ‘1’).2) Otherwise transition to state <GotoPos>, with <TagPos> = <SecPos>

41.<Stop> flag allows distinguishing whether state <Stopped> was entered after HardStop/SoftStop or not. <Stop> is set to ‘1’ when leavingstate <HardStop> or <SoftStop> and is reset during first clock edge occurring in state <Stopped>.

42.Assign PID range command is decoded in all states except <Sleep> and has no effect on the current state. This applies for all standardLIN diagnostic and configuration frames.

43.While in state <Stopped>, if <ActPos> is not equal to <TagPos> there is a transition to state <GotoPos>. This transition has the lowestpriority, meaning that <Sleep>, <Stop>, <TSD>, etceteras are first evaluated for possible transitions.

44. If <StepLoss> is active, then SetPosition, SetPosition2Motors, SetPosParam and GotoSecurePosition commands are notignored. <StepLoss> can only be cleared by a GetStatus or GetFullStatus command.

Page 32: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com32

HardStop

Stopped GotoPosShutDown

Sleep

HardStop HardStop

HardStop

RunInitMotion finished

GotoSecPos

SetPositionMotion Finished

Any LIN commandOR LIN

HardStopThermal Shutdown

RunInit SoftStop

Priorities 1

2

3

4

Motion Finished

POR

HardUnder

ShutUnder

Vbb < UV2

Vbb > UV1 & T < 15 sec

T > 15 sec

StoppedUnderUV1

Motion Finishedand

Thermal Shutdown

Thermal

SoftStopVbb < UV3

Motion Finished and Vbb > UV1

GetFullStatus

Figure 15. Simplified State Diagram

timeout

<Sleep>

Vbb < UV2

Shutdown

Vbb < UV3

Vbb < UV3

Vbb > UV1

Vbb < UV2

Vbb < UV2

Vbb < UV1

<Sleep> AND (not <SecEn> OR <SecEn> AND ActPos =SecPos OR <Stop>)

Remark: IF <SleepEn> = 0, then the arrow from stopped state to sleep state does not exist.

Page 33: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com33

Motordriver

Current Waveforms in the CoilsFigure 16 below illustrates the current fed to the motor coils by the motor driver in half−step mode.

t

Coil X

Coil Y

Ix

Iy

Figure 16. Current Waveforms in Motor Coils X and Y in Halfstep Mode

Whereas Figure 17 below shows the current fed to the coils in 1/16th micro stepping (1 electrical period).

Figure 17. Current Waveforms in Motor Coils X and Y in 1/16th Micro−Step Mode

t

Coil X

Coil Y

Ix

Iy

Motor Current Boost FunctionUnder certain conditions it can happen that the normal

motor currents are not sufficiently high enough to achievethe proper torque for bursting out the motor axis (Especiallyunder cold conditions). For this reason the NCV70628 canbe forced to boost mode by setting the <I_BOOST_ENB>bit to ‘0’ via the SetMotorParam command. The boostfunction increases the current as described in the Irun andIhold tables. It can only be activated if the junctiontemperature is lower than tlow. When the temperature risesabove ttw,, the <I_BOOST_ENB> bit is automatically setback to ‘1’ causing that the current is switched back to thenormal current set point values.

PWM RegulationIn order to force a given current (determined by <Irun>

or <Ihold> and the current position of the rotor) through

the motor coil while ensuring high energy transferefficiency, a regulation based on PWM principle is used. Theregulation loop performs a comparison of the sensed outputcurrent to an internal reference, and features a digitalregulation generating the PWM signal that drives the outputswitches. The zoom over one micro−step in the Figure�17above shows how the PWM circuit performs this regulation.To reduce the current ripple, a higher PWM frequency isselectable. The RAM register PWMfreq is used for this.

Table 24. PWM FREQUENCY SELECTION

PWMfreq Applied PWM Frequency

0 22,8 kHz

1 45,6 kHz

Page 34: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com34

PWM JitterTo lower the power spectrum for the fundamental and

higher harmonics of the PWM frequency, jitter can be addedto the PWM clock. The RAM register <PWMJEn> is usedfor this.

Table 25. PWM JITTER SELECTION

PWMJEn Status

0 Single PWM frequency

1 Added jitter to PWM frequency

Motor Starting PhaseAt motion start, the currents in the coils are directly

switched from <Ihold> to <Irun> with a new

sine/cosine ratio corresponding to the first half (or micro−)step of the motion.

Motor Stopping PhaseAt the end of the deceleration phase, the currents are

maintained in the coils at their actual DC level (hencekeeping the sine/cosine ratio between coils) during thestabilization time tstab (see AC Table). The currents are thenset to the hold values, respectively Ihold x sin(TagPos)and Ihold x cos(TagPos), as illustrated below. A newpositioning order can then be executed. The stabilizationtime tstab is programmable via a LIN command. There are 8values possible that can be set dependant the requirement ofthe motor application.

Figure 18. Motor Stopping Phase

lx

ly

t

tstab

Electrical Defect on Coils, Detection and ConfirmationThe principle relies on the detection of a voltage drop on

at least one transistor of the H−bridge. Then the decision istaken to open the transistors of the defective bridge.

This allows the detection the following short circuits:• External coil short circuit

• Short between one terminal of the coil and Vbat or Gnd

One cannot detect an internal short in the motor.Open circuits are detected by 100% PWM duty cycle

value during one electrical period with duration, determinedby Vmin.

The open coil detection works only in hold current mode(no motor run). More precisely the 100% duty cycle must bepresent for duration longer than 1/Vmin.

Table 26. ELECTRICAL DEFECT DETECTION

Pins Fault Mode

Yi or Xi Short−circuit to GND

Yi or Xi Short−circuit to Vbat

Yi or Xi Open

Y1 and Y2 Short circuited

X1 and X2 Short circuited

Xi and Yi Short circuited

Motor Shutdown Mode

A motor shutdown occurs when:• The chip temperature rises above the thermal shutdown

threshold Ttsd (see Thermal Shutdown Mode).• The battery voltage goes below UV2 for longer than 15

seconds (see Under−Voltage Condition and AutarkicFunctionality).

• Flag <ElDef> = ‘1’, meaning an electrical problem isdetected on one or both coils, e.g. a short circuit.

A motor shutdown leads to the following:• H−bridges in high impedance mode.

• The <TagPos> register is loaded with the <ActPos>,except in autarkic states.

• The LIN interface remains active, being able to receiveorders or send status.

The conditions to get out of a motor shutdown mode are:• Reception of a GetStatus or GetFullStatus

command AND• The four above causes are no longer detected

This leads to H−bridges going in Ihold mode. Hence, thecircuit is ready to execute any positioning command.

Page 35: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com35

This can be illustrated in the following sequence given as an application example. The master can check whether there isa problem or not and decide which application strategy to adopt.

Table 27. EXAMPLE OF POSSIBLE SEQUENCE USED TO DETECT AND DETERMINE CAUSE OF MOTOR SHUTDOWN

Tj ≥Ttsd or VBB ≤ UV2 (>15s) or<ElDef> = ‘1’

SetPositionframe

GetFullStatus or Get-Status frame

GetFullStatus or Get-Status frame

↓...

− The circuit is driven in motorshutdown mode

− The application is not awareof this

− The position set−point is updated by

the LIN Master− Motor shutdownmode ⇒ no motion− The application is

still unaware

− The application is awareof a problem

− Possible confirmationof the problem

− Reset <TSD> or <UV2> or <StepLoss> or <ElDef> by the application− Possible new detection of over temperature or low voltage or electric-

al problem ⇒ Circuit sets <TW> or <TSD> or <UV2> or <StepLoss> or <ElDef> again at ‘1’

Important: While in shutdown mode, since there is no hold current in the coils, the mechanical load can cause a step loss, whichindeed cannot be flagged by the NCV70628.

If the LIN communication is lost while in shutdown mode,the circuit enters the sleep mode immediately.

Note: The Priority Encoder is describing the management ofstates and commands.

Warning: The application should limit the number ofconsecutive GetStatus or GetFullStatus commands to try toget the NCV70628 out of shutdown mode when this provesto be unsuccessful, e.g. there is a permanent defect. Thereliability of the circuit could be altered sinceGet(Full)Status attempts to disable the protection of theH−bridges.

Motion DetectionMotion detection is based on the back emf generated

internally in the running motor. When the motor is blocked,e.g. when it hits the end−stop, the velocity and as a result alsothe generated back emf, is disturbed. The NCV70628 sensesthe back emf, applies moving average filter and comparesthe value with an absolute threshold (AbsThr[3:0]).Instructions for correct use of this level in combination withthree additional parameters (<MinSamples>,<FS2StallEn> and <DC100StEn>) are available in adedicated Application Note “Robust Motion Control withAMIS−3062x Stepper Motor Drivers”.

When the motor is blocked and the velocity is zero afterthe acceleration phase, the back emf is low or zero. Whenthis value is below the Absolute threshold, <Stall> is set.

Stall

t

Velocity

t

Motor speed

Vbemf

t

Back emf

Figure 19. Triggering of the Stall Flag as Function of the Measured Backemf

VABSTH

Vmin

Vmax

By design, the motion will only be detected when themotor is running at the maximum velocity, not duringacceleration or deceleration.

If the motor is positioning when Stall is detected, an(internal) HardStop of the motor is generated and the

Page 36: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com36

<StepLoss> and <Stall> flags are set. These flags canonly be reset by sending a GetFullStatus command.

If Stall appears during DualPosition then the first phase iscancelled (via internal hardstop) and after timeout Tstab (seeAC table) the second phase at Vmin starts.

When the <Stall> flag is set, the position controller willgenerate an internal HardStop. As a consequence also the<Steploss> flag will be set. The position in the internalcounter will be copied to the <ActPos> register. All flagscan be read out with the GetStatus orGetFullStatus command.

Important Remark(limited to motion detection flags / parameters):

Using GetFullStatus will read AND clear thefollowing flags: <Steploss>, <Stall> and<AbsStall>. New positioning is possible and the<ActPos> register will be further updated.

Using GetStatus will read AND clear ONLY the<Steploss> flag. The <Stall> and <AbsStall>flags are NOT cleared. New positioning is possible and the<ActPos> register will be further updated.

Motion detection is disabled when the RAM registers<AbsThr[3:0]> is zero. The level can be programmedusing the LIN command SetStallParam in the register<AbsThr[3:0]>. Also the OTP register<AbsThr[3:0]> can be set using the LIN commandSetOTPParam. These values are copied in the RAMregisters during power on reset.

Table 28. ABSOLUTE THRESHOLD SETTINGSAbsThr Index AbsThr Level (V) (*)

0 Disabled

1 0.64

2 1.28

3 1.92

4 2.56

5 3.19

6 3.83

7 4.47

8 5.11

9 5.75

A 6.38

B 7.03

C 7.67

D 8.30

E 8.94

F 9.58

NOTE: (*) Not tested in production. Values are typical levels withspread of 0,48V.

MinSamples<MinSamples[3:0]> is a programmable delay timer. After

the zero crossing is detected, the delay counter is started.After the delay time−out (tdelay) the back−emf sample istaken. For more information please refer to the Application

Note “Robust Motion Control with AMIS−3062x StepperMotor Drivers”.

Table 29. BACK EMF SAMPLE DELAY TIME

Index MinSamples[2:0] tDELAY (�s)

0 0000 88

1 0001 132

2 0010 175

3 0011 219

4 0100 307

5 0101 395

6 0110 482

7 0111 570

8 1000 658

9 1001 746

A 1010 833

B 1011 921

C 1100 1009

D 1101 1097

E 1110 1184

F 1111 1272

FS2StallEnIf <AbsThr> <> 0 (i.e. motion detection is enabled),

then stall detection will be activated AFTER theacceleration ramp + an additional number of full−steps,according to the following table:

Table 30. ACTIVATION DELAY OF MOTION DETECTION

Index FS2StallEn[2:0] Delay (Full Steps)

0 000 0

1 001 1

2 010 2

3 011 3

4 100 4

5 101 5

6 110 6

7 111 7

DC100StEnWhen a motor with large bemf is operated at high speed

and low supply voltage, then the PWM duty cycle can be ashigh as 100%. This indicates that the supply is too low togenerate the required torque and might also result inerroneously triggering the stall detection. The bit<DC100StEn> enables stall detection when duty cycle is100%. For more information please refer to the ApplicationNote “Robust Motion Control with AMIS−3062x StepperMotor Drivers”.

Important remark: It is recommended to perform firstpositioning command (right after the Power−On Reset of thechip or waking−up from Sleep mode) with stall detectionfeature disabled. Subsequent positioning command (todetect end−position) then may have the stall detection modeenabled.

Page 37: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com37

Lin Controller

General DescriptionThe LIN (local interconnect network) is a serial

communications protocol that efficiently supports thecontrol of mechatronics nodes in distributed automotiveapplications. The physical interface implemented in theNCV70628 is compliant to the LIN rev. 2.2a specification.It features a slave node, thus allowing for:• single−master / multiple−slave communication

• self synchronization without quartz or ceramicsresonator in the slave nodes

• guaranteed latency times for signal transmission

• single−signal−wire communication

• automatic transmission speed detection (between 1 and19.2 kbit/s)

• configuration flexibility

• data and protected identifier checksum (classic checksumfor LIN diagnostic and configuration frames, enhancedchecksum for other frames) security and error detection

• detection of defective nodes in the networkIt includes the analog physical layer and the digital

protocol handler.

Figure 20. LIN Interface

LIN

HW0

HW1

HW2

tocontrolblock

from OTP

LIN address

TxD

RxD

VBB

Filter

SlopeControl

LINprotocolhandler

30 k�

The analog circuitry implements a low side driver with apull−up resistor as a transmitter, and a resistive divider witha comparator as a receiver. The specification of the linedriver/receiver follows the ISO 9141 standard with someenhancements regarding the EMI behavior.

Slave Operational Range for Proper SelfSynchronization

The LIN interface will synchronize properly in thefollowing conditions:• Vbat ≥ 8 V

• LIN communication is disabled when Vbat < UV2

• Ground shift between master node and slave node < ±1�VIt is highly recommended to use the same type of reverse

battery voltage protection diode for the Master and the Slavenodes.

Functional Description

Analog PartThe transmitter is a low−side driver with a pull−up resistor

and slope control. The receiver mainly consists of acomparator with a threshold equal to VBB/2. Figure 4 showsthe characteristics of the transmitted and received signal.See AC Parameters for timing values.

Bit Sample TimingThe LIN uses a clock whose frequency is 16*(1/tbit). The

byte field is synchronized at the falling edge of the start bit.The byte field synchronization has an accuracy of tBFS.

After the byte field synchronization the data bit itself issampled within the window between the earliest bit sampletime and the latest bit sample time. The majority of thesamples define the bit level.

Table 31. BIT SAMPLE TIMING

Parameter Comment Test Condition Min Typ Max Unit

tBFS Value of accuracy of the bytefield detection

Guaranteed by a digital test 2/16 Tbit

tEBS Earliest bit sample time,tEBS ≤ tLBS

Guaranteed by a digital test 7/16 Tbit

tLBS Latest bit sample tLBS ≥ tEBStLBS = 10/16*Tbit − tBFS

Guaranteed by a digital test Tbit

Page 38: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com38

Figure 21. Bit Sample Timing

Protocol Handler

This block implements:• Bit synchronization

• Bit timing

• The MAC layer

• The LLC layer

• The supervisor

LIN Error RegisterThe LIN interface implements a register containing an

error status of the LIN communication. This register is asfollows:

Table 32. LIN ERROR REGISTER

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Notused

Notused

Notused

Response errorflag (LIN_E)

Timeout error flag

Dataerror Flag

Headererror Flag

Biterror Flag

With:Response error flag (LIN_E): OR function of Data error flag, Bit error flagData error flag: Checksum error, data stop bit error or frame length errorHeader error flag: PID parity error or PID stop bit error or sync field stop bit errorTime out error flag: Detected dominant pulse duration is greater than maximum allowed header duration (invalid break +

sync detected)Bit error flag: Difference in bit sent and bit monitored on the LIN busTime out error flag has only informational purpose. Flags Response error, Data error and Bit error are reset by GetFullStatus

and GetActualPos frames. Flags Header error and Time out error are reset by GetFullStatus frame.Physical Address of the Circuit

The circuit must be provided with a physical address inorder to discriminate this circuit from other ones on the LINbus. This address is coded on 7 bits, yielding the theoreticalpossibility of 125 different circuits on the same bus due toLIN NAD field restriction (only addresses from 1 to 125 areallowed). If node address 127 is supplied, all slave nodesshall react to the frame (broadcast function). However themaximum number of nodes in a LIN network is also limitedby the physical properties of the bus line. It is recommendedto limit the number of nodes in a LIN network to not exceed16. Otherwise the reduced network impedance may prohibita fault free communication under worst case conditions.Every additional node lowers the network impedance byapproximately 3%.

Node address is supplied in 8−bit NAD field within theLIN writing or preparing frames. Lower 7 bits of the NADfield represent the node address, the MSB bit of NAD fieldshall be always zero since LIN user diagnostic frames are notused on NCV70628. See Table 33 for detailed NAD fielddescription:

Table 33. LIN NAD FIELD

NAD Description

0 Reserved for go to sleep command

1 – 125 Node address

126 Functional NAD (not used on NCV70628)

127 Broadcast

128 – 255 Free usage(user diagnostics, not used on NCV70628)

The node address is a combination of 4 OTP memory bitsand 3 hardwired address bits (pins HW[2:0]). Depending onthe Addressing Mode (<ADM> bit in OTP) the bits of theaddress are combined as illustrated below. OTP bit PA0 isalways inverted. Due to restriction in LIN specification rev.2.2 such combination of hardwired bits and OTP memorybits that would result into node address being 0, 126 or 127shall be avoided.

Node address is assigned when first break and sync fieldis detected on LIN bus after power−on−reset. In case ofHW2 float state, node address assignment is performed after

Page 39: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com39

HW2 state changes to low or high and next break and syncfield is detected on LIN bus. LIN communication is disableduntil node address is assigned. Once node address isassigned, it cannot be changed (e.g. via HW[2:0]reconfiguration) until power−on−reset occurs.

PA3 PA2 PA1 PA0HW1

MSB LSB

OTP memory

HW0 HW2

Hardwired

<ADM> = 0

PA3 PA2 PA1PA0 HW1

MSB LSB

OTP memory

HW0 HW2

HardwiredOTP memory

Figure 22. Combination of OTP and Hardwiredaddress bits in function of ADM (Address Mode)

<ADM> = 1

NOTE: Pins HW0 and HW1 are 3.3�V digital inputs, whereas pinHW2 is compliant with a 12�V level, e.g. it can beconnected to Vbat or Gnd via a terminal of the PCB.

LIN FramesLIN frames can be divided into writing and reading

frames. A frame is composed of an 8−bit Protected identifierfollowed by 1 to 8 data−bytes and a checksum byte. Thechecksum of LIN standard diagnostic and configuration

frames is calculated over only data bytes (so called “classicchecksum”). The checksum of other frames is calculatedover Protected identifier byte and data bytes (so called“Enhanced checksum”). The checksum is an inverted 8−bitsum with carry.

Writing frames will be used to:• Program the OTP Memory;

• Configure the component with the stepper−motor

parameters (current, speed, stepping−mode, etc.);

• Provide set−point position for the stepper−motor;

• Control the motion state machine.

Whereas reading frames will be used to:• Get the actual position of the stepper−motor;

• Get status information such as error flags;

• Verify the right programming and configuration of the

component.

Writing FramesThe LIN master sends commands and/or information to

the slave nodes by means of a writing frame. According tothe LIN specification, identifiers are to be used to determinea specific action. If a physical addressing is needed, then firstdata byte can be dedicated to this, as illustrated in theexample below.

Identifier Byte Data Byte 1 Data Byte 2

ID0 ID1 ID2 ID3 ID4 ID5 ID6 ID7 NAD0

NAD1

NAD2

NAD3

NAD4

NAD5

NAD6

NAD7

node address (NAD field) command or command parameters

<ID6> and <ID7> are used for parity check over <ID0> to <ID5>, conform LIN specification. <ID6> = <ID0> ⊗ <ID1> ⊗<ID2> ⊗ <ID4> (even parity) and <ID7> = NOT(<ID1> ⊗ <ID3> ⊗ <ID4> ⊗ <ID5>) (odd parity).

Reading FramesA reading frame uses an in−frame response

mechanism. That is: the master initiates the frame bysending frame header (synchronization field + protectedidentifier field), and one slave sends back the data fieldtogether with the checksum field. Hence, two types ofidentifiers can be used for a reading frame:

• Direct ID, which points at a particular slave node,indicating at the same time which kind of informationis awaited from this slave node, thus triggering aspecific command. This ID provides the fastest accessto a read command but is forbidden for any other actionsince only frame header is sent by master and no otherparameters can be passed to the slave node.

• Indirect ID, which only specifies a reading command,the physical address of the slave node that must answerhaving been passed in a previous writing frame, calleda preparing frame. Indirect ID gives more flexibilitythan a direct one, but provides a slower access to a readcommand. This sequence of preparing and reading

frame can be used only in case of standard diagnosticand configurations frames (protected identifiers 0x3Cand 0x7D).

1. A reading frame with indirect ID must always beconsecutive to a preparing frame. Otherwise it willnot be taken into account.

2. A reading frame with indirect ID will always returnthe physical address of the answering slave node inorder to ensure robustness in the communication(see definition of LIN standard diagnostic andconfiguration frames supported by NCV70628).

Preparing FramesA preparing frame is a frame from the master that warns

a particular slave node that it will have to answer in the nextframe (being a reading frame). A preparing frame is neededwhen a reading frame does not use a dynamically assigneddirect ID. Preparing and reading frames must beconsecutive. A preparing frame will contain the physicaladdress of the LIN slave node that shall answer in the

Page 40: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com40

reading frame and will also contain a command indicatingwhich kind of information is awaited from the slave (seedefinition of LIN standard diagnostic and configurationframes supported by NCV70628).

Dynamic Assignment of IdentifiersThe protected identifier field in the LIN datagram denotes

the content of the message. Six identifier bits PID[5:0] andtwo parity bits PID[7:6] are used to represent the content.Identifiers 0x3C and 0x3D are reserved for LIN diagnosticand configuration frames. Identifiers 0x3E and 0x3F arereserved for future LIN extensions. Slave nodes need to be

very flexible to adapt itself to a given LIN network in orderto avoid conflicts with slave nodes from differentmanufacturers. Standard LIN configuration frame Assignframe ID range issued by the LIN master will write dynamicidentifiers into the RAM. Structure of Assign frame IDrange LIN frame is described in Table 34. One writing frameis able to assign up to 4 identifiers; therefore 3 frames areneeded to assign all 11 NCV70628 identifiers. It is notmandatory to assign all identifiers, only those that areneeded by actual application can be assigned. See alsodescription of color code used in the definition of LINframes in Table 40.

Table 34. DYNAMIC IDENTIFIERS WRITING FRAME (Assign frame ID range)

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID 0x3C

1 NAD NAD[7:0] (0x7F for broadcast)

2 PCI 0x06

3 SID 0xB7 (Assign PID range)

4 Data 1 start index

5 Data 2 PID(start index)

6 Data 3 PID(start index + 1)

7 Data 4 PID(start index + 2)

8 Data 5 PID(start index + 3)

9 Checksum Classic Checksum

Where:start index: Initial index of PID that shall be assigned, e.g. when start index = 0 then byte Data 2 contains PID(0) code, Data

3 byte contains PID(1) code, Data 4 byte contains PID(2) code and Data 5 byte contains PID(3) code.

PID(index): Complete 8 bits of protected identifier code(including parity bits) that shall be assigned. If PID code is0 then the corresponding PID will get unassigned. If PIDcode is 255 then the corresponding PID will remainunchanged.

Complete 8 bits of protected identifier code (includingparity bits) shall be supplied. The slave node shall not verifythe parity of assigned PID code i.e. it will accept also PIDcode with incorrect parity. However, in case such PID codeis supplied, slave node will not react to LIN frames with thisPID code due to incorrect parity. In case PID code 0 issupplied the corresponding PID will be unassigned (slavenode will not react to such PID in the future). In case PID

code 255 is supplied the corresponding PID will remainunchanged (don’t care value). PID code 255 is required forprotected identifier indexes that do not exist in the slavenode (indexes 11 and higher in case of NCV70628). Besidesthese two special PID codes, only PID[5:0] values from 0 to59 shall be supplied not to interfere with diagnostic andreserved frames identifiers.

Verification of PID assignment shall be performed byissuing reading frame after each Assign frame ID rangewriting frame. In case NCV70628 can process all requestsfor PID code assignment within the writing frame, it willrespond with Assign frame ID range – positive responseframe (see Table 35). Otherwise no response is issued.

Page 41: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com41

Table 35. ASSIGN FRAME ID RANGE – POSITIVE RESPONSE

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID 0x7D

1 NAD NAD[7:0]

2 PCI 0x01

3 RSID 0xF7

4 Data 1 0xFF

5 Data 2 0xFF

6 Data 3 0xFF

7 Data 4 0xFF

8 Data 5 0xFF

9 Checksum Classic Checksum

After each power−up of NCV70628 all PIDs are unassigned therefore PID assignment shall be performed to allowcommunication using NCV70628 commands. The summary of supported LIN commands and initial PID assignment can befound in Table 36.

Table 36. NCV70628 LIN COMMANDS WITH CORRESPONDING PID INDEXCommand PID Code Index PID Assignable PID After Power−up

SetDualPosition PID(0) Yes Unassigned

SetMotorParam PID(0) Yes Unassigned

SetOtpParam PID(0) Yes Unassigned

SetStallParam PID(0) Yes Unassigned

SetPosParam PID(0) Yes Unassigned

GotoSecurePosition PID(1) Yes Unassigned

GotoSecurePosition PID(2) Yes Unassigned

HardStop PID(1) Yes Unassigned

HardStop PID(2) Yes Unassigned

ResetPosition PID(1) Yes Unassigned

ResetPosition PID(2) Yes Unassigned

SoftStop PID(1) Yes Unassigned

SoftStop PID(2) Yes Unassigned

SetPosition PID(3) Yes Unassigned

SetPosition PID(4) Yes Unassigned

SetPosition2Motors PID(5) Yes Unassigned

GetActualPos PID(6) Yes Unassigned

GetFullStatus PID(7) Yes Unassigned

GetOtpParam PID(8) Yes Unassigned

GetStatus PID(9) Yes Unassigned

GetBemf PID(10) Yes Unassigned

Assign frame ID range n/a No 0x3C

Go to sleep n/a No 0x3C

Read by identifier ID 0 n/a No 0x3C

Page 42: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com42

LIN Lost Behavior

IntroductionWhen the LIN communication is inactive (stable

recessive or dominant value) for duration of 4.46 sNCV70628 sets an internal flag called “LIN lost”. Thefunctional behavior depends on the state of OTP bits<SleepEn> and <FailSafe>, and if this loss in LINcommunication occurred at (or before) power on reset or innormal powered operation.

Sleep EnableThe OTP bit <SleepEn> enables or disables the

entering to low−power sleep mode in case of LIN time−out.By default the entering to sleep−mode is disabled.

Table 37. SLEEP ENABLE SELECTION

<SleepEn> Behavior

0 Entering low−power sleep mode is disabledexcept from <Standby> and <Shutdown>

1 Entering low−power sleep mode enabled

Fail Safe MotionThe OTP bit <FailSafe> enables or disables an

automatic motion to a predefined secure position. See alsoAutonomous Motion.

Table 38. FAIL SAFE ENABLE SELECTION

<FailSafe> Behavior

0 No reference motion in case of LIN – lost

1 Enables reference motion to a secure positionin case of LIN–lost (if the device has not beenyet referenced with SetDualPosition command)

NCV70628 is able to perform an autonomous securepositioning motion to a preferred position. This positioningstarts after the detection of lost LIN communication anddepends on OTP bit <FailSafe> RAM register<SecPos[10:0]>. The functional behavior depends onwhether LIN communication is lost during start up (seeFigure 2) or during normal operation (see Figure 3).

LIN Lost During Start UpIf LIN communication is lost during power up, the

<ActPos> register does not reflect the “real” actualposition. So at LIN − lost a referencing is started using DualPositioning. A first negative motion for half the positionerrange is initiated until the stall position is reached. Themotion parameters stored in OTP will be used for this. Afterthis mechanical end position is reached, <ActPos> will bereset to zero. A second motion of 10 Fullsteps is executed toassure that the motion is really at the end position. Thedirection of the motion is given by the Shaft bit. Anothermotion will then start to the Secure Position also stored inOTP.

If LIN is lost during power up, following sequencewill be performed:

1. If LIN communication is lost due to LIN timeoutNCV70628 will enter <Sleep> mode.

2. If LIN communication is lost (due to HW2 pinfloating) AND <FailSafe> = 1 a referencing isstarted using Dual Positioning and then securepositioning will be performed unless disabled(<SecPos[10:0]> = 0x400).

3. Otherwise no motion is performed.4. Then NCV70628 will enter <Stop> state.

Page 43: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com43

LIN timeout

Power Up

OTP content is copied in RAM

Yes

HW2 floatNo

No

Yes

FailSafe = 1

STOP SLEEP

No

Yes

STOP

No

Yes

SecPos ≠ 0x400

First motion of DualPositionHalf the position range

Negative directionAt Stall −> ActPos = ‘0000’

Secure Positioning toSecPos stored in OTP

No GetFullStatusreceived

A

Yes

Figure 23. LIN Lost during Start−Up

LIN Lost During Normal OperationIf the LIN communication is lost during normal operation

and NCV70628 is referenced (by SetDualPosition orResetPosition) the <ActPos> register contains the“real” actual position. At LIN – lost an absolute positioningto the stored secure position <SecPos> is done (SecurePositioning).

If the device was not referenced yet, the <ActPos>register does not contain a valid position. At LIN – lost areferencing is started using Dual Positioning in case OTP bit<FailSafe> = 1. A first negative motion of half thepositioner range is initiated until the stall position is reached.The motion parameters stored in RAM registers will be usedfor this. After this mechanical end−position is reached,<ActPos> will be reset to zero. A second motion of 10Fullsteps is executed to assure that the motion is really at theend position. After the second motion, a third motion isexecuted to the Secure Position stored in RAM register.

Following sequence will be performed:5. If LIN communication is lost, NCV70628 was not

referenced yet and <FailSafe> = 1 areferencing is started using Dual Positioning. Ifdevice was already referenced or <FailSafe>= 0 no referencing motion is performed.

6. If <SecPos[10:0]> ≠ 0x400 a SecurePositioning motion is executed and<SecPos[10:0]> will be copied in<TagPos>. <SecPos[10:0]> from RAMregister will be used. This can be different fromOTP register if earlier LIN master communicationhas updated this.

7. Otherwise Secure Positioning is not performed.8. Depending on <SleepEn> NCV70628 will

enter the <Stopped> state or the <Sleep>state.

Page 44: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com44

SetMotorParam(RAM content is overwritten)

LIN lost

Normal Operation

No

FailSafe = 1

Yes

No

Yes

Reference done

First motion of DualPositionHalf the position range Neg-ative directionAt Stall −> ActPos = ’0000’

Secure Positioning toSecPos stored in RAM

STOP

SleepEn = 1 andLIN timeout

SLEEP

No

Yes

Yes

No

No

Yes

GetFullStatus

SecPos ≠ 0x400

A

Figure 24. LIN Lost During Normal Operation

Important Remarks:1. The Secure Position has a resolution of 11 bit (2Fs resolution on positions).2. If HW2 pin is floating but there is LIN communication, Sleep mode is not entered.

Page 45: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com45

LIN Application Commands

IntroductionThe LIN Master will have to use commands to manage the different application tasks the NCV70628 can feature. The

commands summary is given in Table 39. below.

Table 39. LIN COMMANDS SUMMARY

Command Frame PID Description

Mnemonic Code Prep. Read Write

READING COMMAND

Read by identifier ID 0 0x3C 0x7D Returns device identification (LIN Supplier ID, Function ID)

GetActualPos PID(6) Returns the actual position of the motor

GetFullStatus PID(7) Returns a complete status of the circuit

GetOtpParam PID(8) Returns the OTP memory content

GetStatus PID(9) Returns a short status of the circuit

GetBemf PID(10) Returns last back EMF measurement result

WRITING COMMANDS

Assign frame ID range 0x7D 0x3C Assigns or disables frame identifiers (PIDs)

GotoSecurePosition 0x04 PID(1)PID(2)

Drives the motor to its secure position

HardStop 0x05 PID(1)PID(2)

Immediate motor stop

ResetPosition 0x06 PID(1)PID(2)

Actual position becomes the zero position

SetDualPosition 0x08 PID(0) Drives the motor to 2 different positions with different speeds

SetMotorParam 0x09 PID(0) Programs the motion parameters and values for the cur-rent in the motor’s coils

SetOtpParam 0x10 PID(0) Programs (and zaps) a selected byte of the OTP memory

SetStallParam 0x16 PID(0) Programs the motion detection parameters

SetPosition PID(3)PID(4)

Drives the motor to a given position

SetPosition2Motors PID(5) Drives two motors to two given positions

SetPosParam 0x2F PID(0) Drives the motor to a given position and programs someof the motion parameters.

SERVICE COMMANDS

Go to sleep 0x3C Drives circuit into sleep mode if <SleepEn> = 1Drives circuit into stopped mode if if <SleepEn> = 0

SoftStop 0x0F PID(1)PID(2)

Motor stopping with a deceleration phase

These commands are described hereafter, with their corresponding LIN frames. Refer to LIN Frames for more details onLIN frames, particularly for what concerns dynamic assignment of identifiers. A color coding is used to distinguish betweenmaster and slave parts within the frames and to highlight dynamic identifiers. An example is shown below.

Table 40. COLOR CODE USED IN THE DEFINITION OF LIN FRAMES

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(9)

1 Data 1 ESW StepLoss ElDef UV TSD TW Tinfo[1:0]

2 Checksum Enhanced Checksum

The Identifier is part of LIN frame header and it is always sent by LIN master.Convention: − The Identifier and Data sent by the master are in gray presented.Convention: − The Data sent by the slave is in white presented.

Page 46: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com46

The NCV70628 makes use of dynamic identifiers for allwriting and reading frames except standard LIN diagnosticand configuration frames (PIDs 0x3C and 0x7D).

Frame length and content is determined by protectedidentifier (PID). In case some commands make use of thesame PID code, the frame contains also CMD byte todistinguish these commands by command code (seeTable 39).

Some of the writing frames contain also node addressspecification in NAD byte. In means that equal identifiercodes (PIDs) can be assigned to multiple slave nodes and theNAD field determines the recipient node. This mechanismalso allows usage of broadcast NAD (0x7F) which meansthat all slave nodes that have subscribed the actual PID shallreceive the frame and execute given command.

In case of reading frames (except standard LIN diagnosticand configuration frames), all slave nodes shall have uniquePIDs assigned. Since only PID code is sent by the master andthere is no other way how to distinguish the slave node thatshall accept the frame and transmit a response. If there areat least two slave nodes on LIN bus that have equal PIDassigned to any of the reading frames, a conflict on LIN buswill occur when master transmits such PID header becauseall slave nodes will try to respond in the same time.

Structure of Common Command FramesSome NCV70628 commands have common LIN frame

structure. Thus they make use of the same PID and the actualcommand to be executed is determined by content of CMDdata field. Description of structure of such frames follows.

Table 41. STRUCTURE OF PID(0) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(0)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD Command

3 Data 1 Data byte (0xFF if unused)

4 Data 2 Data byte (0xFF if unused)

5 Data 3 Data byte (0xFF if unused)

6 Data 4 Data byte (0xFF if unused)

7 Data 5 Data byte (0xFF if unused)

8 Checksum Enhanced Checksum

Where:NAD: Node address field determines receiver node. Broadcast NAD can be used.Command: Can be 0x08 for SetDualPosition, 0x09 for SetMotorParam, 0x10 for SetOtpParam, 0x16 for

SetStallParam or 0x2F for SetPosParam.Data bytes: Different commands make use of different number of data bytes based on command parameters. If certain data

byte is not used, it shall contain value 0xFF according to LIN specification.

Table 42. STRUCTURE OF PID(1) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(1)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD Command

3 Checksum Enhanced Checksum

Where:NAD: Node address field determines receiver node. Broadcast NAD can be used.Command: Can be 0x04 for GotoSecurePosition, 0x05 for HardStop, 0x06 for ResetPosition or 0x0F for

SoftStop.

Page 47: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com47

Table 43. STRUCTURE OF PID(2) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(2)

1 CMD Command

2 Checksum Enhanced Checksum

Where:Command: Can be 0x04 for GotoSecurePosition, 0x05 for HardStop, 0x06 for ResetPosition or 0x0F for

SoftStop.

Application Commands

Read by identifier ID 0Read by identifier is a standard LIN frame used for slave

node identification. Response to this command varies basedon supplied Identifier field (ID, Byte 4). NCV70628implements only response to ID 0 which is the minimumrequired by LIN specification.

Read by identifier ID 0 provides the ability to read slavenode Supplier ID, Function ID and Variant while knowingslave node address. This can be achieved by supplying nodeaddress in NAD field and using a wildcard value for SupplierID and Function ID bytes. Slave node with specified nodeaddress shall then transmit the response to consecutivereading frame.

Table 44. READ BY IDENTIFIER ID 0 PREPARING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID 0x3C

1 NAD NAD[7:0] (0x7F if broadcast)

2 PCI 0x06

3 SID 0xB2 (Read by identifier)

4 ID 0x0 (LIN product identification)

5 Data 1 Supplier ID LSB (or wildcard)

6 Data 2 Supplier ID MSB (or wildcard)

7 Data 3 Function ID LSB (or wildcard)

8 Data 4 Function ID MSB (or wildcard)

9 Checksum Classic Checksum

Where:Supplier ID: ON Semiconductor Supplier ID is 0x0024 or wildcard value 0x7FFF can be supplied.Function ID: NCV70628 Function ID is 0x1028 or wildcard value 0xFFFF can be supplied.

Page 48: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com48

Table 45. READ BY IDENTIFIER ID 0 READING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID 0x7D

1 NAD NAD[7:0]

2 PCI 0x06

3 RSID 0xF2

4 Data 1 Supplier ID LSB

5 Data 2 Supplier ID MSB

6 Data 3 Function ID LSB

7 Data 4 Function ID MSB

8 Data 5 Variant

9 Checksum Classic Checksum

Where:NAD: Node address of responding slave.Supplier ID: ON Semiconductor Supplier ID (0x0024).Function ID: NCV70628 Function ID (0x1028).Variant: NCV70628 version (0xE1).

In case Read by identifier frame with unsupported ID (other than 0) is received by NCV70628 it shall respond with Readby identifier negative response to consecutive reading frame.

Table 46. READ BY IDENTIFIER NEGATIVE RESPONSE READING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID 0x7D

1 NAD NAD[7:0]

2 PCI 0x03

3 RSID 0x7F

4 Data 1 0xB2 (Requested SID)

5 Data 2 0x12 (Error code)

6 Data 3 0xFF

7 Data 4 0xFF

8 Data 5 0xFF

9 Checksum Classic Checksum

Where:NAD: Node address of responding slave.

GetActualPosThis command is provided to the circuit by the LIN master

to get the actual position of the stepper−motor. This position(<ActPos[15:0]>) is returned in signed two’scomplement 16−bit format. One should note that accordingto the programmed stepping mode, the LSB’s of<ActPos[15:0]> may have no meaning and should beassumed to be ‘0’, as prescribed in Position Ranges.GetActualPos also provides a quick status of the circuit

and the stepper−motor, identical to that obtained bycommand GetStatus (see further).

Note: A GetActualPos command will attempt to reset<LIN_E>, <DataE> and <BitE> flags.

GetActualPos corresponds to the following LIN readingframe.

Page 49: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com49

Table 47. GetActualPos PID(6) READING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(6)

1 Data 1 ActPos[7:0]

2 Data 2 ActPos[15:8]

3 Data 3 ESW StepLoss ElDef UV TSD TW Tinfo[1:0]

4 Data 4 Motion[2:0] Stall LIN_E UV2 UV3 VddReset

5 Checksum Enhanced Checksum

GetFullStatusThis command is provided to the circuit by the LIN master

to get a complete status of the circuit and the stepper−motor.Refer to RAM Registers and Flags Table to see the meaningof the parameters sent to the LIN master.

Note: First response to GetFullStatus command willattempt to reset flags <TW>, <TSD>, <UV2>, <UV3>,<UV>, <ElDef>, <StepLoss>, <OVC1>, <OVC2>,<VddReset>, <LIN_E>, <DataE>, <BitE>,<HeadE> and <TimE>. Second response toGetFullStatus command will attempt to reset flags<Stall> and <AbsStall>.

The master sends PID(7) reading frame.GetFullStatus corresponds to 2 successive LINin−frame responses to PID(7) reading frame. First responseframe contains FrmSeq value equal to 0. Second responseframe contains FrmSeq value equal to 1.

Note: It is not mandatory for the LIN master to initiate thesecond in−frame response if the data in the second responseframe is not needed by the application.

Note: It is recommended to poll AbsStall bit (instead of Stallbit) in case LIN Master reads GetFullStatus first responsefollowed by GetFullStatus second response.

Table 48. GetFullStatus PID(7) READING FRAME – FIRST RESPONSE

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(7)

1 Data 1 FrmSeq NAD[6:0]

2 Data 2 Irun[3:0] Ihold[3:0]

3 Data 3 Vmax[3:0] Vmin[3:0]

4 Data 4 AbsThr[3:0] Acc[3:0]

5 Data 5 Tstab[2:0] StepMode[1:0] UV3Thr[2:0]

6 Data 6 AccShape Shaft I_BOOST_ENB PWMFreq TimeE HeadE OVC1 OVC2

7 Data 7 Motion[2:0] Stall LIN_E UV2 UV3 VddReset

8 Data 8 ESW StepLoss EIDef UV TSD TW Tinfo[1:0]

9 Checksum Enhanced Checksum

Where:FrmSeq: Value is 0 to identify first response frame.NAD[6:0]: Node address LSBs.

Page 50: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com50

Table 49. GetFullStatus PID(7) READING FRAME – SECOND RESPONSE

Byte ContentStructure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(7)

1 Data 1 FrmSeq NAD[6:0]

2 Data 2 ActPos[7:0]

3 Data 3 ActPos[15:8]

4 Data 4 TagPos[7:0]

5 Data 5 TagPos[15:8]

6 Data 6 SecPos[7:0]

7 Data 7 FS2StallEn[2:0] DC100StEn LIN_E SecPos[10:8]

8 Data 8 AbsStall 1 PWMJEn DC100 MinSamples[3:0]

9 Checksum Enhanced Checksum

Where:FrmSeq: Value is 1 to identify second response frame.NAD[6:0]: Node address LSBs.

GetOtpParamThis command is provided to the circuit by the LIN master to read the content of an OTP memory of NCV70628.GetOtpParam corresponds to following LIN reading frame.

Table 50. GetOtpParam PID(8) READING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(8)

1 Data 1 OTP byte @0x00

2 Data 2 OTP byte @0x01

3 Data 3 OTP byte @0x02

4 Data 4 OTP byte @0x03

5 Data 5 OTP byte @0x04

6 Data 6 If SecPosA = 0 OTP byte @0x05, else OTP byte @0x08

7 Data 7 If SecPosA = 0 OTP byte @0x06, else OTP byte @0x09

8 Data 8 OTP byte @0x07

9 Checksum Enhanced Checksum

GetStatusThis command is provided to the circuit by the LIN master

to get a quick status (compared to that of GetFullStatuscommand) of the circuit and of the stepper−motor. Refer toFlags Table to see the meaning of the parameters sent to theLIN master.

Note: A GetStatus command will attempt to reset flags<TW>, <TSD>, <UV>, <UV2>, <UV3>, <ElDef> and<StepLoss>.

If there is only an open coil detected the <ElDef> flag willbe cleared after the GetStatus command. If <ElDef>is set due to a short on one of the coils, the <ElDef> canonly be cleared via a GetFullStatus command.

GetStatus corresponds to following LIN PID(9) frame.

Table 51. GetStatus PID(9) READING FRAME

Byte ContentStructure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(9)

1 Data 1 ESW StepLoss ElDef UV TSD TW Tinfo[1:0]

2 Checksum Enhanced Checksum

Page 51: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com51

GetBemfThis command is provided to the circuit by the LIN master

to get a result of last back EMF measurement. The Coil bitdetermines whether the measurement was performed on coil

X (Coil = 0) or Y (Coil = 1). Refer to Flags Table to see themeaning of the parameters sent to the LIN master.

GetBemf corresponds to following LIN PID(10) frame.

Table 52. GetBemf PID(10) READING FRAME

Byte ContentStructure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(10)

1 Data 1 1 BEMF_DC100 Coil BEMF_OUT[4:0]

2 Checksum Enhanced Checksum

GotoSecurePositionThis command is provided by the LIN master to one, all

or a group of the stepper−motors to move to the secureposition <SecPos[10:0]>. It can also be internallytriggered if the LIN bus communication is lost, after aninitialization phase, or prior to going into sleep mode. Seethe priority encoder description for more details. Thepriority encoder table also acknowledges the cases where aGotoSecurePosition command will be ignored. Thiscommand is executed regardless of <SecEn> value.

Note: One slave node can be addressed using its nodeaddress in NAD field of PID(1) writing frame. All slavenodes can be addressed using broadcast NAD in PID(1)writing frame. A certain group of nodes can be addressed byfirst assigning equal PID(2) code and then issuing PID(2)writing frame.

GotoSecurePosition corresponds to the following LINPID(1) and PID(2) writing frames.

Table 53. GotoSecurePosition PID(1) WRITING FRAME

Byte ContentStructure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(1)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x04

3 Checksum Enhanced Checksum

Table 54. GotoSecurePosition PID(2) WRITING FRAME

Byte ContentStructure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(2)

1 CMD 0x04

2 Checksum Enhanced Checksum

HardStopThis command will be internally triggered when an

electrical problem is detected in one or both coils, leading toshutdown mode. If this occurs while the motor is moving,the <StepLoss> flag is raised to allow warning of the LINmaster at the next GetStatus command that steps mayhave been lost. Once the motor is stopped, <ActPos>register is copied into <TagPos> register to ensure keepingthe stop position. A HardStop command can also beissued by the LIN master for some safety reasons.

Note: One slave node can be addressed using its nodeaddress in NAD field of PID(1) writing frame. All slavenodes can be addressed using broadcast NAD in PID(1)writing frame. A certain group of nodes can be addressed byfirst assigning equal PID(2) code and then issuing PID(2)writing frame.

HardStop corresponds to the following LIN PID(1) andPID(2) writing frames.

Page 52: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com52

Table 55. HardStop PID(1) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(1)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x05

3 Checksum Enhanced Checksum

Table 56. HardStop PID(2) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(2)

1 CMD 0x05

2 Checksum Enhanced Checksum

ResetPositionThis command is provided to the circuit by the LIN master

to reset <ActPos> and <TagPos> registers to zero. Thiscan be helpful to prepare for instance a relative positioning.The reset position command sets the internal flag“Reference done”.

Note: One slave node can be addressed using its nodeaddress in NAD field of PID(1) writing frame. All slavenodes can be addressed using broadcast NAD in PID(1)writing frame. A certain group of nodes can be addressed byfirst assigning equal PID(2) code and then issuing PID(2)writing frame.

ResetPosition corresponds to the following LIN PID(1) and PID(2) writing frames.

Table 57. ResetPosition PID(1) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(1)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x06

3 Checksum Enhanced Checksum

Table 58. ResetPosition PID(2) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(2)

1 CMD 0x06

2 Checksum Enhanced Checksum

SetDualPositionThis command is provided to the circuit by the LIN master

in order to perform a positioning of the motor using twodifferent velocities. See Dual Positioning. After Dualpositioning the internal flag “Reference done” is set.

Note: This sequence cannot be interrupted by anotherpositioning command.

Page 53: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com53

SetDualPosition corresponds to the following LIN PID(0) writing frame.

Table 59. SetDualPosition PID(0) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(0)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x08

3 Data 1 Vmax[3:0] Vmin[3:0]

4 Data 2 Pos1[7:0]

5 Data 3 Pos1[15:8]

6 Data 4 Pos2[7:0]

7 Data 5 Pos2[15:8]

8 Checksum Enhanced Checksum

Where:Vmax[3:0]: Max velocity for first motionVmin[3:0]: Min velocity for first motion and velocity for the second motionPos1[15:0]: First position to be reached during the first motionPos2[15:0]: Relative position of the second motion

SetMotorParamThis command is provided to the circuit by the LIN master

to set the values for the stepper motor parameters (listedbelow) in RAM. Refer to RAM Registers to see the meaningof the parameters sent by the LIN master.

Important: If a SetMotorParam occurs while a motion isongoing, it will modify at once the motion parameters (see

Position Controller). Therefore the application should notchange other parameters than <Vmax> and <Vmin> whilea motion is running, otherwise correct positioning cannot beguaranteed.

SetMotorParam corresponds to the following LIN PID(0)writing frame.

Table 60. SetMotorParam PID(0) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(0)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x09

3 Data 1 Irun[3:0] Ihold[3:0]

4 Data 2 Vmax[3:0] Vmin[3:0]

5 Data 3 AccShape Shaft I_BOOST_ENB PWMFreq Acc[3:0]

6 Data 4 SecPos[7:0]

7 Data 5 TStab[2:0] StepMode[1:0] SecPos[10:8]

8 Checksum Enhanced Checksum

Page 54: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com54

SetOtpParamThis command is provided to the circuit by the LIN master

to program the content of the OTP memory byte on addressOTPA[3:0] and to zap it.

Important: This command must be sent under a specificVBB voltage value. See parameter VBBOTP in DC

Parameters. This is a mandatory condition to ensure reliablezapping.

SetOtpParam corresponds to the following LIN PID(0)writing frame.

Table 61. SetOtpParam PID(0) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(0)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x10

3 Data 1 1 1 1 1 OTPA[3:0]

4 Data 2 D[7:0]

5 Data 3 0xFF

6 Data 4 0xFF

7 Data 5 0xFF

8 Checksum Enhanced Checksum

Where:OTPA[3:0]: Address of OTP memory byte.D[7:0]: Data to be programmed into OTP memory byte.

SetStallParamThis command sets the motion detection parameters and

the related stepper−motor parameters, such as the minimumand maximum velocity, the run and hold current,

acceleration and step mode. See Motion detection for themeaning of the parameters sent by the LIN Master.

SetStallParam corresponds to the following LIN PID(0)writing frame.

Table 62. SetStallParam PID(0) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(0)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x16

3 Data 1 Irun[3:0] Ihold[3:0]

4 Data 2 Vmax[3:0] Vmin[3:0]

5 Data 3 AbsThr[3:0] Acc[3:0]

6 Data 4 FS2StallEn[2:0] DC100StEn MinSamples[3:0]

7 Data 5 AccShape Shaft PWMJEn StepMode[1:0] UV3Thr[2:0]

8 Checksum Enhanced Checksum

SetPositionThis command is provided to the circuit by the LIN master

to drive one, all or a group of motors to one given absoluteposition. See Positioning for more details. The priorityencoder table (see Priority Encoder) describes the caseswhere a SetPosition command will be ignored.

Note: One slave node can be addressed using its nodeaddress in NAD field of PID(3) writing frame. All slave

nodes can be addressed using broadcast NAD in PID(3)writing frame. A certain group of nodes can be addressed byfirst assigning equal PID(4) code and then issuing PID(4)writing frame.

SetPosition corresponds to the following PID(3) and PID(4)LIN writing frames.

Page 55: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com55

Table 63. SetPosition PID(3) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(3)

1 NAD NAD[7:0] (0x7F for broadcast)

2 Data 1 Pos[7:0]

3 Data 2 Pos[15:8]

4 Checksum Enhanced Checksum

Table 64. SetPosition PID(4) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(4)

1 Data 1 Pos[7:0]

2 Data 2 Pos[15:8]

3 Checksum Enhanced Checksum

SetPosition2MotorsThis command is provided to the circuit by the LIN Master

to drive two motors to a given absolute position. SeePositioning for more details.

The priority encoder table (see Priority Encoder)describes the cases where a SetPosition2Motorscommand will be ignored.

SetPosition2Motors corresponds to the following PID(5)LIN writing frame.

Table 65. SetPosition2Motors PID(5) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(5)

1 Data 1 NAD1[7:0] (broadcast not allowed, broadcast NAD will cause the command will be ignored)

2 Data 2 Pos1[7:0]

3 Data 3 Pos1[15:8]

4 Data 4 NAD2[7:0] (broadcast not allowed, broadcast NAD will cause the command will be ignored)

5 Data 5 Pos2[7:0]

6 Data 6 Pos2[15:8]

7 Checksum Enhanced Checksum

Where:NAD1[7:0]: Node address of the first slave. In case broadcast NAD is used, the slave node will ignore this command though

slave node specified by NAD2[7:0] shall perform the command anyway.NAD2[7:0]: Node address of the second slave. In case broadcast NAD is used, the slave node will ignore this command

though slave node specified by NAD1[7:0] shall perform the command anyway.Pos1[15:0]: Signed 16−bit target position of first motor.Pos2[15:0]: Signed 16−bit target position of second motor.

SetPosParamThis command is provided to the circuit by the

LIN Master to drive one motor to a given absolute position.It also sets some of the values for the stepper motorparameters such as minimum and maximum velocity.

SetPosParam corresponds to the following PID(0) LINwriting frame.

Page 56: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com56

Table 66. SetPosParam PID(0) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(0)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x2F

3 Data 1 Pos[7:0]

4 Data 2 Pos[15:8]

5 Data 3 Vmax[3:0] Vmin[3:0]

6 Data 4 AbsThr[3:0] Acc[3:0]

7 Data 5 0xFF

8 Checksum Enhanced Checksum

Where:Pos[15:0]: Signed 16−bit position set−point.

Go to SleepThis command is provided to the circuit by the LIN master

to put all the slave nodes connected to the LIN bus into sleepmode. If this command occurs during a motion of the motor,TagPos is reprogrammed to SecPos (provided SecPosis different from “100 0000 0000”), or a SoftStop isexecuted before going to sleep mode. See LIN specificationrev. 2.2 and Sleep Mode. The corresponding LIN frame is amaster request command frame (identifier 0x3C) with

data byte 1 containing value 0x00 while the following databytes contain value 0xFF. However, according to LINspecification, slave node shall not verify whether the latterdata bytes contain value 0xFF and shall accept the requestanyway.

Note: <SleepEn> needs to be set to 1 in order to allow thedevice to go to sleep. If <SleepEn> is 0 the device will gointo “stopped state”.

Table 67. GO TO SLEEP MASTER REQUEST FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID 0x3C

1 NAD 0x00 (Go to sleep)

2 Data 1 0xFF

3 Data 2 0xFF

4 Data 3 0xFF

5 Data 4 0xFF

6 Data 5 0xFF

7 Data 6 0xFF

8 Data 7 0xFF

9 Checksum Classic Checksum

Page 57: NCV70628 - Micro-stepping Motor Driver

NCV70628

www.onsemi.com57

SoftStopIf a SoftStop command occurs during a motion of the

stepper motor, it provokes an immediate deceleration toVmin (see Minimum Velocity) followed by a stop,regardless of the position reached. Once the motor isstopped, TagPos register is overwritten with value inActPos register to ensure keeping the stop position.

Command SoftStop occurs in the following cases:• The chip temperature rises above the thermal shutdown

threshold (see DC Parameters and TemperatureManagement);

• The VBB drops under the UV3 level; (see DCParameters and Battery Voltage Management);

• The LIN master requests a SoftStop. HenceSoftStop will correspond to the following LINPID(1) and PID(2) writing frames.

Note: One slave node can be addressed using its nodeaddress in NAD field of PID(1) writing frame. All slavenodes can be addressed using broadcast NAD in PID(1)writing frame. A certain group of nodes can be addressed byfirst assigning equal PID(2) code and then issuing PID(2)writing frame.

Note: A SoftStop command occurring during a DualPositioning sequence is not taken into account.

Table 68. SoftStop PID(1) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(1)

1 NAD NAD[7:0] (0x7F for broadcast)

2 CMD 0x0F

3 Checksum Enhanced Checksum

Table 69. SoftStop PID(2) WRITING FRAME

Byte Content

Structure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0 PID PID(2)

1 CMD 0x0F

2 Checksum Enhanced Checksum

Page 58: NCV70628 - Micro-stepping Motor Driver

ÉÉÉÉÉÉÉÉÉ

QFNW32 5x5, 0.5PCASE 484AB

ISSUE DDATE 07 SEP 2018

SCALE 2:1

SEATINGNOTE 4

K

(A3)A

D2

b

1

9

17

32

XXXXXXXXXXXXXXXXAWLYYWW�

1

GENERICMARKING DIAGRAM*

XXXXX = Specific Device CodeA = Assembly LocationWL = Wafer LotYY = YearWW = Work Week� = Pb−Free Package

E2

32X

8L32X

BOTTOM VIEW

TOP VIEW

SIDE VIEW

D A

B

E

PIN ONEREFERENCE

0.10 C

0.08 CC

25

e

NOTES:1. DIMENSIONS AND TOLERANCING PER

ASME Y14.5M, 1994.2. CONTROLLING DIMENSION: MILLIMETERS.3. DIMENSION b APPLIES TO PLATED

TERMINAL AND IS MEASURED BETWEEN0.10 AND 0.20MM FROM THE TERMINAL TIP.

4. COPLANARITY APPLIES TO THE EXPOSEDPAD AS WELL AS THE TERMINALS.

321

PLANE

*For additional information on our Pb−Free strategy and solderingdetails, please download the ON Semiconductor Soldering andMounting Techniques Reference Manual, SOLDERRM/D.

SOLDERING FOOTPRINT*

0.50

3.35

0.30

3.35

32X

0.6332X

5.30

5.30(Note: Microdot may be in either location)

e/2NOTE 3

PITCHDIMENSION: MILLIMETERS

RECOMMENDED

AM0.10 BCM0.05 C

1

PACKAGEOUTLINE

ALTERNATECONSTRUCTION

DETAIL A

L3

SECTION C−C

PLATED

A4

SURFACES

L3

L4

L3

L4

L

DETAIL B

PLATING

EXPOSED

ALTERNATECONSTRUCTION

COPPER

A4A1

A4A1

L

CC

DETAIL B

DIM MIN NOMMILLIMETERS

A 0.80 0.90A1 −−− −−−

b 0.20 0.25DD2 3.00 3.10E

E2 3.00 3.10e 0.50 BSC

L 0.30 0.40

A3 0.20 REF

4.90 5.00

K

A4

L3

MAX

4.90 5.00

1.000.05

0.30

3.20

3.20

0.50

5.10

5.10

0.35 −−− −−−

−−− −−− 0.10

0.10 −−− −−−

L4 0.08 REF

DETAIL A

*This information is generic. Please refer todevice data sheet for actual part marking.Pb−Free indicator, “G” or microdot “�”, mayor may not be present. Some products maynot follow the Generic Marking.

A3

MECHANICAL CASE OUTLINE

PACKAGE DIMENSIONS

ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries.ON Semiconductor reserves the right to make changes without further notice to any products herein. ON Semiconductor makes no warranty, representation or guarantee regardingthe suitability of its products for any particular purpose, nor does ON Semiconductor assume any liability arising out of the application or use of any product or circuit, and specificallydisclaims any and all liability, including without limitation special, consequential or incidental damages. ON Semiconductor does not convey any license under its patent rights nor therights of others.

98AON14940GDOCUMENT NUMBER:

DESCRIPTION:

Electronic versions are uncontrolled except when accessed directly from the Document Repository.Printed versions are uncontrolled except when stamped “CONTROLLED COPY” in red.

PAGE 1 OF 1QFNW32 5x5, 0.5P

© Semiconductor Components Industries, LLC, 2018 www.onsemi.com

Page 59: NCV70628 - Micro-stepping Motor Driver

onsemi, , and other names, marks, and brands are registered and/or common law trademarks of Semiconductor Components Industries, LLC dba “onsemi” or its affiliatesand/or subsidiaries in the United States and/or other countries. onsemi owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property.A listing of onsemi’s product/patent coverage may be accessed at www.onsemi.com/site/pdf/Patent−Marking.pdf. onsemi reserves the right to make changes at any time to anyproducts or information herein, without notice. The information herein is provided “as−is” and onsemi makes no warranty, representation or guarantee regarding the accuracy of theinformation, product features, availability, functionality, or suitability of its products for any particular purpose, nor does onsemi assume any liability arising out of the application or useof any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. Buyer is responsible for its productsand applications using onsemi products, including compliance with all laws, regulations and safety requirements or standards, regardless of any support or applications informationprovided by onsemi. “Typical” parameters which may be provided in onsemi data sheets and/or specifications can and do vary in different applications and actual performance mayvary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. onsemi does not convey any licenseunder any of its intellectual property rights nor the rights of others. onsemi products are not designed, intended, or authorized for use as a critical component in life support systemsor any FDA Class 3 medical devices or medical devices with a same or similar classification in a foreign jurisdiction or any devices intended for implantation in the human body. ShouldBuyer purchase or use onsemi products for any such unintended or unauthorized application, Buyer shall indemnify and hold onsemi and its officers, employees, subsidiaries, affiliates,and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or deathassociated with such unintended or unauthorized use, even if such claim alleges that onsemi was negligent regarding the design or manufacture of the part. onsemi is an EqualOpportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner.

PUBLICATION ORDERING INFORMATIONTECHNICAL SUPPORTNorth American Technical Support:Voice Mail: 1 800−282−9855 Toll Free USA/CanadaPhone: 011 421 33 790 2910

LITERATURE FULFILLMENT:Email Requests to: [email protected]

onsemi Website: www.onsemi.com

Europe, Middle East and Africa Technical Support:Phone: 00421 33 790 2910For additional information, please contact your local Sales Representative