imrishabh18/pcbgolf

A complete 4-layer PCBGolf controller PCB with STM32H7 MCU, USB/SD and CAN interfaces, power regulation, protection, connectors, switches, LEDs, clocking, and supporting passives.

Version
1.6.1
License
unset
Stars
0

imports/USB2517_JZX.tsx

// Imported with tsci import --jlcpcb --use-exact-footprint C1521556
export const C1521556CadModel = {
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1521556.obj?uuid=6c2af9d3f6594413b4109d6a55288186",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1521556.step?uuid=6c2af9d3f6594413b4109d6a55288186",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: -0.00013970000009067007, y: -0.00012700000002041634, z: 0.01 },
      }

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"],
  pin5: ["VDDA331"],
  pin6: ["pin6"],
  pin7: ["pin7"],
  pin8: ["pin8"],
  pin9: ["pin9"],
  pin10: ["VDDA332"],
  pin11: ["pin11"],
  pin12: ["pin12"],
  pin13: ["CFG_SEL2"],
  pin14: ["LED_B7_N"],
  pin15: ["pin15"],
  pin16: ["LED_B6_N"],
  pin17: ["pin17"],
  pin18: ["LED_B5_N"],
  pin19: ["TEST"],
  pin20: ["PRTPWR4"],
  pin21: ["OCS4_N"],
  pin22: ["OCS3_N"],
  pin23: ["PRTPWR3"],
  pin24: ["VDD33CR"],
  pin25: ["VDD18"],
  pin26: ["PRTPWR2"],
  pin27: ["OCS2_N"],
  pin28: ["OCS1_N"],
  pin29: ["PRTPWR1"],
  pin30: ["PRTPWR5"],
  pin31: ["pin31"],
  pin32: ["LED_B4_N"],
  pin33: ["pin33"],
  pin34: ["pin34"],
  pin35: ["OCS5_N"],
  pin36: ["PRTPWR7"],
  pin37: ["OCS7_N"],
  pin38: ["OCS6_N"],
  pin39: ["PRTPWR6"],
  pin40: ["pin40"],
  pin41: ["pin41"],
  pin42: ["pin42"],
  pin43: ["RESET_N"],
  pin44: ["VBUS_DET"],
  pin45: ["pin45"],
  pin46: ["VDD33"],
  pin47: ["pin47"],
  pin48: ["pin48"],
  pin49: ["pin49"],
  pin50: ["pin50"],
  pin51: ["pin51"],
  pin52: ["VDDA333"],
  pin53: ["pin53"],
  pin54: ["pin54"],
  pin55: ["pin55"],
  pin56: ["pin56"],
  pin57: ["VDDA334"],
  pin58: ["USBUP_DM"],
  pin59: ["USBUP_DP"],
  pin60: ["XTAL2"],
  pin61: ["pin61"],
  pin62: ["VDD18PLL"],
  pin63: ["RBIAS"],
  pin64: ["VDD33PLL"],
  pin65: ["EP"]
} as const

const pinAttributes = {
  pin5: {requiresPower: true},
  pin10: {requiresPower: true},
  pin25: {requiresPower: true},
  pin46: {requiresPower: true},
  pin52: {requiresPower: true},
  pin57: {requiresPower: true}
} as const

export const USB2517_JZX = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C1521556"
  ]
}}
      manufacturerPartNumber="USB2517-JZX"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-3.750183mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-3.250057mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-2.750185mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-2.250059mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-1.750187mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-1.250061mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-0.750189mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-0.250063mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="0.249809mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="0.749935mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="1.249807mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="1.749933mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="2.249805mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="2.749931mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="3.249803mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="3.749929mm" pcbY="-4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="4.499991mm" pcbY="-3.749929mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="4.499991mm" pcbY="-3.249803mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin19"]} pcbX="4.499991mm" pcbY="-2.749931mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin20"]} pcbX="4.499991mm" pcbY="-2.249805mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin21"]} pcbX="4.499991mm" pcbY="-1.749933mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin22"]} pcbX="4.499991mm" pcbY="-1.249807mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin23"]} pcbX="4.499991mm" pcbY="-0.749935mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin24"]} pcbX="4.499991mm" pcbY="-0.249809mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin25"]} pcbX="4.499991mm" pcbY="0.250063mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin26"]} pcbX="4.499991mm" pcbY="0.750189mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin27"]} pcbX="4.499991mm" pcbY="1.250061mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin28"]} pcbX="4.499991mm" pcbY="1.750187mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin29"]} pcbX="4.499991mm" pcbY="2.250059mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin30"]} pcbX="4.499991mm" pcbY="2.750185mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin31"]} pcbX="4.499991mm" pcbY="3.250057mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin32"]} pcbX="4.499991mm" pcbY="3.750183mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin33"]} pcbX="3.749929mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin34"]} pcbX="3.249803mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin35"]} pcbX="2.749931mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin36"]} pcbX="2.249805mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin37"]} pcbX="1.749933mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin38"]} pcbX="1.249807mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin39"]} pcbX="0.749935mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin40"]} pcbX="0.249809mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin41"]} pcbX="-0.250063mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin42"]} pcbX="-0.750189mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin43"]} pcbX="-1.250061mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin44"]} pcbX="-1.750187mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin45"]} pcbX="-2.250059mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin46"]} pcbX="-2.750185mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin47"]} pcbX="-3.250057mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin48"]} pcbX="-3.750183mm" pcbY="4.499991mm" width="0.249936mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin49"]} pcbX="-4.499991mm" pcbY="3.750183mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin50"]} pcbX="-4.499991mm" pcbY="3.250057mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin51"]} pcbX="-4.499991mm" pcbY="2.750185mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin52"]} pcbX="-4.499991mm" pcbY="2.250059mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin53"]} pcbX="-4.499991mm" pcbY="1.750187mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin54"]} pcbX="-4.499991mm" pcbY="1.250061mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin55"]} pcbX="-4.499991mm" pcbY="0.750189mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin56"]} pcbX="-4.499991mm" pcbY="0.250063mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin57"]} pcbX="-4.499991mm" pcbY="-0.249809mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin58"]} pcbX="-4.499991mm" pcbY="-0.749935mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin59"]} pcbX="-4.499991mm" pcbY="-1.249807mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin60"]} pcbX="-4.499991mm" pcbY="-1.749933mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin61"]} pcbX="-4.499991mm" pcbY="-2.249805mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin62"]} pcbX="-4.499991mm" pcbY="-2.749931mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin63"]} pcbX="-4.499991mm" pcbY="-3.249803mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin64"]} pcbX="-4.499991mm" pcbY="-3.749929mm" width="0.7999984mm" height="0.249936mm" shape="rect" />
<smtpad portHints={["pin65"]} pcbX="0.000127mm" pcbY="0.000127mm" width="4.7999904mm" height="4.7999904mm" shape="rect" />
<silkscreenpath route={[{"x":-4.500117999999816,"y":4.106290999999942},{"x":-4.500117999999816,"y":4.500118000000043}]} />
<silkscreenpath route={[{"x":-4.106290999999942,"y":-4.499864000000002},{"x":-4.500117999999816,"y":-4.499864000000002},{"x":-4.500117999999816,"y":-4.106037000000015}]} />
<silkscreenpath route={[{"x":4.499864000000116,"y":-4.106037000000015},{"x":4.499864000000116,"y":-4.499864000000002},{"x":4.1060370000001285,"y":-4.499864000000002}]} />
<silkscreenpath route={[{"x":4.1060370000001285,"y":4.500118000000043},{"x":4.499864000000116,"y":4.500118000000043},{"x":4.499864000000116,"y":4.106290999999942}]} />
<silkscreenpath route={[{"x":-4.500117999999816,"y":4.500118000000043},{"x":-4.106290999999942,"y":4.500118000000043}]} />
<silkscreenpath route={[{"x":-4.444999999999936,"y":-4.953000000000088},{"x":-4.5681883800491505,"y":-5.078088528504736},{"x":-4.443729999999846,"y":-5.201913520239373},{"x":-4.319271619950541,"y":-5.0780885285046224},{"x":-4.442459999999983,"y":-4.953000000000088}]} />
<silkscreentext text="{NAME}" pcbX="0.009017mm" pcbY="5.898517mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.143182999999908,"y":5.148516999999856},{"x":5.161217000000079,"y":5.148516999999856},{"x":5.161217000000079,"y":-5.460683000000017},{"x":-5.143182999999908,"y":-5.460683000000017},{"x":-5.143182999999908,"y":5.148516999999856}]} />
      </footprint>}
      cadModel={C1521556CadModel}
      {...props}
    />
  )
}