usb shenanigans

This commit is contained in:
Ricardo (XenGi) Band 2023-03-18 17:06:38 +01:00
commit 906630af05
No known key found for this signature in database
8 changed files with 235428 additions and 199015 deletions

BIN
main/datasheets/3642fc.pdf Normal file

Binary file not shown.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -64,20 +64,26 @@
"rule_severities": { "rule_severities": {
"annular_width": "error", "annular_width": "error",
"clearance": "error", "clearance": "error",
"connection_width": "warning",
"copper_edge_clearance": "error", "copper_edge_clearance": "error",
"copper_sliver": "warning",
"courtyards_overlap": "error", "courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error", "diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error", "diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error", "drill_out_of_range": "error",
"duplicate_footprints": "warning", "duplicate_footprints": "warning",
"extra_footprint": "warning", "extra_footprint": "warning",
"footprint": "error",
"footprint_type_mismatch": "error", "footprint_type_mismatch": "error",
"hole_clearance": "error", "hole_clearance": "error",
"hole_near_hole": "error", "hole_near_hole": "error",
"invalid_outline": "error", "invalid_outline": "error",
"isolated_copper": "warning",
"item_on_disabled_layer": "error", "item_on_disabled_layer": "error",
"items_not_allowed": "error", "items_not_allowed": "error",
"length_out_of_range": "error", "length_out_of_range": "error",
"lib_footprint_issues": "warning",
"lib_footprint_mismatch": "warning",
"malformed_courtyard": "error", "malformed_courtyard": "error",
"microvia_drill_out_of_range": "error", "microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore", "missing_courtyard": "ignore",
@ -87,9 +93,14 @@
"padstack": "error", "padstack": "error",
"pth_inside_courtyard": "ignore", "pth_inside_courtyard": "ignore",
"shorting_items": "error", "shorting_items": "error",
"silk_edge_clearance": "warning",
"silk_over_copper": "warning", "silk_over_copper": "warning",
"silk_overlap": "warning", "silk_overlap": "warning",
"skew_out_of_range": "error", "skew_out_of_range": "error",
"solder_mask_bridge": "error",
"starved_thermal": "error",
"text_height": "warning",
"text_thickness": "warning",
"through_hole_pad_without_hole": "error", "through_hole_pad_without_hole": "error",
"too_many_vias": "error", "too_many_vias": "error",
"track_dangling": "warning", "track_dangling": "warning",
@ -98,7 +109,6 @@
"unconnected_items": "error", "unconnected_items": "error",
"unresolved_variable": "error", "unresolved_variable": "error",
"via_dangling": "warning", "via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error" "zones_intersect": "error"
}, },
"rule_severitieslegacy_courtyards_overlap": true, "rule_severitieslegacy_courtyards_overlap": true,
@ -108,18 +118,63 @@
"allow_microvias": false, "allow_microvias": false,
"max_error": 0.005, "max_error": 0.005,
"min_clearance": 0.15239999999999998, "min_clearance": 0.15239999999999998,
"min_connection": 0.0,
"min_copper_edge_clearance": 0.0, "min_copper_edge_clearance": 0.0,
"min_hole_clearance": 0.25, "min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25, "min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998, "min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999, "min_microvia_drill": 0.09999999999999999,
"min_resolved_spokes": 2,
"min_silk_clearance": 0.0, "min_silk_clearance": 0.0,
"min_text_height": 0.7999999999999999,
"min_text_thickness": 0.08,
"min_through_hole_diameter": 0.254, "min_through_hole_diameter": 0.254,
"min_track_width": 0.15239999999999998, "min_track_width": 0.15239999999999998,
"min_via_annular_width": 0.127, "min_via_annular_width": 0.127,
"min_via_diameter": 0.508, "min_via_diameter": 0.508,
"solder_mask_to_copper_clearance": 0.0,
"use_height_for_length_calcs": true "use_height_for_length_calcs": true
}, },
"teardrop_options": [
{
"td_allow_use_two_tracks": true,
"td_curve_segcount": 5,
"td_on_pad_in_zone": false,
"td_onpadsmd": true,
"td_onroundshapesonly": false,
"td_ontrackend": false,
"td_onviapad": true
}
],
"teardrop_parameters": [
{
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_target_name": "td_round_shape",
"td_width_to_size_filter_ratio": 0.9
},
{
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_target_name": "td_rect_shape",
"td_width_to_size_filter_ratio": 0.9
},
{
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_target_name": "td_track_end",
"td_width_to_size_filter_ratio": 0.9
}
],
"track_widths": [ "track_widths": [
0.0 0.0
], ],
@ -476,20 +531,12 @@
"MCU" "MCU"
], ],
[ [
"00000000-0000-0000-0000-00005da0a96c", "ad2da778-2009-4410-8e22-9de9d91368e5",
"USB" "USB Shenanigans"
],
[
"00000000-0000-0000-0000-00005da0598f",
"frontlight"
], ],
[ [
"00000000-0000-0000-0000-00005d980490", "00000000-0000-0000-0000-00005d980490",
"keys" "keys"
],
[
"e196f6bf-92f9-4c4e-8398-967246776872",
"USB Hub"
] ]
], ],
"text_variables": {} "text_variables": {}

View file

@ -16,14 +16,6 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 0f54db53-a272-4955-88fb-d7ab00657bb0) (uuid 0f54db53-a272-4955-88fb-d7ab00657bb0)
) )
(wire (pts (xy 87.63 83.82) (xy 88.9 83.82))
(stroke (width 0) (type default))
(uuid 1a6d2848-e78e-49fe-8978-e1890f07836f)
)
(wire (pts (xy 88.9 68.58) (xy 87.63 68.58))
(stroke (width 0) (type default))
(uuid 240e07e1-770b-4b27-894f-29fd601c924d)
)
(wire (pts (xy 114.3 58.42) (xy 119.38 58.42)) (wire (pts (xy 114.3 58.42) (xy 119.38 58.42))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 2d6db888-4e40-41c8-b701-07170fc894bc) (uuid 2d6db888-4e40-41c8-b701-07170fc894bc)
@ -36,10 +28,6 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 45008225-f50f-4d6b-b508-6730a9408caf) (uuid 45008225-f50f-4d6b-b508-6730a9408caf)
) )
(wire (pts (xy 83.82 55.88) (xy 88.9 55.88))
(stroke (width 0) (type default))
(uuid 4a4ec8d9-3d72-4952-83d4-808f65849a2b)
)
(wire (pts (xy 114.3 63.5) (xy 119.38 63.5)) (wire (pts (xy 114.3 63.5) (xy 119.38 63.5))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 5528bcad-2950-4673-90eb-c37e6952c475) (uuid 5528bcad-2950-4673-90eb-c37e6952c475)
@ -52,6 +40,10 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 66043bca-a260-4915-9fce-8a51d324c687) (uuid 66043bca-a260-4915-9fce-8a51d324c687)
) )
(wire (pts (xy 66.04 63.5) (xy 88.9 63.5))
(stroke (width 0) (type default))
(uuid 666da60b-84fe-4f33-9759-7d3ae537f849)
)
(wire (pts (xy 114.3 60.96) (xy 119.38 60.96)) (wire (pts (xy 114.3 60.96) (xy 119.38 60.96))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 7bbf981c-a063-4e30-8911-e4228e1c0743) (uuid 7bbf981c-a063-4e30-8911-e4228e1c0743)
@ -64,6 +56,10 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 80094b70-85ab-4ff6-934b-60d5ee65023a) (uuid 80094b70-85ab-4ff6-934b-60d5ee65023a)
) )
(wire (pts (xy 66.04 60.96) (xy 88.9 60.96))
(stroke (width 0) (type default))
(uuid 807b33ce-5895-4d13-8f71-e87564c355c3)
)
(wire (pts (xy 119.38 53.34) (xy 114.3 53.34)) (wire (pts (xy 119.38 53.34) (xy 114.3 53.34))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 852dabbf-de45-4470-8176-59d37a754407) (uuid 852dabbf-de45-4470-8176-59d37a754407)
@ -76,10 +72,6 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 97fe9c60-586f-4895-8504-4d3729f5f81a) (uuid 97fe9c60-586f-4895-8504-4d3729f5f81a)
) )
(wire (pts (xy 87.63 68.58) (xy 87.63 83.82))
(stroke (width 0) (type default))
(uuid a544eb0a-75db-4baf-bf54-9ca21744343b)
)
(wire (pts (xy 114.3 50.8) (xy 119.38 50.8)) (wire (pts (xy 114.3 50.8) (xy 119.38 50.8))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid b5352a33-563a-4ffe-a231-2e68fb54afa3) (uuid b5352a33-563a-4ffe-a231-2e68fb54afa3)
@ -92,18 +84,10 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid bfc0aadc-38cf-466e-a642-68fdc3138c78) (uuid bfc0aadc-38cf-466e-a642-68fdc3138c78)
) )
(wire (pts (xy 83.82 60.96) (xy 88.9 60.96))
(stroke (width 0) (type default))
(uuid cbd8faed-e1f8-4406-87c8-58b2c504a5d4)
)
(wire (pts (xy 114.3 40.64) (xy 119.38 40.64)) (wire (pts (xy 114.3 40.64) (xy 119.38 40.64))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid d4a1d3c4-b315-4bec-9220-d12a9eab51e0) (uuid d4a1d3c4-b315-4bec-9220-d12a9eab51e0)
) )
(wire (pts (xy 83.82 63.5) (xy 88.9 63.5))
(stroke (width 0) (type default))
(uuid f2c93195-af12-4d3e-acdf-bdd0ff675c24)
)
(sheet (at 119.38 25.4) (size 20.32 48.26) (fields_autoplaced) (sheet (at 119.38 25.4) (size 20.32 48.26) (fields_autoplaced)
(stroke (width 0) (type solid)) (stroke (width 0) (type solid))
@ -236,10 +220,6 @@
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
(uuid 4c8eb964-bdf4-44de-90e9-e2ab82dd5313) (uuid 4c8eb964-bdf4-44de-90e9-e2ab82dd5313)
) )
(pin "FRONTLIGHT" input (at 88.9 68.58 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid aa14c3bd-4acc-4908-9d28-228585a22a9d)
)
(pin "COL7" input (at 114.3 40.64 0) (pin "COL7" input (at 114.3 40.64 0)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
(uuid 9bb20359-0f8b-45bc-9d38-6626ed3a939d) (uuid 9bb20359-0f8b-45bc-9d38-6626ed3a939d)
@ -284,10 +264,6 @@
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
(uuid c0515cd2-cdaa-467e-8354-0f6eadfa35c9) (uuid c0515cd2-cdaa-467e-8354-0f6eadfa35c9)
) )
(pin "VBUS" input (at 88.9 55.88 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 1bf544e3-5940-4576-9291-2464e95c0ee2)
)
(pin "COL12" input (at 114.3 27.94 0) (pin "COL12" input (at 114.3 27.94 0)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
(uuid 3aaee4c4-dbf7-49a5-a620-9465d8cc3ae7) (uuid 3aaee4c4-dbf7-49a5-a620-9465d8cc3ae7)
@ -299,77 +275,30 @@
) )
) )
(sheet (at 88.9 81.28) (size 15.24 5.08) (fields_autoplaced) (sheet (at 53.34 58.42) (size 12.7 7.62) (fields_autoplaced)
(stroke (width 0) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 00000000-0000-0000-0000-00005da0598f)
(property "Sheetname" "frontlight" (at 88.9 80.5684 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "frontlight.kicad_sch" (at 88.9 86.9446 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "FRONTLIGHT" input (at 88.9 83.82 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 8174b4de-74b1-48db-ab8e-c8432251095b)
)
(instances
(project "mkbd65"
(path "/efeac2a2-7682-4dc7-83ee-f6f1b23da506" (page "4"))
)
)
)
(sheet (at 69.85 53.34) (size 13.97 12.7) (fields_autoplaced)
(stroke (width 0) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 00000000-0000-0000-0000-00005da0a96c)
(property "Sheetname" "USB" (at 69.85 52.6284 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "usb.kicad_sch" (at 69.85 66.6246 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "VBUS" input (at 83.82 55.88 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid ce83728b-bebd-48c2-8734-b6a50d837931)
)
(pin "USB_D-" input (at 83.82 63.5 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid c41b3c8b-634e-435a-b582-96b83bbd4032)
)
(pin "USB_D+" input (at 83.82 60.96 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 9340c285-5767-42d5-8b6d-63fe2a40ddf3)
)
(instances
(project "mkbd65"
(path "/efeac2a2-7682-4dc7-83ee-f6f1b23da506" (page "3"))
)
)
)
(sheet (at 40.64 41.91) (size 19.05 16.51) (fields_autoplaced)
(stroke (width 0.1524) (type solid)) (stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000)) (fill (color 0 0 0 0.0000))
(uuid e196f6bf-92f9-4c4e-8398-967246776872) (uuid ad2da778-2009-4410-8e22-9de9d91368e5)
(property "Sheetname" "USB Hub" (at 40.64 41.1984 0) (property "Sheetname" "USB Shenanigans" (at 53.34 57.7084 0)
(effects (font (size 1.27 1.27)) (justify left bottom)) (effects (font (size 1.27 1.27)) (justify left bottom))
) )
(property "Sheetfile" "usb_hub.kicad_sch" (at 40.64 59.0046 0) (property "Sheetfile" "usbshenanigans.kicad_sch" (at 53.34 66.6246 0)
(effects (font (size 1.27 1.27)) (justify left top)) (effects (font (size 1.27 1.27)) (justify left top))
) )
(pin "KBD_D+" input (at 59.69 44.45 0) (property "Field2" "" (at 53.34 58.42 0)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) hide)
(uuid f4ff772a-b24d-4bac-a7b1-9ce6d41b2cee)
) )
(pin "KBD_D-" input (at 59.69 46.99 0) (pin "USB_D+" input (at 66.04 60.96 0)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
(uuid 43bb4b37-8d4f-4a31-869a-d9341319aca2) (uuid 394880ff-d2ac-41a7-86fc-fb3c000d7752)
)
(pin "USB_D-" input (at 66.04 63.5 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 884e424b-efce-4d77-93d8-ab6ccf4f8423)
) )
(instances (instances
(project "mkbd65" (project "mkbd65"
(path "/efeac2a2-7682-4dc7-83ee-f6f1b23da506" (page "6")) (path "/efeac2a2-7682-4dc7-83ee-f6f1b23da506" (page "5"))
) )
) )
) )

View file

@ -1,6 +1,6 @@
(sym_lib_table (sym_lib_table
(version 7)
(lib (name "mkbd65-rescue")(type "KiCad")(uri "${KIPRJMOD}/mkbd65-rescue.kicad_sym")(options "")(descr "")) (lib (name "mkbd65-rescue")(type "KiCad")(uri "${KIPRJMOD}/mkbd65-rescue.kicad_sym")(options "")(descr ""))
(lib (name "USB7051")(type "KiCad")(uri "${KIPRJMOD}/symbols/USB7051.kicad_sym")(options "")(descr ""))
(lib (name "ATMEGA32U4-MU")(type "KiCad")(uri "${KIPRJMOD}/symbols/ATMEGA32U4-MU.kicad_sym")(options "")(descr "")) (lib (name "ATMEGA32U4-MU")(type "KiCad")(uri "${KIPRJMOD}/symbols/ATMEGA32U4-MU.kicad_sym")(options "")(descr ""))
(lib (name "ATMEGA32U4-MUR")(type "KiCad")(uri "${KIPRJMOD}/symbols/ATMEGA32U4-MUR.kicad_sym")(options "")(descr "")) (lib (name "ATMEGA32U4-MUR")(type "KiCad")(uri "${KIPRJMOD}/symbols/ATMEGA32U4-MUR.kicad_sym")(options "")(descr ""))
(lib (name "ATMEGA32U4RC-MU")(type "KiCad")(uri "${KIPRJMOD}/symbols/ATMEGA32U4RC-MU.kicad_sym")(options "")(descr "")) (lib (name "ATMEGA32U4RC-MU")(type "KiCad")(uri "${KIPRJMOD}/symbols/ATMEGA32U4RC-MU.kicad_sym")(options "")(descr ""))
@ -9,6 +9,5 @@
(lib (name "UPD350A-Q8X")(type "KiCad")(uri "${KIPRJMOD}/symbols/UPD350A-Q8X.kicad_sym")(options "")(descr "")) (lib (name "UPD350A-Q8X")(type "KiCad")(uri "${KIPRJMOD}/symbols/UPD350A-Q8X.kicad_sym")(options "")(descr ""))
(lib (name "UPD350B-I-Q8X")(type "KiCad")(uri "${KIPRJMOD}/symbols/UPD350B-I-Q8X.kicad_sym")(options "")(descr "")) (lib (name "UPD350B-I-Q8X")(type "KiCad")(uri "${KIPRJMOD}/symbols/UPD350B-I-Q8X.kicad_sym")(options "")(descr ""))
(lib (name "TL3315NF100Q")(type "KiCad")(uri "${KIPRJMOD}/symbols/TL3315NF100Q.kicad_sym")(options "")(descr "")) (lib (name "TL3315NF100Q")(type "KiCad")(uri "${KIPRJMOD}/symbols/TL3315NF100Q.kicad_sym")(options "")(descr ""))
(lib (name "USB7050-I_KDX")(type "KiCad")(uri "${KIPRJMOD}/symbols/USB7050-I_KDX.kicad_sym")(options "")(descr "")) (lib (name "LTC3642")(type "KiCad")(uri "${KIPRJMOD}/symbols/LTC3642.kicad_sym")(options "")(descr ""))
(lib (name "USB7050_KDX")(type "KiCad")(uri "${KIPRJMOD}/symbols/USB7050_KDX.kicad_sym")(options "")(descr ""))
) )

View file

@ -0,0 +1,63 @@
(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
(symbol "LTC3642" (in_bom yes) (on_board yes)
(property "Reference" "U" (at 0 7.62 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "" (at 0 -2.54 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 -2.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 -2.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "LTC3642_0_1"
(rectangle (start -8.89 6.35) (end 8.89 -6.35)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "LTC3642_1_1"
(text "LTC3642" (at 0 5.08 0)
(effects (font (size 1.27 1.27)))
)
(pin input line (at 11.43 3.81 180) (length 2.54)
(name "SW" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at -11.43 3.81 0) (length 2.54)
(name "Vin" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin input line (at -11.43 -3.81 0) (length 2.54)
(name "Iset" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin input line (at 11.43 -3.81 180) (length 2.54)
(name "SS" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin input line (at -11.43 1.27 0) (length 2.54)
(name "RUN" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin power_out line (at 11.43 1.27 180) (length 2.54)
(name "Vout/Vfb" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin output line (at -11.43 -1.27 0) (length 2.54)
(name "HYST" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at -1.27 -8.89 90) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 1.27 -8.89 90) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
)
)
)

File diff suppressed because it is too large Load diff