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/MSP430FR59691IRGZR.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: ["P4_7"],
  pin9: ["P1_3"],
  pin10: ["P1_4"],
  pin11: ["P1_5"],
  pin12: ["PJ_0", "TDO"],
  pin13: ["PJ_1", "TDI"],
  pin14: ["PJ_2", "TMS", "ACLK"],
  pin15: ["PJ_3", "TCK"],
  pin16: ["P4_0"],
  pin17: ["P4_1"],
  pin18: ["P4_2"],
  pin19: ["P4_3"],
  pin20: ["P2_5"],
  pin21: ["P2_6"],
  pin22: ["TEST", "SBWTCK"],
  pin23: ["RST", "NMI", "SBWTDIO"],
  pin24: ["P2_0"],
  pin25: ["P2_1"],
  pin26: ["P2_2"],
  pin27: ["P3_4"],
  pin28: ["P3_5"],
  pin29: ["P3_6"],
  pin30: ["P3_7"],
  pin31: ["P1_6"],
  pin32: ["P1_7"],
  pin33: ["P4_4"],
  pin34: ["P4_5"],
  pin35: ["P4_6"],
  pin36: ["DVSS"],
  pin37: ["DVCC"],
  pin38: ["P2_7"],
  pin39: ["P2_3"],
  pin40: ["P2_4"],
  pin41: ["AVSS1"],
  pin42: ["PJ_6", "HFXIN"],
  pin43: ["PJ_7", "HFXOUT"],
  pin44: ["AVSS2"],
  pin45: ["PJ_4", "LFXIN"],
  pin46: ["PJ_5", "LFXOUT"],
  pin47: ["AVSS3"],
  pin48: ["AVCC"],
  pin49: ["EP", "PWPD", "GND_EP"]
} as const

type MSP430FR59691IRGZRProps = Omit<ChipProps<typeof pinLabels>, "pinAttributes"> & {
  pinAttributes?: Partial<NonNullable<ChipProps<typeof pinLabels>["pinAttributes"]>>
}

export const MSP430FR59691IRGZR = (props: MSP430FR59691IRGZRProps) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C1339597"
  ]
}}
      manufacturerPartNumber="MSP430FR59691IRGZR"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-3.5074098mm" pcbY="2.750058mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-3.5074098mm" pcbY="2.249932mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-3.5074098mm" pcbY="1.75006mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-3.5074098mm" pcbY="1.249934mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-3.5074098mm" pcbY="0.750062mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-3.5074098mm" pcbY="0.249936mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-3.5074098mm" pcbY="-0.249936mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-3.5074098mm" pcbY="-0.750062mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-3.5074098mm" pcbY="-1.249934mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-3.5074098mm" pcbY="-1.75006mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-3.5074098mm" pcbY="-2.249932mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="-3.5074098mm" pcbY="-2.750058mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="-2.750058mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="-2.249932mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="-1.75006mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="-1.249934mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="-0.750062mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="-0.249936mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin19"]} pcbX="0.249936mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin20"]} pcbX="0.750062mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin21"]} pcbX="1.249934mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin22"]} pcbX="1.75006mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin23"]} pcbX="2.249932mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin24"]} pcbX="2.750058mm" pcbY="-3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin25"]} pcbX="3.5074098mm" pcbY="-2.750058mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin26"]} pcbX="3.5074098mm" pcbY="-2.249932mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin27"]} pcbX="3.5074098mm" pcbY="-1.75006mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin28"]} pcbX="3.5074098mm" pcbY="-1.249934mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin29"]} pcbX="3.5074098mm" pcbY="-0.750062mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin30"]} pcbX="3.5074098mm" pcbY="-0.249936mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin31"]} pcbX="3.5074098mm" pcbY="0.249936mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin32"]} pcbX="3.5074098mm" pcbY="0.750062mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin33"]} pcbX="3.5074098mm" pcbY="1.249934mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin34"]} pcbX="3.5074098mm" pcbY="1.75006mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin35"]} pcbX="3.5074098mm" pcbY="2.249932mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin36"]} pcbX="3.5074098mm" pcbY="2.750058mm" width="0.7850124mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin37"]} pcbX="2.750058mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin38"]} pcbX="2.249932mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin39"]} pcbX="1.75006mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin40"]} pcbX="1.249934mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin41"]} pcbX="0.750062mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin42"]} pcbX="0.249936mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin43"]} pcbX="-0.249936mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin44"]} pcbX="-0.750062mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin45"]} pcbX="-1.249934mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin46"]} pcbX="-1.75006mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin47"]} pcbX="-2.249932mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin48"]} pcbX="-2.750058mm" pcbY="3.5074098mm" width="0.2800096mm" height="0.7850124mm" shape="rect" />
<smtpad portHints={["pin49"]} pcbX="0mm" pcbY="-0mm" width="4.0999918mm" height="4.0999918mm" shape="rect" />
<silkscreenpath route={[{"x":-3.5761929999999893,"y":3.042386599999986},{"x":-3.5761929999999893,"y":3.5761929999999893},{"x":-3.042386599999986,"y":3.5761929999999893}]} />
<silkscreenpath route={[{"x":3.5761930000000035,"y":3.042386599999986},{"x":3.5761930000000035,"y":3.5761929999999893},{"x":3.0423866000000004,"y":3.5761929999999893}]} />
<silkscreenpath route={[{"x":3.5761930000000035,"y":-3.0423866000000004},{"x":3.5761930000000035,"y":-3.5761930000000035},{"x":3.0423866000000004,"y":-3.5761930000000035}]} />
<silkscreenpath route={[{"x":-3.5761929999999893,"y":-3.0423866000000004},{"x":-3.5761929999999893,"y":-3.5761930000000035},{"x":-3.042386599999986,"y":-3.5761930000000035}]} />
<silkscreenpath route={[{"x":-4.090924000000001,"y":2.6669999999999874},{"x":-4.0943340070083,"y":2.641098425242305},{"x":-4.104331641690877,"y":2.6169619999999867},{"x":-4.120235581765968,"y":2.596235581765967},{"x":-4.140962000000002,"y":2.5803316416908615},{"x":-4.16509842524232,"y":2.5703340070082987},{"x":-4.1910000000000025,"y":2.566923999999986},{"x":-4.216901574757685,"y":2.5703340070082987},{"x":-4.241038000000003,"y":2.5803316416908615},{"x":-4.261764418234023,"y":2.596235581765967},{"x":-4.277668358309128,"y":2.6169619999999867},{"x":-4.287665992991691,"y":2.641098425242305},{"x":-4.29107599999999,"y":2.6669999999999874},{"x":-4.287665992991691,"y":2.69290157475767},{"x":-4.277668358309128,"y":2.717037999999988},{"x":-4.261764418234023,"y":2.7377644182340077},{"x":-4.241038000000003,"y":2.7536683583091133},{"x":-4.216901574757685,"y":2.7636659929916902},{"x":-4.1910000000000025,"y":2.767076000000003},{"x":-4.16509842524232,"y":2.7636659929916902},{"x":-4.140962000000002,"y":2.7536683583091133},{"x":-4.120235581765968,"y":2.7377644182340077},{"x":-4.104331641690877,"y":2.717037999999988},{"x":-4.0943340070083,"y":2.69290157475767},{"x":-4.090924000000001,"y":2.6669999999999874}]} />
<silkscreentext text="{NAME}" pcbX="-0.2032mm" pcbY="4.9116mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.542599999999993,"y":4.161599999999993},{"x":4.136200000000002,"y":4.161599999999993},{"x":4.136200000000002,"y":-4.1362000000000165},{"x":-4.542599999999993,"y":-4.1362000000000165},{"x":-4.542599999999993,"y":4.161599999999993}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1339597.obj?uuid=99e2e98faab349e7a106b12aaf816c8b",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1339597.step?uuid=99e2e98faab349e7a106b12aaf816c8b",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.000012699999999199463, y: 0, z: -0.05 },
      }}
      {...(props as ChipProps<typeof pinLabels>)}
    />
  )
}