-
Notifications
You must be signed in to change notification settings - Fork 4
/
ATAPIHat-SMI.lib
398 lines (398 loc) · 10.8 KB
/
ATAPIHat-SMI.lib
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
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
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
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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# Connector_Generic_Conn_02x20_Odd_Even
#
DEF Connector_Generic_Conn_02x20_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 1000 50 H V C CNN
F1 "Connector_Generic_Conn_02x20_Odd_Even" 50 -1100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_2x??_*
$ENDFPLIST
DRAW
S -50 -995 0 -1005 1 1 6 N
S -50 -895 0 -905 1 1 6 N
S -50 -795 0 -805 1 1 6 N
S -50 -695 0 -705 1 1 6 N
S -50 -595 0 -605 1 1 6 N
S -50 -495 0 -505 1 1 6 N
S -50 -395 0 -405 1 1 6 N
S -50 -295 0 -305 1 1 6 N
S -50 -195 0 -205 1 1 6 N
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 205 0 195 1 1 6 N
S -50 305 0 295 1 1 6 N
S -50 405 0 395 1 1 6 N
S -50 505 0 495 1 1 6 N
S -50 605 0 595 1 1 6 N
S -50 705 0 695 1 1 6 N
S -50 805 0 795 1 1 6 N
S -50 905 0 895 1 1 6 N
S -50 950 150 -1050 1 1 10 f
S 150 -995 100 -1005 1 1 6 N
S 150 -895 100 -905 1 1 6 N
S 150 -795 100 -805 1 1 6 N
S 150 -695 100 -705 1 1 6 N
S 150 -595 100 -605 1 1 6 N
S 150 -495 100 -505 1 1 6 N
S 150 -395 100 -405 1 1 6 N
S 150 -295 100 -305 1 1 6 N
S 150 -195 100 -205 1 1 6 N
S 150 -95 100 -105 1 1 6 N
S 150 5 100 -5 1 1 6 N
S 150 105 100 95 1 1 6 N
S 150 205 100 195 1 1 6 N
S 150 305 100 295 1 1 6 N
S 150 405 100 395 1 1 6 N
S 150 505 100 495 1 1 6 N
S 150 605 100 595 1 1 6 N
S 150 705 100 695 1 1 6 N
S 150 805 100 795 1 1 6 N
S 150 905 100 895 1 1 6 N
X Pin_1 1 -200 900 150 R 50 50 1 1 P
X Pin_10 10 300 500 150 L 50 50 1 1 P
X Pin_11 11 -200 400 150 R 50 50 1 1 P
X Pin_12 12 300 400 150 L 50 50 1 1 P
X Pin_13 13 -200 300 150 R 50 50 1 1 P
X Pin_14 14 300 300 150 L 50 50 1 1 P
X Pin_15 15 -200 200 150 R 50 50 1 1 P
X Pin_16 16 300 200 150 L 50 50 1 1 P
X Pin_17 17 -200 100 150 R 50 50 1 1 P
X Pin_18 18 300 100 150 L 50 50 1 1 P
X Pin_19 19 -200 0 150 R 50 50 1 1 P
X Pin_2 2 300 900 150 L 50 50 1 1 P
X Pin_20 20 300 0 150 L 50 50 1 1 P
X Pin_21 21 -200 -100 150 R 50 50 1 1 P
X Pin_22 22 300 -100 150 L 50 50 1 1 P
X Pin_23 23 -200 -200 150 R 50 50 1 1 P
X Pin_24 24 300 -200 150 L 50 50 1 1 P
X Pin_25 25 -200 -300 150 R 50 50 1 1 P
X Pin_26 26 300 -300 150 L 50 50 1 1 P
X Pin_27 27 -200 -400 150 R 50 50 1 1 P
X Pin_28 28 300 -400 150 L 50 50 1 1 P
X Pin_29 29 -200 -500 150 R 50 50 1 1 P
X Pin_3 3 -200 800 150 R 50 50 1 1 P
X Pin_30 30 300 -500 150 L 50 50 1 1 P
X Pin_31 31 -200 -600 150 R 50 50 1 1 P
X Pin_32 32 300 -600 150 L 50 50 1 1 P
X Pin_33 33 -200 -700 150 R 50 50 1 1 P
X Pin_34 34 300 -700 150 L 50 50 1 1 P
X Pin_35 35 -200 -800 150 R 50 50 1 1 P
X Pin_36 36 300 -800 150 L 50 50 1 1 P
X Pin_37 37 -200 -900 150 R 50 50 1 1 P
X Pin_38 38 300 -900 150 L 50 50 1 1 P
X Pin_39 39 -200 -1000 150 R 50 50 1 1 P
X Pin_4 4 300 800 150 L 50 50 1 1 P
X Pin_40 40 300 -1000 150 L 50 50 1 1 P
X Pin_5 5 -200 700 150 R 50 50 1 1 P
X Pin_6 6 300 700 150 L 50 50 1 1 P
X Pin_7 7 -200 600 150 R 50 50 1 1 P
X Pin_8 8 300 600 150 L 50 50 1 1 P
X Pin_9 9 -200 500 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Raspberry_Pi_2_3
#
DEF Connector_Raspberry_Pi_2_3 J 0 40 Y Y 1 F N
F0 "J" -700 1250 50 H V L BNN
F1 "Connector_Raspberry_Pi_2_3" 400 -1250 50 H V L TNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
PinHeader*2x20*P2.54mm*Vertical*
PinSocket*2x20*P2.54mm*Vertical*
$ENDFPLIST
DRAW
S -700 1200 700 -1200 0 1 10 f
S -665 -690 -700 -710 1 1 0 N
S -665 -590 -700 -610 1 1 0 N
S -665 -490 -700 -510 1 1 0 N
S -665 -390 -700 -410 1 1 0 N
S -665 -290 -700 -310 1 1 0 N
S -665 -190 -700 -210 1 1 0 N
S -665 10 -700 -10 1 1 0 N
S -665 110 -700 90 1 1 0 N
S -665 210 -700 190 1 1 0 N
S -665 410 -700 390 1 1 0 N
S -665 510 -700 490 1 1 0 N
S -665 610 -700 590 1 1 0 N
S -665 810 -700 790 1 1 0 N
S -665 910 -700 890 1 1 0 N
S -410 -1165 -390 -1200 1 1 0 N
S -310 -1165 -290 -1200 1 1 0 N
S -210 -1165 -190 -1200 1 1 0 N
S -210 1200 -190 1165 1 1 0 N
S -110 -1165 -90 -1200 1 1 0 N
S -110 1200 -90 1165 1 1 0 N
S -10 -1165 10 -1200 1 1 0 N
S 90 -1165 110 -1200 1 1 0 N
S 90 1200 110 1165 1 1 0 N
S 190 -1165 210 -1200 1 1 0 N
S 190 1200 210 1165 1 1 0 N
S 290 -1165 310 -1200 1 1 0 N
S 700 -790 665 -810 1 1 0 N
S 700 -690 665 -710 1 1 0 N
S 700 -490 665 -510 1 1 0 N
S 700 -390 665 -410 1 1 0 N
S 700 -290 665 -310 1 1 0 N
S 700 -190 665 -210 1 1 0 N
S 700 -90 665 -110 1 1 0 N
S 700 110 665 90 1 1 0 N
S 700 210 665 190 1 1 0 N
S 700 310 665 290 1 1 0 N
S 700 510 665 490 1 1 0 N
S 700 610 665 590 1 1 0 N
S 700 810 665 790 1 1 0 N
S 700 910 665 890 1 1 0 N
X 3V3 1 100 1300 100 D 50 50 1 1 W
X GPIO15/RXD 10 -800 800 100 R 50 50 1 1 B
X GPIO17 11 -800 500 100 R 50 50 1 1 B
X GPIO18/PWM0 12 -800 400 100 R 50 50 1 1 B
X GPIO27 13 -800 -700 100 R 50 50 1 1 B
X GND 14 -200 -1300 100 U 50 50 1 1 W
X GPIO22 15 -800 -200 100 R 50 50 1 1 B
X GPIO23 16 -800 -300 100 R 50 50 1 1 B
X 3V3 17 200 1300 100 D 50 50 1 1 W
X GPIO24 18 -800 -400 100 R 50 50 1 1 B
X MOSI0/GPIO10 19 800 -400 100 L 50 50 1 1 B
X 5V 2 -200 1300 100 D 50 50 1 1 W
X GND 20 -100 -1300 100 U 50 50 1 1 W
X MISO0/GPIO9 21 800 -300 100 L 50 50 1 1 B
X GPIO25 22 -800 -500 100 R 50 50 1 1 B
X SCLK0/GPIO11 23 800 -500 100 L 50 50 1 1 B
X ~CE0~/GPIO8 24 800 -200 100 L 50 50 1 1 B
X GND 25 0 -1300 100 U 50 50 1 1 W
X ~CE1~/GPIO7 26 800 -100 100 L 50 50 1 1 B
X ID_SD/GPIO0 27 800 900 100 L 50 50 1 1 B
X ID_SC/GPIO1 28 800 800 100 L 50 50 1 1 B
X GCLK1/GPIO5 29 800 200 100 L 50 50 1 1 B
X SDA/GPIO2 3 800 600 100 L 50 50 1 1 B
X GND 30 100 -1300 100 U 50 50 1 1 W
X GCLK2/GPIO6 31 800 100 100 L 50 50 1 1 B
X PWM0/GPIO12 32 800 -700 100 L 50 50 1 1 B
X PWM1/GPIO13 33 800 -800 100 L 50 50 1 1 B
X GND 34 200 -1300 100 U 50 50 1 1 W
X GPIO19/MISO1 35 -800 200 100 R 50 50 1 1 B
X GPIO16 36 -800 600 100 R 50 50 1 1 B
X GPIO26 37 -800 -600 100 R 50 50 1 1 B
X GPIO20/MOSI1 38 -800 100 100 R 50 50 1 1 B
X GND 39 300 -1300 100 U 50 50 1 1 W
X 5V 4 -100 1300 100 D 50 50 1 1 W
X GPIO21/SCLK1 40 -800 0 100 R 50 50 1 1 B
X SCL/GPIO3 5 800 500 100 L 50 50 1 1 B
X GND 6 -400 -1300 100 U 50 50 1 1 W
X GCLK0/GPIO4 7 800 300 100 L 50 50 1 1 B
X GPIO14/TXD 8 -800 900 100 R 50 50 1 1 B
X GND 9 -300 -1300 100 U 50 50 1 1 W
ENDDRAW
ENDDEF
#
# Device_C
#
DEF Device_C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "Device_C" 25 -100 50 H V L CNN
F2 "" 38 -150 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 20 -80 -30 80 -30 N
P 2 0 1 20 -80 30 80 30 N
X ~ 1 0 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_LED
#
DEF Device_LED D 0 40 N N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "Device_LED" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
LED*
LED_SMD:*
LED_THT:*
$ENDFPLIST
DRAW
P 2 0 1 10 -50 -50 -50 50 N
P 2 0 1 0 -50 0 50 0 N
P 4 0 1 10 50 -50 50 50 -50 0 50 -50 N
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_R
#
DEF Device_R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "Device_R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Interface_Expansion_MCP23S17_SO
#
DEF Interface_Expansion_MCP23S17_SO U 0 40 Y Y 1 F N
F0 "U" -450 950 50 H V C CNN
F1 "Interface_Expansion_MCP23S17_SO" 0 0 50 H V C CNN
F2 "Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm" 200 -1000 50 H I L CNN
F3 "" 200 -1100 50 H I L CNN
$FPLIST
SOIC*7.5x17.9mm*P1.27mm*
$ENDFPLIST
DRAW
S -500 900 500 -900 0 1 10 f
X GPB0 1 700 800 200 L 50 50 1 1 B
X VSS 10 0 -1100 200 U 50 50 1 1 W
X ~CS~ 11 -700 800 200 R 50 50 1 1 I
X SCK 12 -700 700 200 R 50 50 1 1 I
X SI 13 -700 600 200 R 50 50 1 1 I
X SO 14 -700 500 200 R 50 50 1 1 O
X A0 15 -700 -800 200 R 50 50 1 1 I
X A1 16 -700 -700 200 R 50 50 1 1 I
X A2 17 -700 -600 200 R 50 50 1 1 I
X ~RESET~ 18 -700 -100 200 R 50 50 1 1 I
X INTB 19 -700 200 200 R 50 50 1 1 T
X GPB1 2 700 700 200 L 50 50 1 1 B
X INTA 20 -700 100 200 R 50 50 1 1 T
X GPA0 21 700 -100 200 L 50 50 1 1 B
X GPA1 22 700 -200 200 L 50 50 1 1 B
X GPA2 23 700 -300 200 L 50 50 1 1 B
X GPA3 24 700 -400 200 L 50 50 1 1 B
X GPA4 25 700 -500 200 L 50 50 1 1 B
X GPA5 26 700 -600 200 L 50 50 1 1 B
X GPA6 27 700 -700 200 L 50 50 1 1 B
X GPA7 28 700 -800 200 L 50 50 1 1 B
X GPB2 3 700 600 200 L 50 50 1 1 B
X GPB3 4 700 500 200 L 50 50 1 1 B
X GPB4 5 700 400 200 L 50 50 1 1 B
X GPB5 6 700 300 200 L 50 50 1 1 B
X GPB6 7 700 200 200 L 50 50 1 1 B
X GPB7 8 700 100 200 L 50 50 1 1 B
X VDD 9 0 1100 200 D 50 50 1 1 W
ENDDRAW
ENDDEF
#
# Logic_LevelTranslator_TXS0108EPW
#
DEF Logic_LevelTranslator_TXS0108EPW U 0 20 Y Y 1 F N
F0 "U" -250 650 50 H V C CNN
F1 "Logic_LevelTranslator_TXS0108EPW" 150 650 50 H V L CNN
F2 "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" 0 -750 50 H I C CNN
F3 "" 0 -100 50 H I C CNN
$FPLIST
*SSOP*4.4x6.5mm*P0.65mm*
$ENDFPLIST
DRAW
S -300 600 300 -600 0 1 10 f
X A1 1 -400 300 100 R 50 50 1 1 B
X OE 10 -400 400 100 R 50 50 1 1 I
X GND 11 0 -700 100 U 50 50 1 1 W
X B8 12 400 -400 100 L 50 50 1 1 B
X B7 13 400 -300 100 L 50 50 1 1 B
X B6 14 400 -200 100 L 50 50 1 1 B
X B5 15 400 -100 100 L 50 50 1 1 B
X B4 16 400 0 100 L 50 50 1 1 B
X B3 17 400 100 100 L 50 50 1 1 B
X B2 18 400 200 100 L 50 50 1 1 B
X VCCB 19 100 700 100 D 50 50 1 1 W
X VCCA 2 -100 700 100 D 50 50 1 1 W
X B1 20 400 300 100 L 50 50 1 1 B
X A2 3 -400 200 100 R 50 50 1 1 B
X A3 4 -400 100 100 R 50 50 1 1 B
X A4 5 -400 0 100 R 50 50 1 1 B
X A5 6 -400 -100 100 R 50 50 1 1 B
X A6 7 -400 -200 100 R 50 50 1 1 B
X A7 8 -400 -300 100 R 50 50 1 1 B
X A8 9 -400 -400 100 R 50 50 1 1 B
ENDDRAW
ENDDEF
#
# Memory_EEPROM_AT24CS32-SSHM
#
DEF Memory_EEPROM_AT24CS32-SSHM U 0 20 Y Y 1 F N
F0 "U" -300 250 50 H V C CNN
F1 "Memory_EEPROM_AT24CS32-SSHM" 100 -250 50 H V L CNN
F2 "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
SOIC*3.9x4.9mm*P1.27mm*
$ENDFPLIST
DRAW
S -300 200 300 -200 1 1 10 f
X A0 1 -400 100 100 R 50 50 1 1 I
X A1 2 -400 0 100 R 50 50 1 1 I
X A2 3 -400 -100 100 R 50 50 1 1 I
X GND 4 0 -300 100 U 50 50 1 1 W
X SDA 5 400 100 100 L 50 50 1 1 B
X SCL 6 400 0 100 L 50 50 1 1 I
X WP 7 400 -100 100 L 50 50 1 1 I
X VCC 8 0 300 100 D 50 50 1 1 W
ENDDRAW
ENDDEF
#
# power_+3V3
#
DEF power_+3V3 #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_+3V3" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS +3.3V
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +3V3 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_+5V
#
DEF power_+5V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_+5V" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +5V 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_GND
#
DEF power_GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "power_GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library