Skip to content

Commit f208056

Browse files
randomplumagners
authored andcommitted
USB: Add diode to prevent voltage out on USB-C
Signed-off-by: Dominik Sliwa <[email protected]>
1 parent 3ec4826 commit f208056

File tree

2 files changed

+51383
-85138
lines changed

2 files changed

+51383
-85138
lines changed

USB.kicad_sch

+53-13
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
(title_block
88
(title "USB 2.0 host/USB 2.0 device")
99
(date "2022-11-06")
10-
(rev "1.3b")
10+
(rev "1.3e")
1111
(company "Nabu Casa")
1212
(comment 1 "www.nabucasa.com")
1313
(comment 2 "Yellow")
@@ -2418,9 +2418,9 @@
24182418
)
24192419
)
24202420
2421+
(bus_alias "I2C" (members "SDA" "SCL"))
24212422
(bus_alias "CM4_USB" (members "CM4_USB_D+" "CM4_USB_D-" "CM4_USB_OTG_ID"))
24222423
(bus_alias "USB" (members "D+" "D-"))
2423-
(bus_alias "I2C" (members "SDA" "SCL"))
24242424
(junction (at 215.265 71.12) (diameter 0.9144) (color 0 0 0 0)
24252425
(uuid 00d35d35-a124-4754-a19e-a3136e64fbfa)
24262426
)
@@ -3231,7 +3231,7 @@
32313231
(stroke (width 0) (type solid))
32323232
(uuid 4a437569-507e-4735-a30b-8a40f5de183d)
32333233
)
3234-
(wire (pts (xy 173.99 179.07) (xy 165.1 179.07))
3234+
(wire (pts (xy 171.45 179.07) (xy 165.1 179.07))
32353235
(stroke (width 0) (type solid))
32363236
(uuid 4a471399-c5d1-4cc2-876d-2e0b615bb1e5)
32373237
)
@@ -3953,6 +3953,10 @@
39533953
(stroke (width 0) (type solid))
39543954
(uuid d680554f-cc91-428d-8a88-b6576491cfe8)
39553955
)
3956+
(wire (pts (xy 133.35 125.73) (xy 138.43 125.73))
3957+
(stroke (width 0) (type default))
3958+
(uuid d7b0207d-4338-4764-8dfe-f702304a6a05)
3959+
)
39563960
(wire (pts (xy 167.64 39.37) (xy 180.34 39.37))
39573961
(stroke (width 0) (type solid))
39583962
(uuid d8372bab-2a60-4aea-9b41-1dccea205890)
@@ -4096,7 +4100,7 @@
40964100
(stroke (width 0) (type solid))
40974101
(uuid ef93ad75-f8cc-4963-b7f2-8cb09c704314)
40984102
)
4099-
(wire (pts (xy 129.54 125.73) (xy 138.43 125.73))
4103+
(wire (pts (xy 114.3 125.73) (xy 128.27 125.73))
41004104
(stroke (width 0) (type solid))
41014105
(uuid efbf6fda-6f19-4dda-8e5a-90bcfbe5538f)
41024106
)
@@ -4232,10 +4236,6 @@
42324236
(effects (font (size 1.27 1.27)) (justify left bottom))
42334237
(uuid 0995beb5-347a-4f9c-8bb0-906998badb77)
42344238
)
4235-
(label "VBUS_{IN}" (at 173.99 179.07 180) (fields_autoplaced)
4236-
(effects (font (size 1.27 1.27)) (justify right bottom))
4237-
(uuid 09c260da-1d71-4bfd-8e5c-cc58e1ee25bf)
4238-
)
42394239
(label "CP.D+" (at 59.69 58.42 0) (fields_autoplaced)
42404240
(effects (font (size 1.27 1.27)) (justify left bottom))
42414241
(uuid 0a2c20e5-c565-49c1-a131-50cd443c0393)
@@ -4296,6 +4296,10 @@
42964296
(effects (font (size 1.27 1.27)) (justify left bottom))
42974297
(uuid 33038323-15b5-49f7-ab98-35ffac3eb012)
42984298
)
4299+
(label "VBUS" (at 133.35 125.73 0) (fields_autoplaced)
4300+
(effects (font (size 1.27 1.27)) (justify left bottom))
4301+
(uuid 3612b0d6-9965-4e25-8d64-185ddd26a90c)
4302+
)
42994303
(label "USB-C.D+" (at 125.73 144.78 0) (fields_autoplaced)
43004304
(effects (font (size 1.27 1.27)) (justify left bottom))
43014305
(uuid 3b5a24b5-f815-4762-97c8-be1bab141c1d)
@@ -4320,7 +4324,7 @@
43204324
(effects (font (size 1.27 1.27)) (justify left bottom))
43214325
(uuid 52728d42-1b39-4c3a-926b-90e60c1dfd80)
43224326
)
4323-
(label "VBUS_{IN}" (at 129.54 125.73 0) (fields_autoplaced)
4327+
(label "VBUS_{IN}" (at 114.3 125.73 0) (fields_autoplaced)
43244328
(effects (font (size 1.27 1.27)) (justify left bottom))
43254329
(uuid 52fe7725-16da-441b-a5eb-4584a623da56)
43264330
)
@@ -4344,6 +4348,10 @@
43444348
(effects (font (size 1.27 1.27)) (justify right bottom))
43454349
(uuid 616e3862-7097-4847-a63f-9811cba543e4)
43464350
)
4351+
(label "VBUS" (at 171.45 179.07 180) (fields_autoplaced)
4352+
(effects (font (size 1.27 1.27)) (justify right bottom))
4353+
(uuid 6265d3b5-43ee-468f-bc88-ae7086aa314c)
4354+
)
43474355
(label "USB0.D+" (at 180.34 44.45 180) (fields_autoplaced)
43484356
(effects (font (size 1.27 1.27)) (justify right bottom))
43494357
(uuid 66055b19-78cf-4236-a673-8374dfde6c5f)
@@ -5528,12 +5536,12 @@
55285536
(pin "2" (uuid c401c8e2-0382-4889-9184-7f73b71e8f76))
55295537
(pin "3" (uuid 8b07577d-47f3-43a3-9526-902df9bbf607))
55305538
(pin "4" (uuid 950cf0c6-dc16-4147-9187-b83edf8563a8))
5531-
(pin "9" (uuid 7b0b4e01-6b4a-4112-bb13-d5412823b9fc))
5539+
(pin "9" (uuid 7b0b4e01-6b4a-4112-bb13-d5412823b9fd))
55325540
(pin "5" (uuid b7dbde41-cd4a-4361-a041-a422ea177cc5))
55335541
(pin "6" (uuid 5bbfac04-8a57-4f33-8344-e5c2233ebf24))
55345542
(pin "7" (uuid 5629f661-91ba-4482-92f9-563bc43b0660))
55355543
(pin "8" (uuid 4f1c4753-9e5e-410e-821e-52efe15cf90a))
5536-
(pin "9" (uuid 7b0b4e01-6b4a-4112-bb13-d5412823b9fc))
5544+
(pin "9" (uuid 7b0b4e01-6b4a-4112-bb13-d5412823b9fd))
55375545
(instances
55385546
(project "Yellow"
55395547
(path "/abc482bd-3f17-4d35-80db-1da3dcdb5c27/aa1d8d83-5167-420c-9ee7-3e4dcc942bfc"
@@ -5699,8 +5707,8 @@
56995707
(pin "2" (uuid 4934dc5c-5380-455d-ae19-6e24d9bfceb5))
57005708
(pin "3" (uuid 729ac378-dce4-4df9-9bf1-e8016771d36d))
57015709
(pin "4" (uuid e4ee4232-6f40-426c-90f1-7eba2ae8f6f9))
5702-
(pin "5" (uuid 74619864-2e66-4d77-8dea-82d40bdf54e4))
5703-
(pin "5" (uuid 74619864-2e66-4d77-8dea-82d40bdf54e4))
5710+
(pin "5" (uuid 74619864-2e66-4d77-8dea-82d40bdf54e5))
5711+
(pin "5" (uuid 74619864-2e66-4d77-8dea-82d40bdf54e5))
57045712
(pin "6" (uuid 859581d4-43af-4391-b60d-17abe81465d4))
57055713
(pin "7" (uuid 3c49b464-5158-4723-9673-90a35b2f17b5))
57065714
(pin "8" (uuid f20f6f01-9336-44ee-88a8-0238647d91d6))
@@ -6490,6 +6498,38 @@
64906498
)
64916499
)
64926500
6501+
(symbol (lib_id "Device:D_Schottky_Small") (at 130.81 125.73 0) (mirror x) (unit 1)
6502+
(in_bom yes) (on_board yes) (dnp no)
6503+
(uuid ced84dbe-ac1a-45e4-8a1c-2f6d65b828e1)
6504+
(property "Reference" "D31" (at 130.81 123.444 0)
6505+
(effects (font (size 1.27 1.27)))
6506+
)
6507+
(property "Value" "CDBQR0130L" (at 130.81 121.412 0)
6508+
(effects (font (size 1.27 1.27)))
6509+
)
6510+
(property "Footprint" "Diode_SMD:D_0402_1005Metric" (at 130.81 125.73 90)
6511+
(effects (font (size 1.27 1.27)) hide)
6512+
)
6513+
(property "Datasheet" "https://www.comchiptech.com/admin/files/product/CDBQR0130L-HF-RevD.pdf" (at 130.81 125.73 90)
6514+
(effects (font (size 1.27 1.27)) hide)
6515+
)
6516+
(property "Manufacturer" "Comchip Technology" (at 130.81 125.73 0)
6517+
(effects (font (size 1.27 1.27)) hide)
6518+
)
6519+
(property "PartNumber" "CDBQR0130L" (at 130.81 125.73 0)
6520+
(effects (font (size 1.27 1.27)) hide)
6521+
)
6522+
(pin "1" (uuid 099fb4aa-5544-404f-82a6-ab0009cfec8a))
6523+
(pin "2" (uuid 3ac9b68c-3f9b-4fa2-a22e-65728c7ecc92))
6524+
(instances
6525+
(project "Yellow"
6526+
(path "/abc482bd-3f17-4d35-80db-1da3dcdb5c27/aa1d8d83-5167-420c-9ee7-3e4dcc942bfc"
6527+
(reference "D31") (unit 1)
6528+
)
6529+
)
6530+
)
6531+
)
6532+
64936533
(symbol (lib_id "Device:C_Small") (at 40.64 83.82 0) (unit 1)
64946534
(in_bom yes) (on_board yes) (dnp no)
64956535
(uuid d146055c-8aa8-48a7-afc9-ad76e69a2a0a)

0 commit comments

Comments
 (0)