ShiboSoftwareDev/msp-exp430fr5994

This code defines and renders electronic components such as a 4MHz ceramic resonator and various microcontroller chips with their physical pin layouts footprints, 3D models, and associated metadata.

Version
1.0.0
License
unset
Stars
0

imports/MSP430FR5994IPNR.tsx

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

const pinLabels = {
  pin1: ["P1_0"],
  pin2: ["P1_1"],
  pin3: ["P1_2"],
  pin4: ["P3_0"],
  pin5: ["P3_1"],
  pin6: ["P3_2"],
  pin7: ["P3_3"],
  pin8: ["P6_0"],
  pin9: ["P6_1"],
  pin10: ["P6_2"],
  pin11: ["P6_3"],
  pin12: ["P4_7"],
  pin13: ["P7_0"],
  pin14: ["P7_1"],
  pin15: ["P8_0"],
  pin16: ["P1_3"],
  pin17: ["P1_4"],
  pin18: ["P1_5"],
  pin19: ["DVSS2"],
  pin20: ["DVCC2"],
  pin21: ["PJ_0", "TDI", "TCLK"],
  pin22: ["PJ_1", "TDO", "TBCLK"],
  pin23: ["PJ_2", "TMS"],
  pin24: ["PJ_3", "TCK"],
  pin25: ["P7_2"],
  pin26: ["P7_3"],
  pin27: ["P7_4"],
  pin28: ["P7_5"],
  pin29: ["P7_6"],
  pin30: ["P7_7"],
  pin31: ["P4_0"],
  pin32: ["P4_1"],
  pin33: ["P4_2"],
  pin34: ["P4_3"],
  pin35: ["P2_5"],
  pin36: ["P2_6"],
  pin37: ["TEST"],
  pin38: ["RST"],
  pin39: ["DVSS3"],
  pin40: ["DVCC3"],
  pin41: ["P2_0"],
  pin42: ["P2_1"],
  pin43: ["P2_2"],
  pin44: ["P8_1"],
  pin45: ["P8_2"],
  pin46: ["P8_3"],
  pin47: ["P3_4"],
  pin48: ["P3_5"],
  pin49: ["P3_6"],
  pin50: ["P3_7"],
  pin51: ["P1_6"],
  pin52: ["P1_7"],
  pin53: ["P5_0"],
  pin54: ["P5_1"],
  pin55: ["P5_2"],
  pin56: ["P5_3"],
  pin57: ["P4_4"],
  pin58: ["P4_5"],
  pin59: ["P4_6"],
  pin60: ["DVSS1"],
  pin61: ["DVCC1"],
  pin62: ["P2_7"],
  pin63: ["P2_3"],
  pin64: ["P2_4"],
  pin65: ["P5_4"],
  pin66: ["P5_5"],
  pin67: ["P5_6"],
  pin68: ["P5_7"],
  pin69: ["P6_4"],
  pin70: ["P6_5"],
  pin71: ["P6_6"],
  pin72: ["P6_7"],
  pin73: ["AVSS3"],
  pin74: ["PJ_6", "HFXIN"],
  pin75: ["PJ_7", "HFXOUT"],
  pin76: ["AVSS2"],
  pin77: ["PJ_4", "LFXIN"],
  pin78: ["PJ_5", "LFXOUT"],
  pin79: ["AVSS1"],
  pin80: ["AVCC1"]
} as const

export const MSP430FR5994IPNR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2052740"
  ]
}}
      manufacturerPartNumber="MSP430FR5994IPNR"
      footprint={<footprint>
        <smtpad portHints={["pin21"]} pcbX="6.89991mm" pcbY="-4.750054mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="4.750054mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin41"]} pcbX="4.750054mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin40"]} pcbX="6.89991mm" pcbY="4.750054mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin60"]} pcbX="-4.750054mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin61"]} pcbX="-6.89991mm" pcbY="4.750054mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin80"]} pcbX="-6.89991mm" pcbY="-4.750054mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin1"]} pcbX="-4.750054mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-4.249928mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-3.750056mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-3.24993mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-2.750058mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="-2.249932mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="-1.75006mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="-1.249934mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="-0.750062mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="-0.249936mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="0.249936mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="0.750062mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="1.249934mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="1.75006mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="2.249932mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="2.750058mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="3.24993mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="3.750056mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="4.249928mm" pcbY="-6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin22"]} pcbX="6.89991mm" pcbY="-4.249928mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin23"]} pcbX="6.89991mm" pcbY="-3.750056mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin24"]} pcbX="6.89991mm" pcbY="-3.24993mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin25"]} pcbX="6.89991mm" pcbY="-2.750058mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin26"]} pcbX="6.89991mm" pcbY="-2.249932mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin27"]} pcbX="6.89991mm" pcbY="-1.75006mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin28"]} pcbX="6.89991mm" pcbY="-1.249934mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin29"]} pcbX="6.89991mm" pcbY="-0.750062mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin30"]} pcbX="6.89991mm" pcbY="-0.249936mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin31"]} pcbX="6.89991mm" pcbY="0.249936mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin32"]} pcbX="6.89991mm" pcbY="0.750062mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin33"]} pcbX="6.89991mm" pcbY="1.249934mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin34"]} pcbX="6.89991mm" pcbY="1.75006mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin35"]} pcbX="6.89991mm" pcbY="2.249932mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin36"]} pcbX="6.89991mm" pcbY="2.750058mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin37"]} pcbX="6.89991mm" pcbY="3.24993mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin38"]} pcbX="6.89991mm" pcbY="3.750056mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin39"]} pcbX="6.89991mm" pcbY="4.249928mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin42"]} pcbX="4.249928mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin43"]} pcbX="3.750056mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin44"]} pcbX="3.24993mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin45"]} pcbX="2.750058mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin46"]} pcbX="2.249932mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin47"]} pcbX="1.75006mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin48"]} pcbX="1.249934mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin49"]} pcbX="0.750062mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin50"]} pcbX="0.249936mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin51"]} pcbX="-0.249936mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin52"]} pcbX="-0.750062mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin53"]} pcbX="-1.249934mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin54"]} pcbX="-1.75006mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin55"]} pcbX="-2.249932mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin56"]} pcbX="-2.750058mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin57"]} pcbX="-3.24993mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin58"]} pcbX="-3.750056mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin59"]} pcbX="-4.249928mm" pcbY="6.89991mm" width="0.2800096mm" height="1.499997mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin62"]} pcbX="-6.89991mm" pcbY="4.249928mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin63"]} pcbX="-6.89991mm" pcbY="3.750056mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin64"]} pcbX="-6.89991mm" pcbY="3.24993mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin65"]} pcbX="-6.89991mm" pcbY="2.750058mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin66"]} pcbX="-6.89991mm" pcbY="2.249932mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin67"]} pcbX="-6.89991mm" pcbY="1.75006mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin68"]} pcbX="-6.89991mm" pcbY="1.249934mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin69"]} pcbX="-6.89991mm" pcbY="0.750062mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin70"]} pcbX="-6.89991mm" pcbY="0.249936mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin71"]} pcbX="-6.89991mm" pcbY="-0.249936mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin72"]} pcbX="-6.89991mm" pcbY="-0.750062mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin73"]} pcbX="-6.89991mm" pcbY="-1.249934mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin74"]} pcbX="-6.89991mm" pcbY="-1.75006mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin75"]} pcbX="-6.89991mm" pcbY="-2.249932mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin76"]} pcbX="-6.89991mm" pcbY="-2.750058mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin77"]} pcbX="-6.89991mm" pcbY="-3.24993mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin78"]} pcbX="-6.89991mm" pcbY="-3.750056mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin79"]} pcbX="-6.89991mm" pcbY="-4.249928mm" width="1.499997mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<silkscreenpath route={[{"x":-5.750001199999986,"y":5.7500012},{"x":5.750001200000014,"y":5.7500012},{"x":5.750001200000014,"y":-5.7500012},{"x":-5.750001199999986,"y":-5.7500012},{"x":-5.750001199999986,"y":5.7500012}]} />
<silkscreenpath route={[{"x":-4.749799999999993,"y":-4.450080000000007},{"x":-4.960734378607924,"y":-4.360871640570068},{"x":-5.047256711767744,"y":-4.148821341500593},{"x":-4.958942117039101,"y":-3.937511200170853},{"x":-4.74726000000004,"y":-3.850091952880888},{"x":-4.535577882960979,"y":-3.9375112001708317},{"x":-4.4472632882322785,"y":-4.14882134150055},{"x":-4.533785621392099,"y":-4.360871640570046},{"x":-4.7447199999999725,"y":-4.450080000000007}]} />
<silkscreenpath route={[{"x":-5.40003999999999,"y":-7.000240000000005},{"x":-5.548781055997665,"y":-6.849597970296074},{"x":-5.398769999999985,"y":-6.70022057598527},{"x":-5.248758944002304,"y":-6.849597970296074},{"x":-5.397500000000008,"y":-7.000240000000005}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="8.5184mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-7.7683999999999855,"y":7.7684},{"x":7.742999999999995,"y":7.7684},{"x":7.742999999999995,"y":-8.123999999999995},{"x":-7.7683999999999855,"y":-8.123999999999995},{"x":-7.7683999999999855,"y":7.7684}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2052740.obj?uuid=3054dfda187d4aca8a5768d7a8f5a9ec",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2052740.step?uuid=3054dfda187d4aca8a5768d7a8f5a9ec",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.149425 },
      }}
      {...props}
    />
  )
}