Data Sheet

[AP1021]
AP1021AEN
32V Dual Microstepping Motor Driver IC with SPI
1. General Description
The AP1021 is a complete microstepping motor driver that can drive two stepper motors, to operate up to
28V motor supply voltage. N-channel LDMOS FETs are built in both high and low side for output driver to
achieve small package. It also includes under voltage detection and thermal shut down circuits. It is suitable
for driving various types of stepper motors.
2. Features












Built-in PWM Current Control Stepper Motor Driver
SPI Interface
Full Programmable Excitation Mode up to 1/64 step
Control Supply Voltage
(VC)
3.0V to 5.5V
Motor Drive Operating Voltage(VM)
2.0V to 28V
H-Bridge On Resistance 1.0
Adjustable PWM Motor Current by VIS pins.
Built-in UVLO(Under Voltage Lock Out circuit)
Built-in TSD(Thermal Shut Down circuit)
Built-in Charge Pump Circuit
Operating Temperature Range
-40C to +85C
Small 32-pin QFN (5mm×5mm) Package
015000428-E-00
2015/01
-1-
[AP1021]
3. Table of Contents
1.
2.
3.
4.
5.
6.
General Description ................................................................................................................................... 1
Features ...................................................................................................................................................... 1
Table of Contents ....................................................................................................................................... 2
Block Diagram ........................................................................................................................................... 3
Ordering Guide .......................................................................................................................................... 4
Pin Configurations and Functions .............................................................................................................. 4
■ Pin Configurations ................................................................................................................................... 4
■ Pin Functions ........................................................................................................................................... 5
7. Absolute Maximum Ratings ...................................................................................................................... 6
8. Recommended Operation Condition.......................................................................................................... 6
9. Electrical Characteristics ........................................................................................................................... 7
10.
Functional Descriptions ......................................................................................................................... 8
■ Enable mode ............................................................................................................................................ 8
■ ISn terminal current ................................................................................................................................. 9
■ SPI Interface .......................................................................................................................................... 14
■ Register map .......................................................................................................................................... 17
■ Register Description .............................................................................................................................. 17
11.
Recommended External Circuits.......................................................................................................... 20
12.
Package ................................................................................................................................................ 22
■ Outline Dimensions ............................................................................................................................... 22
■ Marking ................................................................................................................................................. 22
13.
Revise History ...................................................................................................................................... 23
IMPORTANT NOTICE .................................................................................................................................. 24
015000428-E-00
2015/01
-2-
[AP1021]
4. Block Diagram
M
VM
M
CVM
OUT2A
OUT2B
OUT3A
OUT1B
OUT1A
OUT4B
OUT4A
OUT3B
VM
CVG
VG
Charge
Pump
VREF
VREF
RR1
1/2.5
VIS
CIVS
RR2
Iout=VIS / (2.5×RIS)
OSC
H-bridge
Current Control
UVLO
TSD
VREF
Control Logic
VC
LV
EN
SDO
CSN,SDI,SCK, IS1
5 OE12,OE34
IS2
IS3
IS4
RIS1
RIS2
RIS3
RIS4
Exposed
Pad
CLV
VC
CVC
CPU
Figure 1. Block Diagram
015000428-E-00
2015/01
-3-
[AP1021]
5. Ordering Guide
AP1021 AEN
-40~85C
32-pin QFN
6. Pin Configurations and Functions
OUT3A
IS3
IS3
OUT3B
VM
OUT4A
IS4
IS4
24
23
22
21
20
19
18
17
■ Pin Configurations
SCK
25
16
OUT4B
SDI
26
15
VC
27
14
LV
13
VREF
12
VIS
11
TEST1
10
EN
9
OUT2B
SDO
28
OE12
29
OE34
30
TEST2
31
(Top View)
Exposed pad
2
3
2
4
5
6
7
8
IS1
IS1
OUT1B
VM
OUT2A
IS2
IS2
32
1
VG
AP1021
OUT1A
CSN
Exposed Pad must be connected to GND.
015000428-E-00
2015/01
-4-
[AP1021]
■ Pin Functions
No.
Pin
Name
1
OUT1A A
O
Motor driver output
2, 3
IS1
IO
Current sense terminal
4
OUT1B A
O
Motor driver output
5, 20
VM
-
Motor driver power supply
6
OUT2A A
O
Motor driver output
7, 8
IS2
IO
Current sense terminal
9
OUT2B A
O
Motor driver output
10
EN
D
I
Chip Enable (Power save)
11
TEST1
A
I
TEST pin. This pin must be connected
to the ground.
12
VIS
A
I
Motor current set voltage input
13
VREF
A
O
Voltage reference
14
LV
A
O
Logic voltage output capacitor
connection
15
VC
P
-
Control power supply
16
OUT4B A
O
Motor driver output
17, 18
IS4
I
Current sense terminal
19
OUT4A A
O
Motor driver output
21
OUT3B A
O
Motor driver output
22, 23
IS3
IO
Current sense terminal
24
OUT3A A
O
Motor driver output
25
SCK
D
I
Control data clock
26
SDI
D
I
Control data input
27
CSN
D
I
Chip select
28
SDO
D
I
Control data output
29
OE12
D
I
30
OE34
D
I
31
TEST2
D
I
32
VG
A
IO
Charge-pump output voltage
EP
GND
-
Ground
Exposed
Pad
Note 1.
Note 2.
Note 3.
Type
(Note 1)
A
P
A
A
A
I/O
Function
(Note 2)
Remark
200k Pull-down
OUT1/2 Output Enable when SELOE
register bit=H
OUT3/4 Output Enable when SELOE
register bit=H
TEST pin. This pin must be connected
to the ground.
(Note 3)
A(analog pin), D(digital pin), GND(ground pin), P(power pin)
I(input pin), O(output pin), IO(input/output pin)
Exposed Pad must be connected to GND.
015000428-E-00
2015/01
-5-
[AP1021]
7. Absolute Maximum Ratings
Parameter
Control supply voltage
Motor driver supply voltage
VC level terminal
(EN, CSN, SCK, SDI, SDO, OE12, OE34)
VM level terminal
(OUTnA, OUTnB)
1.8V level terminal
(LV, VREF, VIS)
1.2V level terminal
(ISn)
Symbol
VC
min
-0.5
max
5.5
Unit
V
VM
-0.5
32
V
Vterm1
-0.5
VC
V
Vterm2
-0.5
VM
V
Vterm3
-0.5
1.9
V
Vterm4
-0.5
1.3
V
Remark
IloadDC
1.2
A
Dual use (Note 8)
IloadPeak
1.7
A
Single use (Note 9)
Ipulse
2.8
A
Pulsed tw<1s
Power dissipation
PD
3.9
W
Ta=25C
Junction temperature
Tj
150
C
Storage temperature
Tstg
-40
150
C
Note 4. All above voltage are defined to GND.
Note 5. Product quality may suffer if the absolute maximum rating is exceeded even momentarily for any
parameter. That is, the absolute maximum ratings are rated values at which the products on the verge of
suffering physical damages, and therefore products must be used under conditions that ensure that the
absolute maximum ratings are not exceeded.
Note 6. When 4 layer board is used, this is calculated θJA=32C/W. EP terminal is connected ground.
Note 7. The each power supply of VM and VC is sequence-free.
Note 8. The AP1021 drives two stepper motors at the same time.
Note 9. For Power Dissipation, the output current rating may be limited by duty cycle, Ta, and PCB board
heat sinking design.
Maximum output current
8. Recommended Operation Condition
Parameter
Symbol
min
typ
max
Unit
Motor driver supply voltage
VM
2.0
24.0
28.0
V
Control supply voltage
VC
3.0
5.0
5.5
V
VIS input voltage range
VIS
0.2
-
VREF
V
Ta
-40
-
85
C
Operating Temperature range
Remark
Io=(VIS/2.5)/RISn
Note 10. All above voltage are defined to GND.
015000428-E-00
2015/01
-6-
[AP1021]
9. Electrical Characteristics
(Ta = 25C, VM=24V, VC = 5.0V, unless otherwise specified.)
Parameter
Symbol
Conditions
min
typ
max
Unit
Quiescent current
VC Quiescent current at OFF
IVCOFF
EN=”L”
-
-
10
A
VM Quiescent current at OFF
IVMOFF
EN=”L”
EN=”H”
SCK = 2MHz
Current data
increment speed =
1kHz
-
-
20
A
-
1.6
3.0
mA
-
1.0
1.3
Ω
-
0.8
1.2
V
0.7xVC
-
-
V
-
-
0.3xVC
V
tR
-
-
1.0
s
tF
-
-
1.0
s
IIH
-1.0
-
1.0
A
IIHEN
15
25
40
A
IIL
-1.0
-
1.0
A
1.22
1.25
1.28
V
tB
2.4
3.0
3.6
s
VOSIS
-50
0
50
mV
VC under voltage detect voltage
VCUV
1.9
2.2
2.5
V
Thermal shut down temperature
TTSD
150
175
200
C
-
30
-
C
VC Quiescent current at operate
IVC
H-bridge circuit
Driver on resistance
(High side + Low side)
Body diode forward voltage
RON1
VF
Iload 1ch/2ch =
100mA/100mA
Ta = 25C
IF = 100mA
Control logic
Input High level voltage
VIH
Input Low level voltage
Input pulse rise time
(OE12, OE34 pin)
Input pulse fall time
(OE12, OE34 pin)
Input High level current
Input High level current
(EN pin)
Input Low level current
VIL
VC = 3.0V-5.5V
Reference voltage
VREF terminal voltage
VREF
Iload = 100A
Current operation
Blanking time
VIS offset voltage
Protection circuit
Temperature hysteresis
TTSDHYS
Design certification
(Note 12)
Design certification
(Note 12)
Note 11. All above voltage are defined to GND.
Note 12. Not tested under mass-production.
015000428-E-00
2015/01
-7-
[AP1021]
10. Functional Descriptions
■ Enable mode
AP1021 can set outputs as Enable mode (Hi-Z) by registers or pins. When OE12 bit or OE34 bit is set to “0”
→“1” during SELOE bit = “0”, the outputs of OUT1/2 or OUT3/4 pin is set to Hi-Z. When OE12 pin or
OE34 pin is set to “L”→“H” during SELOE bit = “1”, the outputs of OUT1/2 or OUT3/4 pin is set to Hi-Z.
Table 1. Enable mode setting (x: Don’t care)
SELOE bit OE12 bit OE34 bit OE12 pin
“0”
“0”
“0”
x
‘“0”
“0”
“1”
x
“0”
“1”
“0”
x
“0”
“1”
“1”
x
“1”
x
x
“L”
“1”
x
x
“L”
“1”
x
x
“H”
“H”
“1”
x
x
OE12 pin
OE34 pin
OE34 pin
x
x
x
x
“L”
“H”
“L”
“H”
OUT1/2 pin
Hi-Z
Hi-Z
Normal operate
Normal operate
Hi-Z
Hi-Z
Normal operate
Normal operate
OUT3/4 pin
Hi-Z
Normal operate
Hi-Z
Normal operate
Hi-Z
Normal operate
Hi-Z
Normal operate
(default)
Enable
Iout1/3
Iout2/4
Figure 2. The example of an Enable mode setup by OE12 & OE34 pin
The figure is an image figure of 1/4step.
015000428-E-00
2015/01
-8-
[AP1021]
■ ISn terminal current
AP1021 sets up the excitation mode of 1/64 step and the output current for every step by the register control
of 4-wire serial interface.
・Direction of Current
CW
CCW
Figure 3. Dimming Characteristics with the DIM pin
015000428-E-00
2015/01
-9-
[AP1021]
・ISn terminal current in case of 1/64 step
Step#
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Output
Current
IS1/3[%]
100
100
100
100
100
99
99
98
98
98
97
96
96
95
94
93
93
91
91
89
88
87
86
84
83
82
80
79
77
76
74
73
71
69
67
65
64
62
60
58
56
53
51
49
47
45
43
40
38
36
34
31
29
27
24
22
20
17
15
12
10
7
5
2
Direction of
Current
OUT1/3
CW
Output
Current
IS2/4[%]
0
2
5
7
10
12
15
17
20
22
24
27
29
31
34
36
38
40
43
45
47
49
51
53
56
58
60
62
64
65
67
69
71
73
74
76
77
79
80
82
83
84
86
87
88
89
91
91
93
93
94
95
96
96
97
98
98
98
99
99
100
100
100
100
015000428-E-00
Direction of
Current
OUT2/ 4
X
CW
STEP12
STEP34
(bin)
10010000
10010001
10010011
10010010
10010110
10010111
10010101
10010100
10011100
10011101
10011111
10011110
10011010
10011011
10011001
10011000
10001000
10001001
10001011
10001010
10001110
10001111
10001101
10001100
10000100
10000101
10000111
10000110
10000010
10000011
10000001
10000000
00000000
00000001
00000011
00000010
00000110
00000111
00000101
00000100
00001100
00001101
00001111
00001110
00001010
00001011
00001001
00001000
00011000
00011001
00011011
00011010
00011110
00011111
00011101
00011100
00010100
00010101
00010111
00010110
00010010
00010011
00010001
00010000
(hex)
90
91
93
92
96
97
95
94
9C
9D
9F
9E
9A
9B
99
98
88
89
8B
8A
8E
8F
8D
8C
84
85
87
86
82
83
81
80
00
01
03
02
06
07
05
04
0C
0D
0F
0E
0A
0B
09
08
18
19
1B
1A
1E
1F
1D
1C
14
15
17
16
12
13
11
10
2015/01
- 10 -
[AP1021]
Step#
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Output
Current
IS1/3[%]
0
2
5
7
10
12
15
17
20
22
24
27
29
31
34
36
38
40
43
45
47
49
51
53
56
58
60
62
64
65
67
69
71
73
74
76
77
79
80
82
83
84
86
87
88
89
91
91
93
93
94
95
96
96
97
98
98
98
99
99
100
100
100
100
Direction of
Current
OUT1/3
X
CCW
Output
Current
IS2/4[%]
100
100
100
100
100
99
99
98
98
98
97
96
96
95
94
93
93
91
91
89
88
87
86
84
83
82
80
79
77
76
74
73
71
69
67
65
64
62
60
58
56
53
51
49
47
45
43
40
38
36
34
31
29
27
24
22
20
17
15
12
10
7
5
2
015000428-E-00
Direction of
Current
OUT2/ 4
CW
STEP12
STEP34
(bin)
00110000
00110001
00110011
00110010
00110110
00110111
00110101
00110100
00111100
00111101
00111111
00111110
00111010
00111011
00111001
00111000
00101000
00101001
00101011
00101010
00101110
00101111
00101101
00101100
00100100
00100101
00100111
00100110
00100010
00100011
00100001
00100000
01100000
01100001
01100011
01100010
01100110
01100111
01100101
01100100
01101100
01101101
01101111
01101110
01101010
01101011
01101001
01101000
01111000
01111001
01111011
01111010
01111110
01111111
01111101
01111100
01110100
01110101
01110111
01110110
01110010
01110011
01110001
01110000
(hex)
30
31
33
32
36
37
35
34
3C
3D
3F
3E
3A
3B
39
38
28
29
2B
2A
2E
2F
2D
2C
24
25
27
26
22
23
21
20
60
61
63
62
66
67
65
64
6C
6D
6F
6E
6A
6B
69
68
78
79
7B
7A
7E
7F
7D
7C
74
75
77
76
72
73
71
70
2015/01
- 11 -
[AP1021]
Step#
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
Output
Current
IS1/3[%]
100
100
100
100
100
99
99
98
98
98
97
96
96
95
94
93
93
91
91
89
88
87
86
84
83
82
80
79
77
76
74
73
71
69
67
65
64
62
60
58
56
53
51
49
47
45
43
40
38
36
34
31
29
27
24
22
20
17
15
12
10
7
5
2
Direction of
Current
OUT1/3
CCW
Output
Current
IS2/4[%]
0
2
5
7
10
12
15
17
20
22
24
27
29
31
34
36
38
40
43
45
47
49
51
53
56
58
60
62
64
65
67
69
71
73
74
76
77
79
80
82
83
84
86
87
88
89
91
91
93
93
94
95
96
96
97
98
98
98
99
99
100
100
100
100
015000428-E-00
Direction of
Current
OUT2/ 4
X
CCW
STEP12
STEP34
(bin)
01010000
01010001
01010011
01010010
01010110
01010111
01010101
01010100
01011100
01011101
01011111
01011110
01011010
01011011
01011001
01011000
01001000
01001001
01001011
01001010
01001110
01001111
01001101
01001100
01000100
01000101
01000111
01000110
01000010
01000011
01000001
01000000
11000000
11000001
11000011
11000010
11000110
11000111
11000101
11000100
11001100
11001101
11001111
11001110
11001010
11001011
11001001
11001000
11011000
11011001
11011011
11011010
11011110
11011111
11011101
11011100
11010100
11010101
11010111
11010110
11010010
11010011
11010001
11010000
(hex)
50
51
53
52
56
57
55
54
5C
5D
5F
5E
5A
5B
59
58
48
49
4B
4A
4E
4F
4D
4C
44
45
47
46
42
43
41
40
C0
C1
C3
C2
C6
C7
C5
C4
CC
CD
CF
CE
CA
CB
C9
C8
D8
D9
DB
DA
DE
DF
DD
DC
D4
D5
D7
D6
D2
D3
D1
D0
2015/01
- 12 -
[AP1021]
Step#
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
Output
Current
IS1/3[%]
0
2
5
7
10
12
15
17
20
22
24
27
29
31
34
36
38
40
43
45
47
49
51
53
56
58
60
62
64
65
67
69
71
73
74
76
77
79
80
82
83
84
86
87
88
89
91
91
93
93
94
95
96
96
97
98
98
98
99
99
100
100
100
100
Direction of
Current
OUT1/3
X
CW
Output
Current
IS2/4[%]
100
100
100
100
100
99
99
98
98
98
97
96
96
95
94
93
93
91
91
89
88
87
86
84
83
82
80
79
77
76
74
73
71
69
67
65
64
62
60
58
56
53
51
49
47
45
43
40
38
36
34
31
29
27
24
22
20
17
15
12
10
7
5
2
015000428-E-00
Direction of
Current
OUT2/ 4
CCW
STEP12
STEP34
(bin)
11110000
11110001
11110011
11110010
11110110
11110111
11110101
11110100
11111100
11111101
11111111
11111110
11111010
11111011
11111001
11111000
11101000
11101001
11101011
11101010
11101110
11101111
11101101
11101100
11100100
11100101
11100111
11100110
11100010
11100011
11100001
11100000
10100000
10100001
10100011
10100010
10100110
10100111
10100101
10100100
10101100
10101101
10101111
10101110
10101010
10101011
10101001
10101000
10111000
10111001
10111011
10111010
10111110
10111111
10111101
10111100
10110100
10110101
10110111
10110110
10110010
10110011
10110001
10110000
(hex)
F0
F1
F3
F2
F6
F7
F5
F4
FC
FD
FF
FE
FA
FB
F9
F8
E8
E9
EB
EA
EE
EF
ED
EC
E4
E5
E7
E6
E2
E3
E1
E0
A0
A1
A3
A2
A6
A7
A5
A4
AC
AD
AF
AE
AA
AB
A9
A8
B8
B9
BB
BA
BE
BF
BD
BC
B4
B5
B7
B6
B2
B3
B1
B0
2015/01
- 13 -
[AP1021]
■ SPI Interface
1. Data Writing and Reading Modes on Every Address
Internal registers are written by using 4-wire serial interface pins (CSN, SCK, SDI and SDO). The data on
this interface consists of Register address (MSB first, 7bits), Read/Write and Control data or Output data
(MSB first, 8bits). Address and data is clocked in on the rising edge of SCK and data is clocked out on the
falling edge. Data writings become available on the rising edge of 16th falling edge of SCK. When reading
the data, the SDO pin outputs data in D7-D0 at the falling edge of 8th SCK. Clock speed of SCK is 2MHz
(max). In write mode, after recognizing D0 by “↑” of SCK, CSN have to be set “L” → “H”.
CSN
1
SCK
“L”
SDI
“H” or “L”
2
3
4
5
6
7
8
9
10 11
12 13 14 15
16
“L”
A6
A5 A4 A3 A2 A1 A0
A6-A0:
R/W:
D7-D0:
“H” or “L”
W D7 D6 D5 D4 D3 D2 D1 D0
Register Address (7bit)
READ/WRITE select bit (1bit) “L”: WRITE
Control data Input at Write Command (8bit)
Figure 4. Serial Control Interface Timing (write mode)
CSN
1
3
4
5
6
7
8
9
10 11 12 13 14 15 16
“L”
“L”
SCK
SDI
2
“H” or “L”
A6
A5 A4 A3 A2 A1 A0
“H” or “L”
R
“Hi-Z”
“Hi-Z”
SDO
D7 D6 D5 D4 D3 D2 D1 D0
o“L”
A6-A0:
R/W:
D7-D0:
o“L”
“H” or “L”
Register Address (7bit)
READ/WRITE select bit (1bit) “H”: READ
Output data at Read Command (8bit)
Figure 5. Serial Control Interface Timing (read mode)
015000428-E-00
2015/01
- 14 -
[AP1021]
2. Continuous Data Writing and Reading Mode
Address is incremented automatically and data is written continuously. When the written address or the
read-out address reaches 03H, it is automatically incremented to 00H.
In this mode, registers are written by 4-wire serial interface pins (CSN, SCK, SDI and SDO). The data on the
4-wire serial interface is 8 bit data, consisting of register address (MSB-first, 7bits), Read/Write and control
or output data (MSB-first, 8xN bits). The receiving data is latched on a rising edge (“”) of SCK. The first
write data becomes effective between the rising edge (“”) and the falling edge (“”) of 16th SCK. When
the micro-processor continues sending SDI and SCK clocks while the CSN pin = “L”, the address counter is
incremented automatically and writing data becomes effective between the rising edge (“”) and the falling
edge (“”) of every 8th SCK. For the last address, writing data becomes effective between the rising edge
(“”) of 8th SCK.
Similarly, in the case of read-out mode, when the micro-processor continues sending SCK clocks while the
CSN pin = “L” the address counter is incremented automatically and the data output from SDO at the falling
edge (“”) of SCK continuously. The clock speed of SCK is 2MHz (max).
Even through the writing data does not reach the last address; a write or read-out command can be completed
when the CSN pin is set to “H” as long as SCK is continuing being inputted.
When CSN “” was written before “” of 8th SCK in continuous data writing mode, the previous data
writing address becomes valid and the writing address is ignored.
After 8bits data in the last address became valid, put the CSN pin “H” to complete the write command. If the
SDI and SCK inputs are continued when the CSN pin = “L”, the data in the next address, which is
incremented, is over written.
CSN
1
SCK
Clock, ‘H’ or ‘L’
SDI
‘H’ or ‘L’
2
3
4
5
6
7
8
9
10
15 16 1
2
7
8
1
2
7
8
Clock, ‘H’ or ‘L’
A6 A5 A4 A3 A2 A1 A0
W D7 D6
Data (Addr: n)
Address: n
A6-A0:
R/W:
D7-D0:
D1 D0 D7 D6
D1 D0
D7 D6
Data (Addr: n+1)
D1 D0 ‘H’ or ‘L’
Data (Addr: n+N-1)
Register Address
READ/WRITE (“0”: WRITE)
Control data (Input) at Write Command
Figure 6. Serial Control Interface Timing (Continuous Writing Mode)
CSN
1
SCK
SDI
2
3
4
5
6
7
8
9
10
15 16 1
2
7
8
1
2
7
8
Clock, ‘H’ or ‘L’
‘H’ or ‘L’
Clock, ‘H’ or ‘L’
A6 A5 A4 A3 A2 A1 A0
‘H’ or ‘L’
R
Address: n
SDO
Hi-z
Hi-z
D7 D6
D1 D0 D7 D6
Data (Addr: n)
A6-A0:
R/W:
D7-D0:
D1 D0
Data (Addr: n+1)
D7 D6
D1 D0
Data (Addr: n+N-1)
Register Address
READ/WRITE (“1”: READ)
Output data at Read Command (8bit)
Figure 7. Serial Control Interface Timing (Continuous Reading Mode)
015000428-E-00
2015/01
- 15 -
[AP1021]
・DC characteristics
Table 2.
(Ta = 25C; VM = 2.0 ~ 24V, VC =3.0 ~ 5.5V, unless otherwise specified.)
Parameter
Symbol
min
typ
max
Unit
Serial µP Interface (SDI, SDO, SCK pins)
High-Level Input Voltage
VIH
0.7xVC
V
Low-Level Input Voltage
VIL
0.3xVC
V
Serial µP Interface (SDO pins Output)
High-Level Output Voltage
(Iout = 80A)
VOH
VC0.2
V
Low-Level Output Voltage
(Iout = 80A)
VOL
0.2
V
・Switching characteristics
tCSW
CSN
tLead
tSCK
tSCKH tSCKL
tLag
SCK
tSU
tH
SDI
tA
tV
tHO
tdis
SDO
Table 3.
Parameter
Control Interface Timing
SCK Period
SCK Pulse Width Low
SCK Pulse Width High
SDI Setup Time
SDI Hold Time
CSN “H” Time
Enable Lead Time
CSN “” Edge to SCK “”
Enable Lag Time
SCK “” to CSN “” Edge
Access Time
Data Valid
SCK “” to SDO (at Read Command)
Data Hold Time
Disable Time
CSN “” to SDO (Hi-Z) (at Read Command)
015000428-E-00
Symbol
min
typ
max
Unit
tSCK
tSCKL
tSCKH
tSU
tH
tCSW
500
200
200
100
100
375
-
-
ns
ns
ns
ns
ns
ns
tLead
250
-
-
ns
tLag
250
-
-
ns
tA
0
-
120
ns
tV
-
-
240
ns
tHO
0
-
-
ns
tdis
-
-
240
ns
2015/01
- 16 -
[AP1021]
■ Register map
Register
Name
Addr
STEP12
00H
STEP12[7:0]
STEP34
01H
STEP34[7:0]
OECTL
02H
7
6
5
4
3
2
Reserved
1
0
OE34
OE12
OECNFG 03H
Reserved
Resister spaces are four bytes of 03H from 00H. It is inhibit to write the address exceeding 03H.
SELOE
■ Register Description
Address : 00H
7
6
5
4
R
3
2
1
0
0
0
0
STEP12[7:0]
W
default
0
0
0
0
0
BIT
Field
R/W
Description
7-0
STEP12[7:0]
R/W
The step of Motor Driver 1 & 2 Setting.
According to the STEP value set up by this register,
OUT1A, OUT1B, OUT2A, OUT2B, IS1, and IS2 are
outputted.
Address : 01H
7
6
5
4
R
2
1
0
0
0
0
STEP34[7:0]
W
default
3
0
0
0
0
0
BIT
Field
R/W
Description
7-0
STEP34[7:0]
R/W
The step of Motor Driver 3 & 4 Setting.
According to the STEP value set up by this register,
OUT3A, OUT3B, OUT4A, OUT4B, IS3, and IS4 are
outputted.
015000428-E-00
2015/01
- 17 -
[AP1021]
Address : 02H
7
6
5
R
4
3
2
Reserved
W
default
0
BIT
Field
7-2
Reserved
0
0
0
R/W
0
0
1
0
OE34
OE12
0
0
Description
R
Reserved
1
OE34
R/W
The Output Enable Of Motor Driver 3 & 4 Setting.
0: Motor Driver3/4 Output Disable
1: Motor Driver3/4 Output Enable
0
OE12
R/W
The Output Enable Of Motor Driver 1 & 2 Setting.
0: Motor Driver1/2 Output Disable
1: Motor Driver1/2 Output Enable
Address : 03H
7
6
5
4
R
3
2
1
Reserved
SELOE
W
default
0
BIT
Field
7-2
Reserved
0
SELOE
0
0
0
R/W
R
R/W
0
0
0
0
0
Description
Reserved
The bit which chooses whether Enable setup is carried
out to register control or pin control.
0: OE12, OE34 bit register control
1: OE12, OE34 pin control
015000428-E-00
2015/01
- 18 -
[AP1021]
・Current operation
1. Current operation image
Charge
Charge
Slow
Charge
Slow
Charge
Slow
Fast
Charge
Slow
Fast
Charge
Slow
Charge
Slow
Slow
Setting
current
Banking time
Motor
current
OSC
2. Current of decay mode
Charge mode
VM
ON
Fast decay
OFF
OFF
ON
GND
VM
Slow decay
OFF
OFF
OFF
ON
OFF
ON
GND
015000428-E-00
VM
OFF
ON
GND
2015/01
- 19 -
[AP1021]
11. Recommended External Circuits
M
VM
M
CVM
OUT2B
OUT2A
OUT3A
OUT1B
OUT1A
OUT4B
OUT4A
OUT3B
VM
CVG
VG
Charge
Pump
VREF
VREF
RR1
1/2.5
VIS Iout=VIS / (2.5×RIS)
CIVS
RR2
OSC
H-bridge
Current Control
UVLO
TSD
VREF
Control Logic
VC
LV
EN
SDO
CLV
VC
CVC
5
IS1
CSN,SDI,SCK,
OE12,OE34
IS2
IS3
IS4
RIS1
RIS2
RIS3
RIS4
CPU
Exposed
Pad
Figure 8. Recommended External Circuit
015000428-E-00
2015/01
- 20 -
[AP1021]
Table 4. Recommended external components example
Items
min
typ
max
Unit
47
F
CVM
1
F
CVC
1.0
F
CVG
4.7
100
150
nF
CLV
0.68
1.0
1.5
F
CVIS
-
1.0
-
F
RISn
-
500
-
m
RR1
-
12
-
k
Remark
Electrolytic condenser
Ceramic condenser
RR2
47
k
Note 13. Above capacitance is an example. Please choose the best external capacitors of CVM, CVC and
CVG for the customers’ application boards by depending on the load current profile, the load capacitance,
the line resistance and etc.
015000428-E-00
2015/01
- 21 -
[AP1021]
12. Package
■ Outline Dimensions
・32-pin QFN(Unit: mm)
Top View
Bottom View
1
0.3
3.60
5.00±0.05
32
0.50±0.05
3.60
32
0.25±0.05
0.40±0.10
5.00±0.05
0.75max
1
0.20 Ref
3.50
Unit : mm
■ Marking
(1) 1pin Description
(2)
AP1021
YWWAA
(3)
(1)
(4)
(5)
(2)Product Name "AP1021"
(3)Year Code(last 1 digit)
(4)Week Code
(5)Management Code
015000428-E-00
2015/01
- 22 -
[AP1021]
13. Revise History
Date
(YY/MM/DD)
15/01/09
Revision
Page
Contents
00
-
First Edition
015000428-E-00
2015/01
- 23 -
[AP1021]
IMPORTANT NOTICE
0. Asahi Kasei Microdevices Corporation (“AKM”) reserves the right to make changes to the
information contained in this document without notice. When you consider any use or application
of AKM product stipulated in this document (“Product”), please make inquiries the sales office of
AKM or authorized distributors as to current status of the Products.
1. All information included in this document are provided only to illustrate the operation and
application examples of AKM Products. AKM neither makes warranties or representations with
respect to the accuracy or completeness of the information contained in this document nor grants
any license to any intellectual property rights or any other rights of AKM or any third party with
respect to the information in this document. You are fully responsible for use of such information
contained in this document in your product design or applications. AKM ASSUMES NO
LIABILITY FOR ANY LOSSES INCURRED BY YOU OR THIRD PARTIES ARISING FROM
THE USE OF SUCH INFORMATION IN YOUR PRODUCT DESIGN OR APPLICATIONS.
2. The Product is neither intended nor warranted for use in equipment or systems that require
extraordinarily high levels of quality and/or reliability and/or a malfunction or failure of which
may cause loss of human life, bodily injury, serious property damage or serious public impact,
including but not limited to, equipment used in nuclear facilities, equipment used in the aerospace
industry, medical equipment, equipment used for automobiles, trains, ships and other
transportation, traffic signaling equipment, equipment used to control combustions or explosions,
safety devices, elevators and escalators, devices related to electric power, and equipment used in
finance-related fields. Do not use Product for the above use unless specifically agreed by AKM in
writing.
3. Though AKM works continually to improve the Product’s quality and reliability, you are
responsible for complying with safety standards and for providing adequate designs and safeguards
for your hardware, software and systems which minimize risk and avoid situations in which a
malfunction or failure of the Product could cause loss of human life, bodily injury or damage to
property, including data loss or corruption.
4. Do not use or otherwise make available the Product or related technology or any information
contained in this document for any military purposes, including without limitation, for the design,
development, use, stockpiling or manufacturing of nuclear, chemical, or biological weapons or
missile technology products (mass destruction weapons). When exporting the Products or related
technology or any information contained in this document, you should comply with the applicable
export control laws and regulations and follow the procedures required by such laws and
regulations. The Products and related technology may not be used for or incorporated into any
products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or
foreign laws or regulations.
5. Please contact AKM sales representative for details as to environmental matters such as the RoHS
compatibility of the Product. Please use the Product in compliance with all applicable laws and
regulations that regulate the inclusion or use of controlled substances, including without limitation,
the EU RoHS Directive. AKM assumes no liability for damages or losses occurring as a result of
noncompliance with applicable laws and regulations.
6. Resale of the Product with provisions different from the statement and/or technical features set
forth in this document shall immediately void any warranty granted by AKM for the Product and
shall not create or extend in any manner whatsoever, any liability of AKM.
7. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior
written consent of AKM.
015000428-E-00
2015/01
- 24 -