-
Notifications
You must be signed in to change notification settings - Fork 11
/
usb_wrapper.sch
612 lines (612 loc) · 12.5 KB
/
usb_wrapper.sch
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
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:special
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:dp5t_switch
LIBS:usb_wrapper-cache
EELAYER 24 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title "USB Wrapper"
Date ""
Rev "1"
Comp "Galvant Industries"
Comment1 "Author: Steven Casagrande"
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L USB J1
U 1 1 529D4303
P 1600 2950
F 0 "J1" H 1550 3350 60 0000 C CNN
F 1 "USB" V 1350 3100 60 0000 C CNN
F 2 "" H 1600 2950 60 0000 C CNN
F 3 "" H 1600 2950 60 0000 C CNN
1 1600 2950
1 0 0 -1
$EndComp
Text Notes 1450 2450 0 60 ~ 0
Device
Text Notes 3800 1950 0 60 ~ 0
Untrusted Power
Text GLabel 1950 3300 2 60 Input ~ 0
DM
Text GLabel 1950 3150 2 60 Input ~ 0
DP
$Comp
L VCC #PWR01
U 1 1 529D44CF
P 1150 3050
F 0 "#PWR01" H 1150 3150 30 0001 C CNN
F 1 "VCC" H 1150 3150 30 0000 C CNN
F 2 "" H 1150 3050 60 0000 C CNN
F 3 "" H 1150 3050 60 0000 C CNN
1 1150 3050
1 0 0 -1
$EndComp
$Comp
L VCC #PWR02
U 1 1 529D44E3
P 3000 2300
F 0 "#PWR02" H 3000 2400 30 0001 C CNN
F 1 "VCC" H 3000 2400 30 0000 C CNN
F 2 "" H 3000 2300 60 0000 C CNN
F 3 "" H 3000 2300 60 0000 C CNN
1 3000 2300
1 0 0 -1
$EndComp
Wire Wire Line
1150 3050 1150 3150
Wire Wire Line
1150 3150 1200 3150
$Comp
L GND #PWR03
U 1 1 529D44FD
P 1050 3350
F 0 "#PWR03" H 1050 3350 30 0001 C CNN
F 1 "GND" H 1050 3280 30 0001 C CNN
F 2 "" H 1050 3350 60 0000 C CNN
F 3 "" H 1050 3350 60 0000 C CNN
1 1050 3350
1 0 0 -1
$EndComp
$Comp
L GND #PWR04
U 1 1 529D4511
P 3000 3000
F 0 "#PWR04" H 3000 3000 30 0001 C CNN
F 1 "GND" H 3000 2930 30 0001 C CNN
F 2 "" H 3000 3000 60 0000 C CNN
F 3 "" H 3000 3000 60 0000 C CNN
1 3000 3000
1 0 0 -1
$EndComp
Wire Wire Line
1200 3300 1050 3300
Wire Wire Line
1050 3300 1050 3350
$Comp
L R R5
U 1 1 529D4653
P 1300 4550
F 0 "R5" V 1380 4550 40 0000 C CNN
F 1 "75.0k" V 1307 4551 40 0000 C CNN
F 2 "" V 1230 4550 30 0000 C CNN
F 3 "" H 1300 4550 30 0000 C CNN
1 1300 4550
1 0 0 -1
$EndComp
$Comp
L R R6
U 1 1 529D4659
P 1300 5050
F 0 "R6" V 1380 5050 40 0000 C CNN
F 1 "49.9k" V 1307 5051 40 0000 C CNN
F 2 "" V 1230 5050 30 0000 C CNN
F 3 "" H 1300 5050 30 0000 C CNN
1 1300 5050
1 0 0 -1
$EndComp
$Comp
L R R7
U 1 1 529D465F
P 1600 4550
F 0 "R7" V 1680 4550 40 0000 C CNN
F 1 "43.2k" V 1607 4551 40 0000 C CNN
F 2 "" V 1530 4550 30 0000 C CNN
F 3 "" H 1600 4550 30 0000 C CNN
1 1600 4550
1 0 0 -1
$EndComp
$Comp
L R R8
U 1 1 529D4665
P 1600 5050
F 0 "R8" V 1680 5050 40 0000 C CNN
F 1 "49.9k" V 1607 5051 40 0000 C CNN
F 2 "" V 1530 5050 30 0000 C CNN
F 3 "" H 1600 5050 30 0000 C CNN
1 1600 5050
1 0 0 -1
$EndComp
Text Notes 1800 4000 2 60 ~ 0
Apple Charger
Wire Wire Line
1300 4300 1600 4300
Wire Wire Line
1450 4250 1450 4300
Connection ~ 1450 4300
Wire Wire Line
1300 5300 1600 5300
Wire Wire Line
1450 5300 1450 5350
Connection ~ 1450 5300
$Comp
L GND #PWR05
U 1 1 529D4679
P 1450 5350
F 0 "#PWR05" H 1450 5350 30 0001 C CNN
F 1 "GND" H 1450 5280 30 0001 C CNN
F 2 "" H 1450 5350 60 0000 C CNN
F 3 "" H 1450 5350 60 0000 C CNN
1 1450 5350
1 0 0 -1
$EndComp
Text GLabel 1250 4800 0 60 Input ~ 0
APPL_DP
Text GLabel 1650 4800 2 60 Input ~ 0
APPL_DM_1A
Wire Wire Line
1600 4800 1650 4800
Wire Wire Line
1300 4800 1250 4800
$Comp
L VCC #PWR06
U 1 1 529D4686
P 1450 4250
F 0 "#PWR06" H 1450 4350 30 0001 C CNN
F 1 "VCC" H 1450 4350 30 0000 C CNN
F 2 "" H 1450 4250 60 0000 C CNN
F 3 "" H 1450 4250 60 0000 C CNN
1 1450 4250
1 0 0 -1
$EndComp
Text Notes 1400 4100 0 60 ~ 0
700mA
$Comp
L R R9
U 1 1 529D477A
P 1600 5850
F 0 "R9" V 1680 5850 40 0000 C CNN
F 1 "75.0k" V 1607 5851 40 0000 C CNN
F 2 "" V 1530 5850 30 0000 C CNN
F 3 "" H 1600 5850 30 0000 C CNN
1 1600 5850
1 0 0 -1
$EndComp
$Comp
L R R10
U 1 1 529D4780
P 1600 6350
F 0 "R10" V 1680 6350 40 0000 C CNN
F 1 "49.9k" V 1607 6351 40 0000 C CNN
F 2 "" V 1530 6350 30 0000 C CNN
F 3 "" H 1600 6350 30 0000 C CNN
1 1600 6350
1 0 0 -1
$EndComp
$Comp
L GND #PWR07
U 1 1 529D4788
P 1600 6650
F 0 "#PWR07" H 1600 6650 30 0001 C CNN
F 1 "GND" H 1600 6580 30 0001 C CNN
F 2 "" H 1600 6650 60 0000 C CNN
F 3 "" H 1600 6650 60 0000 C CNN
1 1600 6650
1 0 0 -1
$EndComp
Text GLabel 1650 6100 2 60 Input ~ 0
APPL_DM_500mA
Wire Wire Line
1600 6100 1650 6100
$Comp
L VCC #PWR08
U 1 1 529D47A7
P 1600 5550
F 0 "#PWR08" H 1600 5650 30 0001 C CNN
F 1 "VCC" H 1600 5650 30 0000 C CNN
F 2 "" H 1600 5550 60 0000 C CNN
F 3 "" H 1600 5550 60 0000 C CNN
1 1600 5550
1 0 0 -1
$EndComp
Wire Wire Line
1600 5550 1600 5600
Wire Wire Line
1600 6600 1600 6650
Text Notes 1350 6100 0 60 ~ 0
500mA
$Comp
L R R11
U 1 1 529D4886
P 3250 5100
F 0 "R11" V 3330 5100 40 0000 C CNN
F 1 "40.2k" V 3257 5101 40 0000 C CNN
F 2 "" V 3180 5100 30 0000 C CNN
F 3 "" H 3250 5100 30 0000 C CNN
1 3250 5100
1 0 0 -1
$EndComp
$Comp
L R R12
U 1 1 529D488C
P 3250 5600
F 0 "R12" V 3330 5600 40 0000 C CNN
F 1 "49.9k" V 3257 5601 40 0000 C CNN
F 2 "" V 3180 5600 30 0000 C CNN
F 3 "" H 3250 5600 30 0000 C CNN
1 3250 5600
1 0 0 -1
$EndComp
$Comp
L R R13
U 1 1 529D4892
P 3550 5100
F 0 "R13" V 3630 5100 40 0000 C CNN
F 1 "40.2k" V 3557 5101 40 0000 C CNN
F 2 "" V 3480 5100 30 0000 C CNN
F 3 "" H 3550 5100 30 0000 C CNN
1 3550 5100
1 0 0 -1
$EndComp
$Comp
L R R14
U 1 1 529D4898
P 3550 5600
F 0 "R14" V 3630 5600 40 0000 C CNN
F 1 "49.9k" V 3557 5601 40 0000 C CNN
F 2 "" V 3480 5600 30 0000 C CNN
F 3 "" H 3550 5600 30 0000 C CNN
1 3550 5600
1 0 0 -1
$EndComp
Text Notes 3600 4650 2 60 ~ 0
Apple 2.5A
Wire Wire Line
3250 4850 3550 4850
Wire Wire Line
3400 4800 3400 4850
Connection ~ 3400 4850
Wire Wire Line
3250 5850 3550 5850
Wire Wire Line
3400 5850 3400 5900
Connection ~ 3400 5850
$Comp
L GND #PWR09
U 1 1 529D48A5
P 3400 5900
F 0 "#PWR09" H 3400 5900 30 0001 C CNN
F 1 "GND" H 3400 5830 30 0001 C CNN
F 2 "" H 3400 5900 60 0000 C CNN
F 3 "" H 3400 5900 60 0000 C CNN
1 3400 5900
1 0 0 -1
$EndComp
Text GLabel 3200 5350 0 60 Input ~ 0
APPL_DP_2.5A
Text GLabel 3600 5350 2 60 Input ~ 0
APPL_DM_2.5A
Wire Wire Line
3550 5350 3600 5350
Wire Wire Line
3250 5350 3200 5350
$Comp
L VCC #PWR010
U 1 1 529D48AF
P 3400 4800
F 0 "#PWR010" H 3400 4900 30 0001 C CNN
F 1 "VCC" H 3400 4900 30 0000 C CNN
F 2 "" H 3400 4800 60 0000 C CNN
F 3 "" H 3400 4800 60 0000 C CNN
1 3400 4800
1 0 0 -1
$EndComp
Text Notes 8050 4450 2 60 ~ 0
Dedicated Charging Port
Text GLabel 7300 4650 0 60 Input ~ 0
DCP_DP
Text GLabel 7700 4650 2 60 Input ~ 0
DCP_DM
Wire Wire Line
7300 4650 7700 4650
Text GLabel 5850 2700 0 60 Input ~ 0
DP
Text GLabel 5850 1900 0 60 Input ~ 0
DM
Text GLabel 6850 2600 2 60 Input ~ 0
DCP_DP
Text GLabel 6850 1650 2 60 Input ~ 0
DCP_DM
Text GLabel 9650 2600 2 60 Input ~ 0
APPL_DP
Text GLabel 9650 1800 2 60 Input ~ 0
APPL_DM_1A
Text GLabel 9650 2750 2 60 Input ~ 0
APPL_DP
Text GLabel 9650 1650 2 60 Input ~ 0
APPL_DM_500mA
$Comp
L USB J3
U 1 1 52D81E9E
P 4750 3000
F 0 "J3" H 4700 3400 60 0000 C CNN
F 1 "USB" V 4500 3150 60 0000 C CNN
F 2 "" H 4750 3000 60 0000 C CNN
F 3 "" H 4750 3000 60 0000 C CNN
1 4750 3000
1 0 0 -1
$EndComp
$Comp
L VCC #PWR011
U 1 1 52D81EA4
P 4300 3100
F 0 "#PWR011" H 4300 3200 30 0001 C CNN
F 1 "VCC" H 4300 3200 30 0000 C CNN
F 2 "" H 4300 3100 60 0000 C CNN
F 3 "" H 4300 3100 60 0000 C CNN
1 4300 3100
1 0 0 -1
$EndComp
Wire Wire Line
4300 3100 4300 3200
Wire Wire Line
4300 3200 4350 3200
$Comp
L GND #PWR012
U 1 1 52D81EAC
P 4200 3400
F 0 "#PWR012" H 4200 3400 30 0001 C CNN
F 1 "GND" H 4200 3330 30 0001 C CNN
F 2 "" H 4200 3400 60 0000 C CNN
F 3 "" H 4200 3400 60 0000 C CNN
1 4200 3400
1 0 0 -1
$EndComp
Wire Wire Line
4350 3350 4200 3350
Wire Wire Line
4200 3350 4200 3400
NoConn ~ 5100 3200
NoConn ~ 5100 3350
Text Notes 4550 2550 0 60 ~ 0
USB-B
Text Notes 3400 2100 0 60 ~ 0
micro USB
Text GLabel 9650 3050 2 60 Input ~ 0
APPL_DP_2.5A
Text GLabel 9650 2100 2 60 Input ~ 0
APPL_DM_2.5A
Text Notes 3350 4000 2 60 ~ 0
Apple 2.1A
Text GLabel 3100 4150 0 60 Input ~ 0
APPL_DP
Text GLabel 3150 4350 2 60 Input ~ 0
APPL_DM_1A
Wire Wire Line
3100 4350 3150 4350
Wire Wire Line
3150 4150 3100 4150
Text GLabel 3150 4150 2 60 Input ~ 0
APPL_DM_2.1A
Text GLabel 3100 4350 0 60 Input ~ 0
APPL_DP_2.1A
Text Notes 8800 4400 0 60 ~ 0
Sony
$Comp
L R R15
U 1 1 52D84076
P 8750 4900
F 0 "R15" V 8830 4900 40 0000 C CNN
F 1 "5.1k" V 8757 4901 40 0000 C CNN
F 2 "" V 8680 4900 30 0000 C CNN
F 3 "" H 8750 4900 30 0000 C CNN
1 8750 4900
1 0 0 -1
$EndComp
$Comp
L R R16
U 1 1 52D8407C
P 8750 5400
F 0 "R16" V 8830 5400 40 0000 C CNN
F 1 "10k" V 8757 5401 40 0000 C CNN
F 2 "" V 8680 5400 30 0000 C CNN
F 3 "" H 8750 5400 30 0000 C CNN
1 8750 5400
1 0 0 -1
$EndComp
$Comp
L R R17
U 1 1 52D84082
P 9050 4900
F 0 "R17" V 9130 4900 40 0000 C CNN
F 1 "5.1k" V 9057 4901 40 0000 C CNN
F 2 "" V 8980 4900 30 0000 C CNN
F 3 "" H 9050 4900 30 0000 C CNN
1 9050 4900
1 0 0 -1
$EndComp
$Comp
L R R18
U 1 1 52D84088
P 9050 5400
F 0 "R18" V 9130 5400 40 0000 C CNN
F 1 "10k" V 9057 5401 40 0000 C CNN
F 2 "" V 8980 5400 30 0000 C CNN
F 3 "" H 9050 5400 30 0000 C CNN
1 9050 5400
1 0 0 -1
$EndComp
Wire Wire Line
8750 4650 9050 4650
Wire Wire Line
8900 4600 8900 4650
Connection ~ 8900 4650
Wire Wire Line
8750 5650 9050 5650
Wire Wire Line
8900 5650 8900 5700
Connection ~ 8900 5650
$Comp
L GND #PWR013
U 1 1 52D84094
P 8900 5700
F 0 "#PWR013" H 8900 5700 30 0001 C CNN
F 1 "GND" H 8900 5630 30 0001 C CNN
F 2 "" H 8900 5700 60 0000 C CNN
F 3 "" H 8900 5700 60 0000 C CNN
1 8900 5700
1 0 0 -1
$EndComp
Text GLabel 8700 5150 0 60 Input ~ 0
SONY_DP
Text GLabel 9100 5150 2 60 Input ~ 0
SONY_DM
Wire Wire Line
9050 5150 9100 5150
Wire Wire Line
8750 5150 8700 5150
$Comp
L VCC #PWR014
U 1 1 52D8409E
P 8900 4600
F 0 "#PWR014" H 8900 4700 30 0001 C CNN
F 1 "VCC" H 8900 4700 30 0000 C CNN
F 2 "" H 8900 4600 60 0000 C CNN
F 3 "" H 8900 4600 60 0000 C CNN
1 8900 4600
1 0 0 -1
$EndComp
$Comp
L DP4T SW2
U 1 1 52D8450F
P 9150 1900
F 0 "SW2" H 8950 2050 50 0000 C CNN
F 1 "DP4T" H 8850 1550 50 0000 C CNN
F 2 "" H 9150 1900 60 0000 C CNN
F 3 "" H 9150 1900 60 0000 C CNN
1 9150 1900
1 0 0 -1
$EndComp
Text Notes 8850 1400 0 60 ~ 0
Apple Selector
Text Notes 6250 1400 0 60 ~ 0
Main Selector
Text GLabel 9650 1950 2 60 Input ~ 0
APPL_DM_2.1A
Text GLabel 9650 2900 2 60 Input ~ 0
APPL_DP_2.1A
Text GLabel 8650 1900 0 60 Input ~ 0
APPL_SWITCH_DM
Text GLabel 8650 2700 0 60 Input ~ 0
APPL_SWITCH_DP
Text GLabel 6850 2900 2 60 Input ~ 0
SONY_DP
Text GLabel 6850 1950 2 60 Input ~ 0
SONY_DM
NoConn ~ 6850 3050
NoConn ~ 6850 2100
Text GLabel 6850 1800 2 60 Input ~ 0
APPL_SWITCH_DM
Text GLabel 6850 2750 2 60 Input ~ 0
APPL_SWITCH_DP
$Comp
L DP4T SW1
U 1 1 52D853ED
P 6350 1900
F 0 "SW1" H 6150 2050 50 0000 C CNN
F 1 "DP4T" H 6050 1550 50 0000 C CNN
F 2 "" H 6350 1900 60 0000 C CNN
F 3 "" H 6350 1900 60 0000 C CNN
1 6350 1900
1 0 0 -1
$EndComp
Wire Wire Line
1200 3400 1200 3500
Wire Wire Line
1200 3500 4350 3500
Wire Wire Line
1950 3500 1950 3400
Wire Wire Line
4000 3300 4000 3500
Wire Wire Line
4350 3450 4350 3550
Wire Wire Line
4350 3550 5100 3550
Wire Wire Line
5100 3550 5100 3450
Connection ~ 4350 3500
Connection ~ 4000 3500
Connection ~ 1950 3500
$Comp
L USB-MINI-B J2
U 1 1 5412F43C
P 3600 2650
F 0 "J2" H 3350 3100 60 0000 C CNN
F 1 "USB-MICRO-B" H 3550 2150 60 0000 C CNN
F 2 "" H 3600 2650 60 0000 C CNN
F 3 "" H 3600 2650 60 0000 C CNN
1 3600 2650
1 0 0 -1
$EndComp
Wire Wire Line
3000 2300 3000 2350
Wire Wire Line
3000 2350 3050 2350
Wire Wire Line
3050 2950 3000 2950
Wire Wire Line
3000 2950 3000 3000
NoConn ~ 3050 2500
NoConn ~ 3050 2650
NoConn ~ 3050 2800
Wire Wire Line
4150 2350 4150 3300
Connection ~ 4150 2500
Connection ~ 4150 2800
Wire Wire Line
4150 3300 4000 3300
Connection ~ 4150 2950
$EndSCHEMATC