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/MSP430FR4133IPMR.tsx

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

// SLAS865F, 64-pin PM package. Physical GPIO names are kept unique so
// multiplexed LCD/peripheral aliases cannot merge unrelated nets.
const pinLabels = {
  pin1: ["P4_7", "R13"],
  pin2: ["P4_6", "R23"],
  pin3: ["P4_5", "R33"],
  pin4: ["P4_4", "LCDCAP1"],
  pin5: ["P4_3", "LCDCAP0"],
  pin6: ["P4_2", "XOUT"],
  pin7: ["P4_1", "XIN"],
  pin8: ["DVSS"],
  pin9: ["DVCC"],
  pin10: ["RST"],
  pin11: ["TEST"],
  pin12: ["P4_0"],
  pin13: ["P8_3"],
  pin14: ["P8_2"],
  pin15: ["P8_1"],
  pin16: ["P8_0"],
  pin17: ["P1_7"],
  pin18: ["P1_6"],
  pin19: ["P1_5"],
  pin20: ["P1_4"],
  pin21: ["P1_3"],
  pin22: ["P1_2"],
  pin23: ["P1_1"],
  pin24: ["P1_0"],
  pin25: ["P5_7"],
  pin26: ["P5_6"],
  pin27: ["P5_5"],
  pin28: ["P5_4"],
  pin29: ["P5_3"],
  pin30: ["P5_2"],
  pin31: ["P5_1"],
  pin32: ["P5_0"],
  pin33: ["P2_7"],
  pin34: ["P2_6"],
  pin35: ["P2_5"],
  pin36: ["P2_4"],
  pin37: ["P2_3"],
  pin38: ["P2_2"],
  pin39: ["P2_1"],
  pin40: ["P2_0"],
  pin41: ["P6_7"],
  pin42: ["P6_6"],
  pin43: ["P6_5"],
  pin44: ["P6_4"],
  pin45: ["P6_3"],
  pin46: ["P6_2"],
  pin47: ["P6_1"],
  pin48: ["P6_0"],
  pin49: ["P3_7"],
  pin50: ["P3_6"],
  pin51: ["P3_5"],
  pin52: ["P3_4"],
  pin53: ["P3_3"],
  pin54: ["P3_2"],
  pin55: ["P3_1"],
  pin56: ["P3_0"],
  pin57: ["P7_7"],
  pin58: ["P7_6"],
  pin59: ["P7_5"],
  pin60: ["P7_4"],
  pin61: ["P7_3"],
  pin62: ["P7_2"],
  pin63: ["P7_1"],
  pin64: ["P7_0"],
} as const

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

export const MSP430FR4133IPMR = (props: MSP430FR4133IPMRProps) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C106759"
  ]
}}
      manufacturerPartNumber="MSP430FR4133IPMR"
      footprint={<footprint>
        <smtpad portHints={["pin64"]} pcbX="-3.750056mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin63"]} pcbX="-3.24993mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin62"]} pcbX="-2.750058mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin61"]} pcbX="-2.249932mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin60"]} pcbX="-1.75006mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin59"]} pcbX="-1.249934mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin58"]} pcbX="-0.750062mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin57"]} pcbX="-0.249936mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin56"]} pcbX="0.249936mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin55"]} pcbX="0.750062mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin54"]} pcbX="1.249934mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin53"]} pcbX="1.75006mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin52"]} pcbX="2.249932mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin51"]} pcbX="2.750058mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin50"]} pcbX="3.24993mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin49"]} pcbX="3.750056mm" pcbY="5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin48"]} pcbX="5.5499mm" pcbY="3.750056mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin47"]} pcbX="5.5499mm" pcbY="3.24993mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin46"]} pcbX="5.5499mm" pcbY="2.750058mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin45"]} pcbX="5.5499mm" pcbY="2.249932mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin44"]} pcbX="5.5499mm" pcbY="1.75006mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin43"]} pcbX="5.5499mm" pcbY="1.249934mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin42"]} pcbX="5.5499mm" pcbY="0.750062mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin41"]} pcbX="5.5499mm" pcbY="0.249936mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin40"]} pcbX="5.5499mm" pcbY="-0.249936mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin39"]} pcbX="5.5499mm" pcbY="-0.750062mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin38"]} pcbX="5.5499mm" pcbY="-1.249934mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin37"]} pcbX="5.5499mm" pcbY="-1.75006mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin36"]} pcbX="5.5499mm" pcbY="-2.249932mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin35"]} pcbX="5.5499mm" pcbY="-2.750058mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin34"]} pcbX="5.5499mm" pcbY="-3.24993mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin33"]} pcbX="5.5499mm" pcbY="-3.750056mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin32"]} pcbX="3.750056mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin31"]} pcbX="3.24993mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin30"]} pcbX="2.750058mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin29"]} pcbX="2.249932mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin28"]} pcbX="1.75006mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin27"]} pcbX="1.249934mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin26"]} pcbX="0.750062mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin25"]} pcbX="0.249936mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin24"]} pcbX="-0.249936mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin23"]} pcbX="-0.750062mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin22"]} pcbX="-1.249934mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin21"]} pcbX="-1.75006mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="-2.249932mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="-2.750058mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="-3.24993mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="-3.750056mm" pcbY="-5.5499mm" width="0.2800096mm" height="1.7999964mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="-5.5499mm" pcbY="-3.750056mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="-5.5499mm" pcbY="-3.24993mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="-5.5499mm" pcbY="-2.750058mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="-5.5499mm" pcbY="-2.249932mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="-5.5499mm" pcbY="-1.75006mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="-5.5499mm" pcbY="-1.249934mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="-5.5499mm" pcbY="-0.750062mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="-5.5499mm" pcbY="-0.249936mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="-5.5499mm" pcbY="0.249936mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="-5.5499mm" pcbY="0.750062mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="-5.5499mm" pcbY="1.249934mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-5.5499mm" pcbY="1.75006mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-5.5499mm" pcbY="2.249932mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-5.5499mm" pcbY="2.750058mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-5.5499mm" pcbY="3.24993mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<smtpad portHints={["pin1"]} pcbX="-5.5499mm" pcbY="3.750056mm" width="1.7999964mm" height="0.2800096mm" radius="0.1400048mm" shape="pill" />
<silkscreenpath route={[{"x":4.2500042000000064,"y":4.250004199999992},{"x":-4.2500042000000064,"y":4.250004199999992},{"x":-4.2500042000000064,"y":-4.2500042000000064},{"x":4.2500042000000064,"y":-4.2500042000000064},{"x":4.2500042000000064,"y":4.250004199999992}]} />
<silkscreenpath route={[{"x":-3.0251400000000217,"y":3.2994599999999963},{"x":-2.9359316405700326,"y":3.5103943786078844},{"x":-2.7238813415005723,"y":3.596916711767733},{"x":-2.5125712001708393,"y":3.508602117039061},{"x":-2.425151952880867,"y":3.29692},{"x":-2.5125712001708393,"y":3.0852378829609393},{"x":-2.7238813415005723,"y":2.996923288232267},{"x":-2.9359316405700326,"y":3.0834456213921158},{"x":-3.0251400000000217,"y":3.294380000000004}]} />
<silkscreenpath route={[{"x":-5.750560000000007,"y":4.3992800000000045},{"x":-5.599917970296076,"y":4.5480210559976655},{"x":-5.450540575985258,"y":4.398009999999999},{"x":-5.599917970296076,"y":4.247998944002333},{"x":-5.750560000000007,"y":4.396739999999994}]} />
<silkscreentext text="{NAME}" pcbX="-0.2286mm" pcbY="7.2992mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-7.031800000000004,"y":6.549199999999999},{"x":6.574599999999975,"y":6.549199999999999},{"x":6.574599999999975,"y":-6.574599999999997},{"x":-7.031800000000004,"y":-6.574599999999997},{"x":-7.031800000000004,"y":6.549199999999999}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C106759.obj?uuid=7e9b9111dcfd48d3add0eab11d882721",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C106759.step?uuid=7e9b9111dcfd48d3add0eab11d882721",
        pcbRotationOffset: 270,
        modelOriginPosition: { x: 0, y: 0, z: 0.000795 },
      }}
      {...props}
    />
  )
}