STMICROELECTRONICS L8229

L8229
Dual DMOS full bridge stepper/DC motor driver
Preliminary Data
Features
■
Flexible Motor Driver configurations:
– Dual Full Bridge for one bipolar Stepping motor.
– Dual or single DC motor driver.
■
Programmable by two input pins to achieve
one of the following functionalities:
– Pin to pin compatible with ST L6219 or
– Stepping motor direct control with 8 current
levels or
– Driver parameters control by means of
Serial Port.
■
Mixed Decay.
■
Micro stepping function.
■
BCD5 technology (No Charge Pump required).
■
Supply Range from 8V to 38V.
■
IOUT up to 1.2A (1.5A peak).
■
RDSon= 0.85Ω (typ) for each switch.
■
Input logic level compatible with 3.3V or 5V
control signals.
■
Package: PwSSO24.
)
s
(
ct
Description
t
e
l
o
bs
O
c
u
d
)
s
t(
o
r
P
o
s
b
O
-
By connecting to Vcc or to Gnd two program pins
(pin 7 and 18) the user has the possibility to set
up the device in different configurations.
1. The first configuration is an identical
application of ST L6219 but with increased
current. In this configuration L8229 provides
a continuous current of the output stage up
to 1.2A (1.5A peak).
2. The second configuration allows a
functionality similar to previous one but with
the possibility of choosing 8 different current
r
P
e
levels to perform a more accurate stepping
functionality. This is achieved by multiplexing
the input pins dedicated to set the level of the
current. Additionally the user can set the
mixed mode decay for current recirculation.
3,4. The third and fourth configurations are
intended to provide a very flexible
programming for several parameters useful
to drive different kind of Stepping and DC
motors. This is achieved by means of a serial
port interface that allows the user to
configure the following parameters:
a) Current levels (32 values for each
bridge).
b) Current direction.
c) Type of decay for Stepping motors
(Mix/Slow) or for DC motors (Fast/Slow).
d) Vref input (Ext/Int).
e) Vref divider (:5/:10).
f)
Blanking time (4 values).
g) Oscillator freq divider (4 values).
h) Off time (32 values).
i)
Fast decay time (16 values).
j)
Syncronous rectification.
e
t
le
This IC is designed to be very flexible in driving
Stepping or DC motors.
u
d
o
PwSSO24
The functionalities of the two configurations are
identical except that the internal bit address (first
bit of SPI words) can be programmed to be 1 or 0:
this enables two different L8229 to share a
common serial bus.
Order code
Part number
Package
Packing
L8229
PwSSO24
Tube
September 2006
Rev 5
This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to
change without notice.
1/42
www.st.com
1
Contents
L8229
Contents
1
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2
Operating ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3
General electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3.1
Output Drivers (OUTA or OUTB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3.2
Control Logic pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3.3
Analog Input Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3.4
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
c
u
d
)
s
t(
o
r
P
4
L6219_HI and L6219_8 modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5
L6219_HI and L6219_8 Electrical characteristics . . . . . . . . . . . . . . . . . 14
6
e
t
le
5.1
DC specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.2
AC/transient specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
L6219_HI mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
)
s
(
ct
6.1
Input Logic (I0 and I1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.2
Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.3
Current Sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.5
t
e
l
o
6.6
s
b
O
8
Single-pulse Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Output Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Vs, Vcc, Vref . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
L6219_8 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.1
8 Level Current Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.2
Mixed Decay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
L8229_0 and L8229_1 modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8.1
2/42
u
d
o
r
P
e
6.4
7
o
s
b
O
-
Serial interface specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
L8229
Contents
8.2
SPI Bit definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.2.1
Word Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.2.2
W0 (OPERATIVE: Bit 2=0, Bit 1=0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.3
W1 (PARAMETERS: Bit 2=0, Bit 1=1) . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.4
W2 (FUNCTIONAL: Bit 2=1, Bit 1=0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.4.1
9
Reading back SPI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
SPI programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.1
Current Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.2
Timings Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
9.3
Decay Modes and Synchronous Rectification . . . . . . . . . . . . . . . . . . . . . 33
9.4
Mixed Decay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
)
s
t(
1) ACTIVE SYNC recirculation could be divided in following cases. . . . . . . . . . . . 35
2) - PASSIVE SYNC recirculation could be divided in following cases:. . . . . . . . . 36
c
u
d
3) - SYNC OFF recirculation has only one case: . . . . . . . . . . . . . . . . . . . . . . . . . . 36
o
r
P
4) LOW SIDE recirculation has only one case: . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.5
Slow Decay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
e
t
le
1) ACTIVE SYNC recirculation is not allowed.. . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2) PASSIVE SYNC recirculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
o
s
b
O
-
3) SYNC OFF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4) LOW SIDE is identical to PASSIVE SYNC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
)
s
(
ct
10
DC Motor Driver operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
11
Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
12
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
u
d
o
r
P
e
t
e
l
o
s
b
O
3/42
List of tables
L8229
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
Table 12.
Table 13.
Table 14.
Table 15.
Table 16.
Table 17.
Table 18.
Table 19.
Table 20.
Table 21.
Table 22.
Table 23.
Table 24.
Table 25.
Table 26.
Table 27.
Table 28.
Table 29.
Table 30.
Table 31.
Table 32.
Table 33.
Table 34.
Table 35.
Table 36.
Table 37.
Table 38.
Table 39.
Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Programmable modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Operating ratings (0°C £ Tj £ 125°C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Output Drivers (OUTA or OUTB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Control Logic pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Analog Input Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
DC specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
AC/transient specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Input Logic (I0 and I1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Current levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
AC/Transient Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Timing specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
DC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
AC/Transient Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
SPI Timing specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Word Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
W0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
W1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
W2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Motor mode selected by W2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Nsleep mode selected by W1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Brake mode selected by W1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Vref mode selected by W2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Range mode selected by W2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Current direction selected by W0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Current levels selected by W0 for DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Oscillator frequency selected by W2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Blanking time selected by W2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Fast decay time selected by W1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Toff time selected by W1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Stepping decay mode selected by W2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
DC decay mode selected by W2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Sync rectification selected by W1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
DC Motor Drivers - DC Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
DC Motor Drivers - AC/Transient Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
DC Motor Drivers Truth Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
c
u
d
e
t
le
)
s
(
ct
t
e
l
o
r
P
e
s
b
O
4/42
u
d
o
o
s
b
O
-
o
r
P
)
s
t(
L8229
List of figures
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin Connection (Top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Ton and Toff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Half and Full Step Drive with Imax=1.2A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Normal conduction and slow recirculation current paths. . . . . . . . . . . . . . . . . . . . . . . . . . . 17
L6219_8 mode Stepping Driving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
L6219_8 mode Fast and Slow Decay current paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
SPI Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Active and Passive synchronous rectification during Mixed Decay. . . . . . . . . . . . . . . . . . . 34
PowerSSO24 Mechanical Data & Package Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . 40
c
u
d
e
t
le
)
s
(
ct
)
s
t(
o
r
P
o
s
b
O
-
u
d
o
r
P
e
t
e
l
o
s
b
O
5/42
Block diagram
L8229
1
Block diagram
Figure 1.
Block Diagram
Analog Toff
VREFDEC
RC1
VS
VH
VS
VL
VREF1
M
U
X
2 / 7.5
DAC5
+
2V
Pre
Driver
S Q
OUT1A
R
OUT1B
COMPIN1
SENSE1
Digital Control
Digital Prog Toff
PROG1
PROG2
00
I01
I11
I02
I12
01
10
Serial Port
I01
I11
I02
I12
PHA1
PHA2
I01
I11
STB
II2
PHA1
PHA2
PWM1
PWM2
STB
II2
PHA1
PHA2
COMPIN1
Osc Freq Select
Stepper/DC Select
Decay Ctrl
Toff Select
Tfastdec Select
Synch Rect Select
Test Mode
DAC Select
11
PWM1
PWM2
SCLK
SDI
OSC
nCS
c
u
d
VS
e
t
le
Digital Prog`
Toff
ADDR
4MHz
Pre
Driver
so
COMPIN2
R
2 / 7.5
DAC5
S Q
-
VREF2
M
U
X
+
2V
VL
VH
VREFDEC
(s)
RC2
t
c
u
VREFDEC
od
Note:
o
r
P
OUT2A
OUT2B
SENSE2
Test Mux
COMPIN2
4MHz
2V
Tshut
Int Osc
Temp Mon
Analog Toff
UV
GND
Bandgap
UVLO
GND
VCC
The sensing resistors used for the stepping motor configurations must be not inductive.
t
e
l
o
s
b
O
6/42
r
P
e
b
O
-
)
s
t(
L8229
Pin description
2
Pin description
Figure 2.
Note:
Pin Connection (Top view)
OUT1A
1
24
VS (Load Supply)
OUT2A
2
23
SENSE1
SENSE2
3
22
COMPIN1
COMPIN2
4
21
OUT1B
OUT2B
5
20
I01/I01/PWM1
GND
6
19
GND
PROG1
7
18
PROG2
IO2/STB/SCLK
8
17
I11/I11/PWM2
I12 /I12/SDI
9
16
PHASE1/PHASE1 /OSC
PHASE2 /PHASE2/nCS
10
15
VREF1/VREFCOM/VREF1
VREF2/VREFDEC/VREF2
11
14
RC1/RC1/nRESET
RC2/RC2/FAULT
12
13
VCC (Logic Supply)
o
r
P
The pin functionality is different according to different configurations, so the relative pin
function and name are different: the first name is relative to first configuration (L6219_HI),
the second name is relative to second configuration (L6219_8), and the third name is
relative to third and fourth configuration (L8229_0 and L8229_1).
e
t
le
Table 1.
Pin Description
L6219_HI
Pin N#
(Pin7&18=00) (Pin7&18=01)
2
OUT2A
4
t
e
l
o
5
s
b
O
7
Function
Motor Driver Bridge 1 Output A.
od
SENSE2
Motor Driver Bridge 2 Sense Resistor.
COMPIN2
Current Comparator input for Bridge2.
r
P
e
3
(s)
(Pin7&18=10
or 11)
t
c
u
OUT1A
o
s
b
O
-
L8229_x
L6219_8
1
6
c
u
d
)
s
t(
Motor Driver Bridge 2 Output A.
OUT2B
Motor Driver Bridge 2 Output B.
GND
Ground.
Configuration Program pin. When used together with pin
18, it programs device into one of the four configurations
(see following Programmable Modes table)
PROG1
8
IO2
STB
SCLK
I02: Current level control bit for Bridge 2.
STB: Strobe input pin for current setting.
SCLK: Clock input pin for serial protocol.
9
I12
I12
SDI
I12: Current level control bit for Bridge 2.
SDI: Data input pin for serial protocol.
7/42
Pin description
Table 1.
L8229
Pin Description (continued)
L6219_HI
Pin N#
L8229_x
L6219_8
(Pin7&18=00) (Pin7&18=01)
Function
(Pin7&18=10
or 11)
PHASE2: Direction input control pin for Bridge 2.
nCS: Chip Select input pin for serial protocol.
10
PHASE2
PHASE2
nCS
11
VREF2
VREFDEC
VREF2
VREF2: Reference voltage input for Bridge 2.
VREFDEC: Mixed Decay Reference voltage for both
Bridges 1 and 2.
12
RC2
RC2
FAULT
RC2: Toff input pin for Bridge 2.
FAULT: This pin is high when a generic fault is present.
13
VCC
Logic and Low voltage analog Supply.
14
RC1
RC1
nRESET
15
VREF1
VREFCOM
VREF1
16
PHASE1
PHASE1
OSC
17
I11
I11
PWM2
18
PROG2
19
GND
20
I01
21
t
e
l
o
24
Note:
s
b
O
8/42
I01
c
u
d
PHASE1: Direction input control pin for Bridge 1.
OSC: Input for external oscillator used for timings.
o
r
P
I11: Current level control bit for Bridge 1.
PWM2: PWM input control pin for Bridge 2 when used as
a DC motor driver.
e
t
le
Configuration Program pin. When used together with pin
7, it programs device into one of the four configurations
(see following Programmable Modes table).
(s)
t
c
u
d
o
r
P
e
23
o
s
b
O
-
PWM1
I01: Current level control bit for Bridge 1.
PWM1: PWM input control pin for bridge 1 when used as
a DC motor driver
Motor Driver Bridge 1 Output B.
COMPIN1
Current Comparator input for Bridge1.
SENSE1
Motor Driver Bridge 1 Sense Resistor.
VS
)
s
t(
VREF1: Reference voltage input for Bridge 1.
VREFCOM: Common Reference voltage input for both
Bridges 1 and 2.
Ground.
OUT1B
22
RC1: Toff input pin for Bridge 1.
nRESET: Input pin for reset of serial port.
Supply voltage for output stages.
ESD on pin PROG1 vs. VS is guaranteed up to +2KV/-1.75KV (Human Body Model,
1500Ohm, 100pF)
L8229
Pin description
Table 2.
Programmable modes
Pin #7
PROG1
Pin # 18
PROG2
0
0
L6219 compatible
(up to 1.2A Iout)
L6219_HI
1 x Stepping
MotorDriver.
0
1
L6219 like with 8 current levels
(up to 1.2A Iout) and Mixed
Decay.
L6219_8
1 x Stepping
MotorDriver.
1
0
SPI operation, Chip Address = 0
L8229_0
1 x Stepping
MotorDriver or 2 x DC
Motor Driver.
1
1
SPI operation, Chip Address = 1
L8229_1
1 x Stepping
MotorDriver or 2 x DC
Motor Driver.
Description
Mode name
Drive Configurations
c
u
d
e
t
le
)
s
(
ct
)
s
t(
o
r
P
o
s
b
O
-
u
d
o
r
P
e
t
e
l
o
s
b
O
9/42
Electrical Characteristics
3
L8229
Electrical Characteristics
Independently from the selected configurations, L8229 has some electrical characteristics
that are common for all modes. These are listed below while specific characteristics are
listed in their respective functionality descriptions.
In all modes L8229 is powered by Vs supply voltage. The anti cross-conduction delay is
controlled to provide sufficient time for cross-conduction suppression so that at no time both
the upper and lower output devices (on the same side of the H bridge) are allowed to
conduct simultaneously.
During an over-temperature event, when the device Tj is above Tj(shutdown), the internal
thermal protection circuit disables the drive outputs until the device temperature drops below
the lower thermal threshold temperature.
Note:
The programming pins, PROG1 and PROG2, must be soldered to Vcc or to GND and must
not be driven when supplies are on.
3.1
Absolute maximum ratings
Table 3.
c
u
d
Absolute maximum ratings
Symbol
Parameter
Vs
Supply voltage (including ripple).
Vcc
Logic and Low voltage analog supply voltage
Ipeak
Vref
Vsense
Vin
so
Motor Driver Output Peak Current (see Note
Vref input voltage.
Vsense output voltage.
)
s
(
ct
Logic input voltage.
e
t
le
)
s
t(
o
r
P
Value
Unit
40
V
7
V
1.5
A
7.5
V
2
V
-0.3 to +7
V
(1)).
b
O
-
Tj
Junction Temperature.
170
°C
Tstg
Storage Temperature.
-25 to 150
°C
u
d
o
1. This peak current is intended as start up current for max 1 second with D.C. ≤10%
3.2
r
P
e
Operating ratings
t
e
l
o
Table 4.
bs
Operating ratings (0°C ≤ Tj ≤ 125°C)
Symbol
Parameter
Vs
Supply voltage (including ripple).
Vcc
Logic and Low voltage analog
supply voltage.
I_Vs
Vs Standby Current
O
10/42
Test Condition
L8229_0/1 configuration
Sleep mode:
NSLEEP (W1, bit3) = 0
Min.
Typ.
Max.
Unit
8.5
32
38
V
3.135
5
5.25
V
3
6
mA
L8229
Electrical Characteristics
Operating ratings (0°C ≤ Tj ≤ 125°C) (continued)
Table 4.
Symbol
Parameter
Test Condition
I_VccL6219
Vcc total supply current
(L6219_HI and L6219_8 modes)
Vcc total supply current
I_VccL8229_0/1
(L8229_0 or L8229_1 mode)
Vin
Logic input voltage
Iout
Motor Driver Output Current
(continuous)
3.3
Min.
Typ.
Max.
Unit
Vcc=5.25V
7
mA
Vcc=5.25V
7
mA
Vcc=5.25V,
NSLEEP (W1, bit3) = 0
3
mA
Vcc
V
1.2
A
0
General electrical characteristics
(0°C ≤ Tj ≤ 125°C, VS = 32V, unless otherwise specified)
3.3.1
Output Drivers (OUTA or OUTB)
Table 5.
Output Drivers (OUTA or OUTB)
Symbol
Parameter
Test Condition
Output ON Resistance
(Tj = 70 °C)
Sink Driver, ILOAD =+1.2A
Icex
Output leakage current
Vout = Vs or Gnd
e
t
le
so
Typ.
Max.
Unit
1.3
Ω
1.3
Ω
50
b
O
-
µA
Sink Diode, IF = 1.2A
1
1.5
V
Source Diode, IF = 1.2A
1
1.5
V
100
350
ns
75
300
ns
Body Diode Forward Voltage
VF
o
r
P
Min.
Source Driver, ILOAD =-1.2A
RDSON
c
u
d
)
s
t(
Vs=12V, RL=12Ω connected to
Vs or Gnd
tr
Output rising time
u
d
o
r
P
e
tf
t
e
l
o
s
b
O
Tdead
)
s
(
ct
Output falling time
Shoot through delay
Vs=24V, RL=38Ω connected to
Vs or Gnd
Vs=36V, RL=58Ω connected to
Vs or Gnd
Vs=12V, RL=12Ω connected to
Vs or Gnd
Vs=24V, RL=38Ω connected to
Vs or Gnd
Vs=36V, RL=58Ω connected to
Vs or Gnd
1
µA
11/42
Electrical Characteristics
L8229
3.3.2
Control Logic pins
Table 6.
Control Logic pins
Symbol
Parameter
Test Condition
VIN (H)
Input Voltage
All logic input for
Vcc = 3.3V or 5V.
VIN (L)
Input Voltage
All logic input for
Vcc = 3.3V or 5V.
IIN (H)
Input Current
VIN = 2.0V
IIN (L)
Input Current
VIN = 0.8V
Isdi
Min.
Analog Input Pins
Table 7.
Analog Input Pins
Symbol
Description
Vref
Vref Input Voltage
IVref
Vref Input Current
Icompin
Vcompin Input Current
Vsense
Vsense Input Voltage
Isense
Vsense Output Current
General
Table 8.
General
0.8
V
-20
20
µA
-20
20
µA
-200
50
µA
Min.
Vref = 5.0V
Vcompin Input Voltage
3.3.4
Condition
e
t
le
Typ.
)
s
(
ct
Parameter
Vsc_off
Sense comparator offset
Vs_UV
Vs_UVhys
Max.
Unit
7.5
)
s
t(
V
200
µA
0.75
V
20
µA
0.75
V
100
µA
Max.
Unit
c
u
d
o
r
P
so
Symbol
Unit
V
1.5
Vcompin
Max.
2
SDI Input Current
3.3.3
Typ.
1
50
b
O
-
du
Test Condition
Min.
Typ.
±10
mV
Vs undervoltage threshold
7.5
V
Vs undervoltage hysteresis
300
mV
o
r
P
e
t
e
l
o
Vcc_UV
Vcc undervoltage threshold
2.9
V
Vcc_UVhys
Vcc undervoltage hysteresis
150
mV
bs
Thermal shutdown junction
temperature
160
°C
Thermal enable junction temperature
hysteresis
25
°C
Tj(shutdown)
O
Tj(enable_
hysteresis)
12/42
L8229
4
L6219_HI and L6219_8 modes
L6219_HI and L6219_8 modes
When configured in one of these modes the device has a functionality similar to ST L6219
with some improvements. The output stage is made by LDMOS devices instead of the BJT
present in ST L6219. This allows a reduced saturation drop and an higher current handling
with similar power dissipation. Additionally the recirculation diodes are internally available as
a part of the LDMOS structure.
In case of:
a)
Undervoltage detection (UVD) or
b)
Thermal shutdown (TSD),
the outputs will be in Hi-Z mode (all outputs off) respectively until the supplies voltage goes
over the UV threshold plus hysteresis or the themperature decreases below TSD threshold
minus hysteresis.
In case of:
c)
Overcurrent detection (OCD)
)
s
t(
the outputs will be in Hi-Z mode (all outputs off) and will remain in this condition until the
device is reset by turning off and on VCC supply voltage.
c
u
d
Common electrical characteristics of both L6219_HI and L6219_8 modes are listed below,
while specific characteristics are listed in their respective functionality descriptions.
e
t
le
)
s
(
ct
o
r
P
o
s
b
O
-
u
d
o
r
P
e
t
e
l
o
s
b
O
13/42
L6219_HI and L6219_8 Electrical characteristics
5
L8229
L6219_HI and L6219_8 Electrical characteristics
(0°C ≤ Tj ≤ 125°C, VS = 32 V, unless otherwise specified)
5.1
DC specifications
Table 9.
DC specifications
Symbol
Description
Vref/Vsense
Current Limit Threshold (at trip
point ) for Vref = 5V and Tj ≤ 70°C
Condition
Min
Typ
Max
I0 ≤ 0.8V, I1 ≤ 0.8V
9.25
10
10.5
I0 ≥ 2.0V, I1 ≤ 0.8V
13.5
15
16.5
I0 ≤ 0.8V, I1 ≥ 2.0V
25.5
30
34.5
5.2
AC/transient specifications
Table 10.
AC/transient specifications
Symbol
Toff
Parameter
Test Condition
Cut off time
Rt=56Kohm, Ct =820pF
Tdelay
Turn Off Delay for comparator
Tblank
Blanking time for Sense
comparator
)
s
(
ct
u
d
o
r
P
e
t
e
l
o
s
b
O
14/42
Min.
o
s
b
O
-
e
t
le
c
u
d
Typ.
o
r
P
Unit
)
s
t(
Max.
Unit
50
µA
1
µA
1
µA
L8229
6
L6219_HI mode
L6219_HI mode
The device will be set into the L6219_HI mode by asserting PROG1 and PROG2 pins (pin 7
and 18) to 00.
In the L6219_HI mode, the device is pin and function compatible with the ST L6219 device.
Please note that while ST L6219 allows good power dissipation by simply connecting to gnd
the center pins because of the batwing frame, the L8229 power dissipation will be good only
by connecting the exposed pad to a proper heat sink.
The circuit is intended to drive both windings of a bipolar stepping motor. The peak current
control is made through switch mode regulation. There is a choice of three different current
levels with the two logic inputs I01 and I11 for winding 1 and I02 and I12 for winding 2. The
current can also be completely switched off.
6.1
Input Logic (I0 and I1)
)
s
t(
The current level in the motor winding is selected with these inputs (see Figure 1). If any of
the logic inputs is left open, the circuit will treat it as a high level input.
Table 11.
6.2
Input Logic (I0 and I1)
I0X
I1X
H
H
No Current
L
H
Low Current:
H
L
Medium Current:
L
L
Maximum Current: Io max
o
r
P
Current Level
)
s
(
ct
Phase
e
t
le
1/3 Io max
c
u
d
o
s
b
O
2/3 Io max
This input pin determines the direction of current flow in the windings, depending on the
motor connections. The signal is fed through a Schmitt trigger for noise immunity, and
through a time delay in order to guarantee that no cross conduction occurs in the output
stage during phase-shift. High level on the PHASE input causes the motor current to flow
from OutA through the motor winding to OutB.
u
d
o
6.3
r
P
e
s
b
O
t
Current Sensing
e
l
o
This part contains a low pass filter for the external current sensing resistor (Rs) and three
comparators. Only one comparator is active at a time: it is activated by the input logic
according to the current level chosen with signals I0 and I1.
The motor current flows through the sensing resistor Rs and when the current has increased
so that the voltage across Rs becomes higher than the reference voltage on the other
comparator input, the comparator output goes high, triggering the pulse generator.
The max peak current Imax can be defined by:
Imax = Vref / 10 Rs
15/42
L6219_HI mode
L8229
Note that Iout max is 1.2A and the wide range allowed for Vref requires the choice of a
suitable sense resistor to prevent current range over the maximum.
6.4
Single-pulse Generator
The pulse generator is a monostable circuit triggered on the positive going edge of the
comparator output. The circuit output is high during the pulse time Toff that is determined by
the time components Rt and Ct.
Toff =~ 1.1 x RtCt
(including switching dead time)
The single pulse turns off the power switch connected to the motor winding, causing the
winding current to decrease during Toff. If a new trigger signal should occur during Toff it will
be ignored.
6.5
Output Stage
)
s
t(
Each of the two outputs stage contains four LDMOS transistors (P and N channel)
connected in two H Bridges. The intrinsic body diode of the LDMOS serve as recirculation
diode for flyback current.
c
u
d
o
r
P
The LDMOS are used to switch the power supply to the motor winding, thus driving a
constant current through the winding. It should be noted however, that is not permitted to
short-circuit the outputs. Internal circuitry is added in order to increase the accuracy of the
motor current particularly with low current levels.
e
t
le
6.6
Vs, Vcc, Vref
o
s
b
O
-
The circuit will stand any order of turn-on or turn-off of the supply voltages Vs and Vcc.
Normal dV/dt values are then assumed.
)
s
(
ct
Preferably, Vref should be tracking Vcc during power-on and power-off if Vs is established.
Figure 3.
u
d
o
Ton and Toff
r
P
e
t
e
l
o
s
b
O
Normalized
output current
1.0
0.5
Ton
0
VSense
VRC
16/42
Tdelay
Vref
Toff
L8229
L6219_HI mode
Figure 4.
Half and Full Step Drive with Imax=1.2A
Hold
1
2
3
Half Step Drive
4 5
6
7
Full Step Drive
8
I01
I11
PHASE 1
I02
I12
PHASE 2
1.2A
0.8A
Motor Current Phase 1 A to B
0A
-0.8A
-1.2A
1.2A
0.8A
Motor Current Phase 2 A to B
c
u
d
0A
-0.8A
-1.2A
Figure 5.
o
r
P
Normal conduction and slow recirculation current paths.
Vcc
RC
Ton
)
s
(
ct
u
d
o
r
P
e
t
e
l
o
e
t
le
)
s
t(
o
s
b
O
Toff
T3
T2
T1
Ton
OUTA1
Slow Decay
L6219_HI Mode
OUTB1
VS
HA
HB
bs
Ton Current
O
Toff Current
LA
LB
Slow Decay
17/42
L6219_8 mode
7
L8229
L6219_8 mode
A second configuration of the device is achieved when PROG1 and PROG2 pins (pin 7 and
18) are asserted to 01. The device is now configured into the L6219_8 configuration. This
device mode function is similar to L6219_HI, but with the possibility of using 8 current levels
instead of 4, to implement a more accurate microstepping function and with the possibility to
set a mixed decay for recirculation current. The remaining functionalities are identical to
L6219_HI mode.
7.1
8 Level Current Setting
This setting is achieved by using pin 8 (STB) as a strobe for latching the current setting
control inputs. The rising edge of STB will latch the I01, I11 and I12 inputs for decoding
current levels settings for Bridge 1. Similarly the falling edge will latch the I01, I11 and I12
inputs for decoding current levels settings for Bridge 2.
)
s
t(
In order to allow a good similitude to sine drive, the levels set by the input pins are not
equally spaced but are choosen to approximate a sinusoidal wave.
c
u
d
On power up, the device is by default into a no current drive state for both H Bridges and will
start driving only upon the rising or falling edges of STB.
7.2
Mixed Decay
e
t
le
o
r
P
VREFCOM input (pin 15) is the reference voltage for both bridges while VREFDEC input
(pin 11) is a voltage reference for decay control. When the current setting is set from an
higher level to a lower level, the device can be set to perform:
o
s
b
O
-
1.
Slow decay (current is recirculated throught the low side drivers) when VREFDEC > 0.94Vcc.
2.
A mix of Fast followed by Slow decay when 0.33Vcc < VREFDEC < 0.94Vcc.
3.
Fast decay (current is recirculated from Sense to Vs) when VREFDEC < 0.33Vcc.
)
s
(
ct
In case 2, VREFDEC voltage is compared with the RC discharging voltage during the Toff
duration. Until the RC voltage is above VREFDEC there will be fast decay: the bridge
outputs will be driven to enable recirculation from Rsense to VS. For RC voltages below
VREFDEC, the bridges will be driven to recirculate through the low side drivers. (see
Figure 8)
u
d
o
r
P
e
t
e
l
o
Table 12.
s
b
O
18/42
STB
Current levels
I01
I11
I12
Current level
Bridge1
Bridge 2
0
0
0
No current
-
0
0
1
IOUT / Imax=0.22
-
0
1
0
IOUT / Imax=0.42
-
0
1
1
IOUT / Imax=0.61
-
1
0
0
IOUT / Imax=0.77
-
1
0
1
IOUT / Imax=0.87
-
L8229
L6219_8 mode
Table 12.
Current levels (continued)
STB
Table 13.
I01
I11
I12
Current level
1
1
0
IOUT / Imax=0.93
-
1
1
1
IOUT / Imax=1
-
0
0
0
-
IOUT / Imax=1
0
0
1
-
IOUT / Imax=0.93
0
1
0
-
IOUT / Imax=0.87
0
1
1
-
IOUT / Imax=0.77
1
0
0
-
IOUT / Imax=0.61
1
0
1
-
IOUT / Imax=0.42
1
1
0
-
IOUT / Imax=0.22
1
1
1
-
No current
AC/Transient Specification
Symbol
Description
Min
Typ
c
u
d
MD_h
Mixed decay trip point high
0.93Vcc ±75mV
MD_l
Mixed decay trip point low
0.33Vcc ±50mV
Table 14.
Description
Fstb
Strobe frequency
Thstb
Strobe high width
Tlstb
Strobe low width
STB rise time
Tfd_stb
r
P
e
Thd_Ixx
o
s
b
O
-
e
t
le
MIN
TYP
MAX
Units
6
MHz
20
ns
20
ns
0
10
ns
STB fall time
0
10
ns
I01,I11,I12 rise time
0
10
ns
I01,I11,I12 fall time
0
10
ns
I01,I11,I12 setup time
15
ns
I01,I11,I12 hold time
15
ns
u
d
o
Trd_Ixx
t
e
l
o
)
s
(
ct
Trd_stb
Tsu_Ixx
o
r
P
Timing specifications
(0°C ≤ Tj ≤ 125°C, VS = 32 V, unless otherwise specified)
Name
Tfd_Ixx
)
s
t(
Max
s
b
O
19/42
L6219_8 mode
Figure 6.
L8229
L6219_8 mode Stepping Driving
Bridge2
Bridge1
PHASE2
PHASE1
I12
I11
c
u
d
I01
STB
Figure 7.
e
t
le
L6219_8 mode Fast and Slow Decay current paths
0.94Vcc
VREFDEC
0.33Vcc
c
u
d
OUTA
o
r
P
e
o
s
b
O
-
Toff
Vcc
RC
(t s)
T1 T2 T3
T4
T5
T1, T3 and T5 are
dead times
to ensure no cross
conduction
t
e
l
o
HA
Fast
Decay
Slow
Decay
VS
HB
s
b
O
Ton Current
Toff Fast Decay
Current
LA
SLOW DECAY
Toff= 1.1RC inclusive of
Tdeadtime T1 and T3 MIXED DECAY
L6219_8 Mode
OUTB
20/42
o
r
P
LB
Toff Slow Decay
Current
FAST DECAY
)
s
t(
L8229
8
L8229_0 and L8229_1 modes
L8229_0 and L8229_1 modes
When in these modes, the device can be programmed via a serial interface. This allows a
very precise microstepping functionality as well as the control of several parameters related
to the motor functionality.
In this configuration there is also the possibilty of driving two DC motors by means of two
pulse width modulated (PWM) control signals.
The parameters that can be set are the following:
1.
Current levels (32 values for each bridge).
2.
Current direction.
3.
Type of decay for stepping motor (Mix/Slow).
4.
Vref input (Ext/Int)
5.
Vref divider (:5/:10).
6.
Blanking time (4 values).
7.
Oscillator freq divider (4 values).
8.
Off time (32 values).
9.
Fast decay time (16 values).
10. Synchronous rectification (Active/Passive/LowSide/Off).
11. Choose of driving a Stepping or DC motor.
12. Possibility of paralleling bridges (in DC motor drive).
e
t
le
13. Slow or fast decay (in DC motor drive).
14. Possibility of setting outputs in brake mode.
c
u
d
)
s
t(
o
r
P
o
s
b
O
-
15. Possibility of asserting Sleep mode to reduce current consumption and put outputs in
HI-Z.
When in L8229 modes, pin 12 (FAULT) is used to provide a "Generic Fault" signal that is
intended as a warning for the user. In case of:
a)
)
s
(
ct
Undervoltage detection (UVD): no action is taken on output bridges and the device
will be working, leaving to the user the action of stopping the output bridges
functionality.
During UVD event, the Generic Fault signal is pulled high.
u
d
o
r
P
e
s
b
O
t
e
l
o
b)
Thermal shutdown (TSD): output bridges will be in Hi-Z mode (all outputs off) until
the temperature decreases below TSD threshold minus hysteresis.
During TSD event, the Generic Fault signal is pulled high.
c)
Over current detection (OCD): output bridges will be in Hi-Z mode. Depending on
the motor (Stepping or DC according to W2 bit 14), the OCD status will be latched
as follows:
– for stepping motor driving the OCD status will be latched until SPI is reset by
means of nRESET pin.
– for DC motor driving the OCD status will be latched until next positive PWM
edge occurs.
For both above cases, the Generic Fault signal is pulled high until the OCD
status persists.
21/42
L8229_0 and L8229_1 modes
Table 15.
DC Specifications
(0°C ≤ Tj ≤ 125°C, VS = 32 V, unless otherwise specified)
Name
Vref voltage
Ioff-rev
Table 16.
Description
8.1
Conditions
Internal reference voltage
Min
Typ
Max
Units
1.94
2
2.06
V
Reverse current detection offset
(in Active Sync recirculation)
±50
mA
AC/Transient Specifications
(0°C ≤ Tj ≤ 125°C, VS = 32 V, unless otherwise specified)
Name
Osc
L8229
Description
Conditions
Min
Oscillator frequency
Typ
Max
4
Units
MHz
Serial interface specification
)
s
t(
This device, when in L8229_0 or L8229_1 configuration, is managed via a Serial Interface
Port for a total of 16 bits with 4 different words. This port provides an interface between the
chip and external digital ASIC. For the user this port is write-only: assigned read registers
are for test mode purposes only.
c
u
d
o
r
P
The interface consists of 3 signal lines: chip select (nCS, active low), serial clock (SCLK)
and serial data input (SDI).
e
t
le
The digital ASIC initiates a serial transfer by pulling low the chip select line, nCS. Then it
generates 16 clock pulses on SCLK while presenting the serial data on input SDI. The data
is shifted into the L8229 on the rising edge of SCLK. The digital ASIC presents the data on
SDI one setup time (Tdsu) before the rising edge of SCLK. The data is held constant for the
data hold time (Tdhd) beyond the SCLK rising edge. The less significant bit, or LSB, is the
first to be shifted out of the digital ASIC and into the chip, followed by the remaining bits. The
last of the 16 bits is the most significant bit or MSB. SDI will remain at the value presented
with the last bit of data. The nCS line is then returned to a high state. The low to high
transition of nCS loads the data into the internal L8229 input register where all the inputs are
presented to their appropriate functions in a parallel mode.
)
s
(
ct
o
s
b
O
-
u
d
o
In the event that there are less or more than 16 SCLK rising edges during nCS=0, the device
will interprete the packet as invalid. This enables the SPI bus to be shared with others
devices with similar packet skipping functionality (and with programming word length
different from 16 bits), without the use of nCS.
r
P
e
t
e
l
o
The outputs of the serial input port shall not "glitch" during any operation.
s
b
O
22/42
The serial interface is cleared by nRESET signal applied to pin 14. When nRESET=0,
output stages are in Hi-Z mode (all outputs off). Please note that neither TSD nor OCD reset
the SPI.
L8229
L8229_0 and L8229_1 modes
Figure 8.
SPI Operations
Data latched on rising edge of SCLK
TCS-SCLK
nCS
TSCLK-CS
SCLK
TDSU
Bit0
SDI
Bit1
TDHD
Bit3
Bit2
Bit4
Bit5
Bit7
Bit6
Bit14
LSB
Table 17.
Bit15
MSB
SPI Timing specifications
(0°C ≤ Tj ≤ 125°C, VS = 32 V, unless otherwise specified)
Name
Description
MIN
Fclk
Serial clock frequency
Tclh
SCLK high width
30
Tcll
SCLK low width
30
Tcs-sclk
Delay nCS falling to first SCLK rising
10
Tsclk-cs
Delay last SCLK rising edge to nCS rising
Tdsu
Data valid to SCLK set up time
Tdhd
Data hold time
Tcs-cs
Trd
SDI rise time
Tfd
SDI fall time
Trfc
SCLK rise/fall time
u
d
o
ct
(s)
so
b
O
-
Delay required from (n-1)CS to nCS
e
t
le
10
TYP
MAX
8
12
c
u
d
o
r
P
)
s
t(
Units
MHz
ns
ns
ns
ns
10
ns
10
ns
10
ns
0
20
ns
0
20
ns
0
20
ns
r
P
e
t
e
l
o
s
b
O
23/42
L8229_0 and L8229_1 modes
L8229
8.2
SPI Bit definition
8.2.1
Word Description
Each of the 3 words used to program the chip when in L8229_0 or L8229_1 mode has the 3
LSB used to address the word as follows:
Table 18.
Word Description
BIT #
NAME
0
Value
DESCRIPTION
0
This value addresses the word to chip #0 (if two L8229 are
present on the same board and a single nCS line is used).
Chip address is assigned by configuring the PROG bit
according to Table 2.
1
This value addresses the word to chip #1 (if two L8229 are
present on the same board and a single nCS line is used).
Chip address is assigned by configuring the PROG bit
according to Table 2.
CHIP ADDRESS
1 and 2
8.2.2
Bit 2
Bit 1
0
0
W0: OPERATIVE register
0
1
W1: PARAMETERS register
1
0
W2 : FUNCTIONAL register
1
1
Not allowed
WORD ADDRESS 1,
WORD ADDRESS 2
e
t
le
c
u
d
)
s
t(
o
r
P
o
s
b
O
-
W0 (OPERATIVE: Bit 2=0, Bit 1=0)
This word is mainly used to fix the current level and direction in the bridge.
Table 19.
BIT #
NAME
0
CHIP ADDRESS
1
WORD ADDRESS 1
)
s
(
ct
RESET
VALUE
o
r
P
e
du
0
DESCRIPTION
This bit is used to select if the informations provided by bits 1 to 15 are
referred to chip 0 or chip 1. This is useful in the case that two L8229 are
present on the same board and a single nCS line is used.
0
This is the LSB of the two bits used to address the word
WORD ADDRESS 2
0
This is the MSB of the two bits used to address the word
DAC1 BIT 1 (LSB)
0
LSB for DAC intended to regulate the current of Bridge 1
4
t
e
l
o
DAC1 BIT 2
0
BIT2 for DAC intended to regulate the current of Bridge 1
5
DAC1 BIT 3
0
BIT3 for DAC intended to regulate the current of Bridge 1
6
DAC1 BIT 4
0
BIT4 for DAC intended to regulate the current of Bridge 1
7
DAC1 BIT 5 (MSB)
0
MSB for DAC intended to regulate the current of Bridge 1
8
PHASE 1
0
Controls the direction of current flow for Bridge1.
A logic 0 level causes current flow from A (source) to B (sink).
9
DAC2 BIT1 (LSB)
0
LSB for DAC intended to regulate the current of Bridge 2
2
3
bs
O
W0
24/42
L8229
L8229_0 and L8229_1 modes
Table 19.
W0 (continued)
BIT #
RESET
VALUE
NAME
DESCRIPTION
10
DAC2 BIT 2
0
BIT2 for DAC intended to regulate the current of Bridge 2
11
DAC2 BIT 3
0
BIT3 for DAC intended to regulate the current of Bridge 2
12
DAC2 BIT 4
0
BIT4 for DAC intended to regulate the current of Bridge 2
13
DAC2 BIT 5 (MSB)
0
MSB for DAC intended to regulate the current of Bridge 2
14
PHASE 2
0
Controls the direction of current flow Bridge 2.
A logic HIGH level causes current flow from A (source) to B (sink).
15
PARALLEL OUTPUT
0
This bit must be set to 1 when otputs are paralled to drive a single DC
motor
8.3
W1 (PARAMETERS: Bit 2=0, Bit 1=1)
This word is mainly used to set motor related parameters.
Table 20.
c
u
d
W1
BIT #
NAME
RESET
VALUE
DESCRIPTION
)
s
t(
o
r
P
0
CHIP ADDRESS
0
This bit is used to select if the informations provided by bits 1 to 15 are
referred to chip 0 or chip 1. This is useful in the case that two L8229 are
present on the same board and a single nCS line is used.
1
WORD ADDRESS 1
0
This is the LSB of the two bits used to address the word.
2
WORD ADDRESS 2
0
This is the MSB of the two bits used to address the word.
3
NSLEEP
0
This bit is used to decide if the device should exit sleep mode.
4
OFF1
0
5
OFF2
0
6
OFF3
0
7
OFF4
8
OFF5
9
e
t
le
u
d
o
)
s
(
ct
0
r
P
e
o
s
b
O
-
LSB for fixing the Toff time (see following Table 32).
BIT 2 for fixing the Toff time (see following Table 32).
BIT 3 for fixing the Toff time (see following Table 32).
BIT 4 for fixing the Toff time (see following Table 32).
0
MSB for fixing the Toff time (see following Table 32).
FASTDEC1
0
LSB for fixing the Fast Decay time (see followingTable 31).
FASTDEC2
0
BIT 2 for fixing the Fast Decay time (see following Table 31).
FASTDEC3
0
BIT 3 for fixing the Fast Decay time (see following Table 31).
12
t
e
l
o
FASTDEC4
0
MSB for fixing the Fast Decay time (see following Table 31).
13
SYNCRECT1
0
LSB to decide the rectification mode (see following Table 35).
14
SYNCRECT2
0
MSB to decide the rectification mode (see following Table 35).
15
Brake
0
This bit is used to put outputs in brake mode
10
11
s
b
O
25/42
L8229_0 and L8229_1 modes
8.4
L8229
W2 (FUNCTIONAL: Bit 2=1, Bit 1=0)
This word is mainly used to set the functional mode
Table 21.
W2
BIT #
NAME
RESET
VALUE
DESCRIPTION
0
CHIP ADDRESS
0
This bit is used to select if the informations provided by bits 1 to 15 are
referred to chip 0 or chip 1. This is useful in the case that two L8229 are
present on the same board and a single nCS line is used.
1
WORD ADDRESS 1
0
This is the LSB of the two bits used to address the word.
2
WORD ADDRESS 2
0
This is the MSB of the two bits used to address the word.
3
MIX/SLOW 1 (St. mot)
0
This bit is to decide if Slow or Mixed Decay is applied to Bridge 1
(Stepping motor).
4
MIX/SLOW 2 (St. mot)
0
This bit is to decide if Slow or Mixed Decay is applied to Bridge 2
(Stepping motor).
5
REFERENCE INT/EXT
0
This bit is used to decide if the reference voltage will be internal (0) or
external (1)
6
RANGE
0
This bit is to decide if the reference voltage will be divided by 10 (0) or
by 5 (1).
7
BLANK LSB
0
This is the LSB bit used to fix the Blanking time (see following
Table 30).
8
BLANK MSB
0
This is the MSB bit used to fix the Blanking time (see following
Table 30).
9
OSC LSB
0
This is the LSB bit used to fix the Oscillator values (see following
Table 29).
10
OSC MSB
0
This is the MSB bit used to fix the Oscillator values (see following
Table 29).
11
TEST 1
0
12
TEST 2
0
13
TEST 3
14
STEP/DC
s
b
O
26/42
e
t
le
)
s
(
ct
u
d
o
0
r
P
e
t
e
l
o
15
c
u
d
SLOW/FAST (DC mot)
)
s
t(
o
r
P
o
s
b
O
-
This bit is used for trim mode.
This bit is used for trim mode.
This bit is used for trim mode.
0
This bit is used to set the drive of a Stepping Motor (0) or a DC Motor
(1).
0
This bit is used to decide if Slow (0) or Fast (1) decay is applied to DC
Motor configuration
L8229
8.4.1
L8229_0 and L8229_1 modes
Reading back SPI.
When W2 bit 11 to 13 are to 111, read back from SPI is enabled. This function is to check
the actual data in W0 and W1; W2 can’t be read back.
To read back the following procedure is requested:
1.
Set PROG1=1, PROG2=0
2.
Write W0 and W1 to SDI
3.
Write W2 (with bits 11, 12, 13 set to 111) to SDI. This enables read back mode from
SPI.
4.
Write 0001 1111 1111 1111 to SDI (the first three bits mean that W0 is requested to be
read out, the other bits have no sense just to fill the blank bits). This allows to check if
the SDI output is W0 bit3~15.
5.
Write W2 (with bits 11, 12, 13 set to 111) to SDI. This enables read back mode from
SPI.
6.
Write 0101 1111 1111 1111 to SDI (the first three bits mean that W1 is requested to be
read out, the other bits have no sense just to fill the blank bits). This allows to check if
the SDI output is W1 bit3~15.
)
s
t(
If the data to be read out are the same as the data write in, it means write function of SPI is
right.
c
u
d
e
t
le
)
s
(
ct
o
r
P
o
s
b
O
-
u
d
o
r
P
e
t
e
l
o
s
b
O
27/42
SPI programming
9
L8229
SPI programming
On power up, the device is by default in sleep mode. Before coming out from sleep, the
device needs to be programmed to drive either Stepping or DC motor. This is controlled by
W2 bit 14. Default is stepping motor drive.
Table 22.
Motor mode selected by W2
Bit 14
Mode
0
Stepping motor
1
DC motor
The device can be awoken from the sleep mode by means of the bit 3 of W1.
Table 23.
Nsleep mode selected by W1
Bit 3
Mode
0
Sleep
1
Normal
c
u
d
)
s
t(
The device can be set in brake mode ( both outputs are LL) by means of W1 bit 15. Please
note that Brake mode overcomes Nsleep mode.
Table 24.
Brake mode selected by W1
e
t
le
Bit 15
Mode
so
0
1
)
s
(
ct
9.1
o
r
P
Current Control
b
O
-
Normal
Brake
Current level in the motor is set by means of a combination of Vref (ext or int), Rsense and
DAC control bits.
u
d
o
r
P
e
The max current is set as follows:
t
e
l
o
Imax = Vref / (Range x Rsense)
Vref can be set to be internal at 2V or externally applied to VREF1 and VREF2 pins. On
power up, the default is the internal 2V.
s
b
O
Table 25.
Vref mode selected by W2
Bit 5
Mode
0
Internal ref. 2V
1
External ref. (7.5V max)
Vref voltage is divided according to Range value that is defined by W2 bit 6 to be either 10
or 5.
28/42
L8229
SPI programming
Table 26.
Range mode selected by W2
Bit 6
Mode
0
Range = 10
1
Range = 5
The direction of current is determined by W0 bits 8 and 14. During Ton, outputs will be
according to following table:
Table 27.
Current direction selected by W0
Bit 8 (14)
OUT A
OUT B
0
L
H
1
H
L
The 5 bit DACs for each Bridge enable an accurate resolution control defined by Current
levels table below. The current level Iset is then defined as:
Iset = Vdac / (Range x Rsense)
c
u
d
where:
Vdac = (DAC/31) x Vref
)
s
t(
o
r
P
where DAC is defined from 0 to 31, so the current level is fixed by W0 bits 7 (MSB) to 3
(LSB) (13 to 9) as in following table.
Table 28.
Bit 7 (13)
Bit 6 (12)
0
0
0
0
0
Bit 3 (9)
IPH_A (B)/Imax
0
0
0
0
0
1
1/31
0
1
0
2/31
0
)
s
(
ct
0
1
1
3/31
0
1
0
0
4/31
0
1
0
1
5/31
0
1
1
0
6/31
0
0
1
1
1
7/31
0
1
0
0
0
8/31
0
1
0
0
1
9/31
0
1
0
1
0
10/31
0
1
0
1
1
11/31
0
1
1
0
0
12/31
0
1
1
0
1
13/31
0
1
1
1
0
14/31
0
1
1
1
1
15/31
1
0
0
0
0
16/31
0
0
u
d
o
0
r
P
e
0
s
b
O
Bit 5 (11)
so
Bit 4 (10)
0
t
e
l
o
e
t
le
Current levels selected by W0 for DAC
b
O
0
29/42
SPI programming
L8229
Table 28.
9.2
Current levels selected by W0 for DAC (continued)
Bit 7 (13)
Bit 6 (12)
Bit 5 (11)
Bit 4 (10)
Bit 3 (9)
IPH_A (B)/Imax
1
0
0
0
1
17/31
1
0
0
1
0
18/31
1
0
0
1
1
19/31
1
0
1
0
0
20/31
1
0
1
0
1
21/31
1
0
1
1
0
22/31
1
0
1
1
1
23/31
1
1
0
0
0
24/31
1
1
0
0
1
25/31
1
1
0
1
0
26/31
1
1
0
1
1
1
1
1
0
0
1
1
1
0
1
)
s
t(
1
1
1
1
0
1
1
1
1
Timings Control
e
t
le
Pr
1
27/31
28/31
uc
od
29/31
30/31
31/31
o
s
b
O
-
All timings are controlled by a master oscillator that can be internal or externally provided. At
power up, OSC will default to the internal 4MHz oscillator. Setting W2 bits 9 and 10 will
select the external oscillator frequency or it's dividing by either 2 or 4.
Table 29.
)
s
(
ct
Oscillator frequency selected by W2
Bit 10
0
Internal (4MHz)
0
1
Ext
1
0
Ext/2
1
1
Ext/4
o
r
P
e
s
b
O
30/42
Freq
du
0
t
e
l
o
Bit 9
The switching blanking time for masking transient can be selected by W2 bits 7 and 8.
Table 30.
Blanking time selected by W2
Bit 8
Bit 7
Time
0
0
2/fosc
0
1
4/fosc
1
0
8/fosc
1
1
12/fosc
L8229
SPI programming
Fast decay timing is set by W1 bits 9 (LSB) to 12 (MSB).
Tfast = (N+1) x 8/Fosc
Where N = 0 to 15 and Fosc is either the internal 4 MHz or the external oscillator frequency
with selected division.
Setting Toff to be smaller than Tfast will result in fast decay only.
Table 31.
Fast decay time selected by W1
Bit 12
Bit 11
Bit10
Bit9
Fast decay
0
0
0
0
1x8/fosc
0
0
0
1
2x8/fosc
0
0
1
0
3x8/fosc
0
0
1
1
4x8/fosc
0
1
0
0
5x8/fosc
0
1
0
1
6x8/fosc
0
1
1
0
7x8/fosc
0
1
1
1
1
0
0
0
1
0
0
1
1
0
1
1
0
1
1
1
0
1
1
1
1
1
1
t
c
u
0
8x8/fosc
o
r
P
9x8/fosc
10x8/fosc
11x8/fosc
1
12x8/fosc
0
13x8/fosc
1
14x8/fosc
1
0
15x8/fosc
1
1
16x8/fosc
so
b
O
0
(s)
e
t
le
c
u
d
)
s
t(
The Toff timing is controlled by bits 4 (LSB) to 8 (MSB) of W1 and is based on the oscillator
frequency.
od
r
P
e
Toff = (N+1) x 8/Fosc
Where N = 0 to 31 and Fosc is either the internal 4 MHz or the external oscillator frequency
with selected division.
t
e
l
o
Table 32.
O
bs
Toff time selected by W1
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Toff
0
0
0
0
0
1x8/fosc
0
0
0
0
1
2x8/fosc
0
0
0
1
0
3x8/fosc
0
0
0
1
1
4x8/fosc
0
0
1
0
0
5x8/fosc
0
0
1
0
1
6x8/fosc
31/42
SPI programming
L8229
Table 32.
Toff time selected by W1 (continued)
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Toff
0
0
1
1
0
7x8/fosc
0
0
1
1
1
8x8/fosc
0
1
0
0
0
9x8/fosc
0
1
0
0
1
10x8/fosc
0
1
0
1
0
11x8/fosc
0
1
0
1
1
12x8/fosc
0
1
1
0
0
13x8/fosc
0
1
1
0
1
14x8/fosc
0
1
1
1
0
15x8/fosc
0
1
1
1
1
16x8/fosc
1
0
0
0
0
17x8/fosc
1
0
0
0
1
18x8/fosc
1
0
0
1
0
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
1
1
0
1
1
1
1
1
1
1
b
O
-
1
1
1
1
r
P
e
1
t
e
l
o
s
b
O
32/42
1
19x8/fosc
od
20x8/fosc
21x8/fosc
1
22x8/fosc
0
23x8/fosc
so
1
24x8/fosc
0
0
25x8/fosc
0
0
1
26x8/fosc
0
1
0
27x8/fosc
0
1
1
28x8/fosc
1
0
0
29x8/fosc
1
0
1
30x8/fosc
1
1
1
0
31x8/fosc
1
1
1
1
32x8/fosc
0
)
s
(
ct
u
d
o
1
Pr
0
uc
)
s
t(
1
1
e
t
le
L8229
9.3
SPI programming
Decay Modes and Synchronous Rectification
For stepping motor drive, the recirculation mode during Toff could be slow, fast or mixed
(that is fast followed by slow decay): W2, by means of bit 3 (for Out1) and bit 4 (for Out2),
allows to select MIXED or SLOW decay for bridge 1 and bridge 2 respectively; by selecting
(with W1, bits 9 to 12) Tfast longer than Toff, it is possible to select FAST decay for all the
Toff duration.
Table 33.
Stepping decay mode selected by W2
Bit 3 (4)
Mode
0
Mixed decay
1
Slow decay
For DC motor drive, W2 bit 15 allows to choose slow or fast decay.
Table 34.
DC decay mode selected by W2
Bit 15
Mode
0
Slow
1
Fast
c
u
d
)
s
t(
o
r
P
During the decay, it is possible for the current to flow through the intrinsic body diodes of the
LDMOS or through switched on LDMOS channel (in this case the current conduction will be
reversed from Source to Drain). This switching on of the active device in parallel with the
diode is called SYNCHRONOUS rectification and means that the recirculation path is not
obtained only through the internal diodes but also by turning on the DMOS in parallel with
the diode needed to recirculate current; because of the low RDSon of this LDMOS the
dissipation is reduced.
e
t
le
o
s
b
O
-
For stepping motors only with W1, by means of bits 13 and 14, it is possible to choose
several kinds of SYNCHRONOUS recirculation modes: ACTIVE recirculation, PASSIVE
recirculation, SYNC OFF recirculation, and LOW SIDE recirculation.
Table 35.
Sync rectification selected by W1
u
d
o
Bit 14
r
P
e
s
b
O
t
e
l
o
)
s
(
ct
Bit 13
Mode
0
0
Active(1)
0
1
Passive
1
0
Off
1
1
Low side
1. Only for Mixed Decay mode.
ACTIVE means that the current is monitored to avoid reverse current in the load: this could
happen because of FAST SYNC recirculation (that reverse the conduction of the bridge).
When a reverse current is detected, synchronous rectification is turned off, so the outputs
are placed in Hi-Z state until the end of Toff. Please note that Active Synchronous
rectification can't be used when in Slow Decay mode.
PASSIVE means that the current is not monitored to avoid a reverse current in the load. In
this case the current, during Toff, could be inverted and no action is taken until the current
reaches the current limit selected by the user by means of Vref and Rsense. When this
33/42
SPI programming
L8229
value is reached, synchronous rectification is turned off, so the outputs are placed in Hi-Z
state until the end of Toff. Please note that a typical 50mA reverse current could be present
during Active Sync rectification.
SYNC OFF means that the current will recirculate through the body diodes in parallel with
power DMOS. This is intended to allow the user to use external Schottky diodes to save the
internal dissipation.
LOW SIDE means that the synchronous recirculation is forced only through the low side
power DMOS.
Please note that while the current reversal is always sensed, if required, the current level is
sensed only by means of Rsense, so no current control is performed when current flows
away from Rsense, as in SLOW recirculation.
Active and passive synchronous rectification modes are illustrated in the following drawing:
Figure 9.
Active and Passive synchronous rectification during Mixed Decay.
VS
HA
I1
HB
-
-
ADgtS
c
u
d
BDgtS
I2
+
+
LA
Ilimit
LB
+
-
e
t
le
VDAC
Active Sync during Fast decay
Drive Recirculat. Hi-Z
I1
)
s
(
ct
I2
ADgtS
u
d
o
LA
HB
r
P
e
t
e
l
o
bs
O
b
O
-
so
o
r
P
Active Sync during Slow decay
Recirculation
Drive
Hi-Z
I1
I2
ADgtS
ON
LA
ON
ON
LB
ON
Passive Sync during Fast decay
Drive
Recir
lation
Recirculation
Hi-Z
I1
Passive Sync during Slow decay
Drive
Dri
Recirculation
R
I1
I2
I2
ADgtS
ADgtS
LA
ON
HB
ON
LA
LB
ON
ON
Ilimit
Remains ON till end of Toff or
Ilimit reached
34/42
Remains ON till end of Toff
Hi-Z
)
s
t(
L8229
SPI programming
The output states during these cases of recirculation could be summarized as below: (only
OUTA to OUTB current flowing is described)
9.4
Mixed Decay
1) ACTIVE SYNC recirculation could be divided in following cases.
1a) No reverse current detected during Toff
HA on
HB off
LA off
LB on
Current increasing in the load.
Anticross state (fast recirculation through LA and HB body
diodes).
All off
HA off
HB on
LA on
LB off
FAST SYNC recirculation through DMOS till end of fast decay
time.
HA off
HB off
LA on
LB off
Anticross state (fast recirculation through LA DMOS and HB
body diode).
HA off
HB off
LA on
LB on
SLOW SYNC recirculation till end of Toff.
HA off
HB off
LA off
LB on
Anticross state (slow recirculation through LA body diode and
LB DMOS).
HA on
HB off
LA off
LB on
Current increasing in the load.
e
t
le
c
u
d
)
s
t(
o
r
P
1b) Reverse current detected during Fast Recirculation of Toff
HA on
HB off
LA off
LB on
Anticross state (fast recirculation through LA and HB body
diodes).
All off
HA off
HB on
)
s
(
ct
LA on
All off
HA on
HB off
o
r
P
e
o
s
b
O
-
Current increasing in the load.
du
LA off
LB off
LB on
FAST SYNC recirculation through DMOS till reverse current is
detected.
Hi-Z state till end of Toff.
Current increasing in the load.
1c) Reverse current detected during Slow Recirculation of Toff
HA on
s
b
O
t
e
l
o
HB off
LA off
LB on
Current increasing in the load.
Anticross state (fast recirculation through LA and HB body
diodes).
All off
HA off
HB on
LA on
LB off
FAST SYNC recirculation through DMOS
decay time.
HA off
HB off
LA on
LB off
Anticross state (fast recirculation through LA DMOS and HB
body diode).
HA off
HB off
LA on
LB on
SLOW SYNC recirculation till reverse current is detected.
All off
HA on
HB off
LA off
till end of fast
Hi-Z state till end of Toff.
LB on
Current increasing in the load.
35/42
SPI programming
L8229
2) - PASSIVE SYNC recirculation could be divided in following cases:
2a) The reverse current (if present) does not exceed the regulated value
(Note: this case is identical to ACTIVE SYNC case 1a)
HA on
HB off
LA off
LB on
Current increasing in the load.
Anticross state (fast recirculation through LA and HB body
diodes).
All off
HA off
HB on
LA on
LB off
FAST SYNC recirculation through DMOS till end of fast decay
time.
HA off
HB off
LA on
LB off
Anticross state (fast recirculation through LA DMOS and HB
body diode).
HA off
HB off
LA on
LB on
SLOW SYNC recirculation till end of Toff.
HA off
HB off
LA off
LB on
Anticross state (slow recirculation through LA body diode and
LB DMOS).
HA on
HB off
LA off
LB on
Current increasing in the load.
)
s
t(
2b) The reverse current exceeds the regulated value during FAST
recirculation.
(Note: if the current exceed the regulated value during SLOW recirculation, no
action is taken and the behaviour will be that of case 2a)
c
u
d
HA on
HB off
LA off
LB on
HB on
LA on
All off
HA on
HB off
Current increasing in the load.
Anticross state (fast recirculation through LA and HB body
diodes).
All off
HA off
e
t
le
o
r
P
LB off
)
s
(
ct
LA off
u
d
o
LB on
o
s
b
O
-
FAST SYNC recirculation through DMOS till reverse current
reaches the regulated value).
Hi-Z state till end of Toff.
Current increasing in the load.
3) - SYNC OFF recirculation has only one case:
r
P
e
HA on
t
e
l
o
s
b
O
36/42
HB off
LA off
LB on
Current increasing in the load.
Fast recirculation through LA and HB body diodes till end of
fast decay time.
All off
HA off
HB off
LA off
LB on
Slow recirculation through LA body diode and LB DMOS till
end of Toff.
HA on
HB off
LA off
LB on
Current increasing in the load.
L8229
SPI programming
4) LOW SIDE recirculation has only one case:
HA on
HB off
LA off
LB on
Fast recirculation through LA and HB body diodes) till end of
fast decay time.
All off
9.5
Current increasing in the load.
HA off
HB off
LA on
LB on
SLOW SYNC recirculation till end of Toff.
HA off
HB off
LA off
LB on
Anticross state (slow recirculation through the LA body diode
and LB DMOS).
HA on
HB off
LA off
LB on
Current increasing in the load.
Slow Decay
When in Slow Decay, Active Synchronous rectification can't be used since current is not
expected to be reversed because of BEMF. Therefore only Passive, Off or Low side
recirculation cases can be selected.
1) ACTIVE SYNC recirculation is not allowed.
c
u
d
2) PASSIVE SYNC recirculation
)
s
t(
o
r
P
HA on
HB off
LA off
LB on
Current increasing in the load.
HA off
HB off
LA off
LB on
Anticross state (slow recirculation through LA body diode and
LB DMOS).
HA off
HB off
LA on
LB on
SLOW SYNC recirculation till end of Toff.
HA off
HB off
LA off
LB on
Anticross state (slow recirculation through the LA body diode
and LB DMOS).
HA on
HB off
LA off
LB on
(s)
t
c
u
3) SYNC OFF
d
o
r
P
e
e
t
le
o
s
b
O
-
Current increasing in the load.
HA on
HB off
LA off
LB on
Current increasing in the load.
HA off
HB off
LA off
LB on
Slow recirculation (through the LA body diode and LB DMOS)
till end of Toff
HA on
HB off
LA off
LB on
Current increasing in the load.
t
e
l
o
s
b
O
4) LOW SIDE is identical to PASSIVE SYNC.
37/42
DC Motor Driver operation
10
L8229
DC Motor Driver operation
When in L8229_0 or L8229_1 configuration, the device could be configured to drive two
different DC motors. Each drive provides bi-directional drive to a DC motor via the serial
control and the PWM pins. The W0 bits 8 and 14 in the register will control the direction of
drive while the PWM input pin controls the switching of the drivers. According to above
description, the motor drive will be in voltage mode only.
The device could also drive a single DC motor with increased current by paralleling the two
bridges. If this is required, W0 bit 15 must be set to 1 and OUT1A must be shorted to
OUT2A while OUT1B must be shorted to OUT2B. In this case of two bridges paralled to
drive a single DC motor, the W0 bit 14 (PHASE2) will not be used as well as pin 17 (PWM2).
This means that the device will act as a single bridge with ouputs OUTA (OUT1A in parallel
with OUT2A), OUTB (OUT1B in parallel with OUT2B) and driven by PHASE1 (W0 bit 8) and
PWM1 (pin 20).
The drives are powered by VS.
The crossover delay is controlled to provide sufficient time for cross-conduction
suppression, so that at no time both the upper and lower output devices on the same side of
the H bridge are allowed to conduct simultaneously.
A blanking period following a current turn-on event is included to prevent false current
protection turnoffs due to the initial current spike resulting from circuit capacitance.
When OCD happens, outputs are placed in Hi_Z untill next PWM positive edge occurs.
During an over-temperature event, when the device junction temperature Tj is above
Tj(shutdown), the internal thermal protection circuit disables the drive outputs by driving all
outputs to the high impedance state until the device temperatures have dropped below the
lower thermal threshold temperature.
c
u
d
e
t
le
Table 36.
o
s
b
O
-
)
s
t(
o
r
P
DC Motor Drivers - DC Specifications
(0°C ≤ Tj ≤ 125°C, VS = 32 V, unless otherwise specified)
Name
Description
)
s
(
ct
DC Motor Over Current Threshold
IDCMOTOR OCT
(1)
Conditions
Min
Typ
Max
Units
1.5
A
u
d
o
1. The current limitation is applied to the bottom H bridge LDMOS only, therefore over current protection applies to motor
current, but no short circuit protection exists against shorts from the DC motor outputs to ground or to VS.
Table 37.
r
P
e
DC Motor Drivers - AC/Transient Specifications
(0°C ≤ Tj ≤ 125°C, VS = 32 V, unless otherwise specified)
t
e
l
o
Name
Description
Conditions
fPWM
PWM frequency
Tblank
Blanking time (for OCD)
s
b
O
Table 38.
Typ
10
Max
Units
30
KHz
μs
1
DC Motor Drivers Truth Table
Therm.
prot.
OCD
W2 bit 15
(SLOW
/FAST)
W0 bit 8
or 14
(PHASE)
0
0
0
0
0
0
0
0
0
1
38/42
Min
Pin 20
OUT A
or 17
high side
(PWM)
OUT Al
ow side
OUT B
high side
OUT B
low side
Out State
Off
On
Off
On
L-L
Off
On
On
Off
L-H
L8229
DC Motor Driver operation
Table 38.
DC Motor Drivers Truth Table (continued)
Therm.
prot.
OCD
W2 bit 15
(SLOW
/FAST)
W0 bit 8
or 14
(PHASE)
Pin 20
OUT A
or 17
high side
(PWM)
0
0
0
1
0
0
0
0
1
0
0
1
0
0
0
OUT Al
ow side
OUT B
high side
OUT B
low side
Out State
Off
On
Off
On
L-L
1
On
Off
Off
On
H-L
0
0
On
Off
Off
On
H-L
1
0
1
Off
On
On
Off
L-H
0
1
1
0
Off
On
On
Off
L-H
0
0
1
1
1
On
Off
Off
On
H-L
x
1
X
X
X
Off
Off
Off
Off
Hi. Z
1
x
X
X
X
Off
Off
Off
Off
Hi. Z
c
u
d
e
t
le
)
s
(
ct
)
s
t(
o
r
P
o
s
b
O
-
u
d
o
r
P
e
t
e
l
o
s
b
O
39/42
Package Information
11
L8229
Package Information
In order to meet environmental requirements, ST offers these devices in ECOPACK®
packages. These packages have a Lead-free second level interconnect. The category of
second Level Interconnect is marked on the package and on the inner box label, in
compliance with JEDEC Standard JESD97. The maximum ratings related to soldering
conditions are also marked on the inner box label.
ECOPACK is an ST trademark. ECOPACK specifications are available at: www.st.com.
Figure 10. PowerSSO24 Mechanical Data & Package Dimensions
mm
DIM.
MIN.
TYP.
inch
MAX.
MIN.
TYP.
2.47
0.084
0.097
2.15
A2
2.15
2.40
0.084
0.094
a1
0
0.075
0
0.003
b
0.33
0.51
0.013
0.020
c
0.23
0.32
0.009
0.012
D (1)
10.10
10.50
0.398
0.413
E (1)
7.4
7.6
0.291
0.8
0.031
e3
8.8
0.346
G
0.10
0.004
G1
0.06
0.002
10.10
h
10.50
0.398
0.40
L
0.55
N
0.85
c
u
d
0.299
e
H
OUTLINE AND
MECHANICAL DATA
MAX.
A
0.413
e
t
le
0.016
0.022
10˚ (max)
X
4.10
4.70
0.161
Y
6.50
7.10
0.256
0.033
o
s
b
O
0.185
o
r
P
0.279
(1) “D and E1” do not include mold flash or protusions.
Mold flash or protusions shall not exceed 0.15mm (0.006”)
(2) No intrusion allowed inwards the leads.
(3) Flash or bleeds on exposed die pad shall not exceed 0.4 mm
per side
)
s
(
ct
)
s
t(
PowerSSO -24
(Exposed Pad)
u
d
o
r
P
e
t
e
l
o
s
b
O
7412818 A
40/42
L8229
12
Revision history
Revision history
Table 39.
Document revision history
Date
Revision
Changes
17-Feb-2005
1
Initial release.
10-Aug-2005
2
Many modify of texts and table.
20-Feb- 2006
3
Corrected some errors/imprecisions in the whole document.
Cancelled the L8229S part number, and all information about
HSOP24 package.
30-May-2006
4
Added note at the table 2.
12-Sep- 2006
5
Applied new graphic design template.
Modified the tables 2, 5, 6, 7, 8. 10, 13, 14, 15, 16, 17, 23 and 24.
c
u
d
e
t
le
)
s
(
ct
)
s
t(
o
r
P
o
s
b
O
-
u
d
o
r
P
e
t
e
l
o
s
b
O
41/42
L8229
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
c
u
d
)
s
t(
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
e
t
le
o
r
P
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
o
s
b
O
-
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
)
s
(
ct
u
d
o
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
r
P
e
t
e
l
o
s
b
O
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2006 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
42/42