ShiboSoftwareDev/mspm0g3507-usb-c-dev-board

This circuit features a USB Type-C connector with integrated resistors and passives, a USB ESD protection device, a CH340 USB-to-serial interface chip, a 3.3V regulator (AP2112K), multiple decoupling and bulk capacitors, and a Microcontroller (MSPM0G3507) with associated I2C and SPI connections, providing USB communication, power regulation, and RGB LED control.

Version
1.4.1
License
unset
Stars
0

imports/MSPM0G3507SPTR.tsx

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

const pinLabels = {
  pin1: ["PA0", "I2C0_SDA"],
  pin2: ["PA1", "I2C0_SCL"],
  pin3: ["PA28"],
  pin4: ["NRST"],
  pin5: ["PA31"],
  pin6: ["VDD"],
  pin7: ["VSS"],
  pin8: ["PA2"],
  pin9: ["PA3"],
  pin10: ["PA4"],
  pin11: ["PA5"],
  pin12: ["PA6"],
  pin13: ["PA7"],
  pin14: ["PB2"],
  pin15: ["PB3"],
  pin16: ["PA8"],
  pin17: ["PA9"],
  pin18: ["PA10", "BSL_TX"],
  pin19: ["PA11", "BSL_RX"],
  pin20: ["PB6", "SPI1_CS"],
  pin21: ["PB7", "SPI1_MISO"],
  pin22: ["PB8", "SPI1_MOSI"],
  pin23: ["PB9", "SPI1_SCK"],
  pin24: ["PB14"],
  pin25: ["PB15"],
  pin26: ["PB16"],
  pin27: ["PA12"],
  pin28: ["PA13"],
  pin29: ["PA14"],
  pin30: ["PA15"],
  pin31: ["PA16"],
  pin32: ["PA17"],
  pin33: ["PA18", "BSL_INVOKE"],
  pin34: ["PA19", "SWDIO"],
  pin35: ["PA20", "SWCLK"],
  pin36: ["PB17"],
  pin37: ["PB18"],
  pin38: ["PB19"],
  pin39: ["PA21", "VREF_NEG"],
  pin40: ["PA22"],
  pin41: ["PB20"],
  pin42: ["PB21"],
  pin43: ["PA23", "VREF_POS"],
  pin44: ["PA24"],
  pin45: ["PA25"],
  pin46: ["PA26"],
  pin47: ["PA27"],
  pin48: ["VCORE"]
} as const

const pinAttributes = {
  pin6: {requiresPower: true},
  pin7: {requiresGround: true}
} as const

export const MSPM0G3507SPTR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C22362630"
  ]
}}
      manufacturerPartNumber="MSPM0G3507SPTR"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-2.750058mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-2.249932mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-1.75006mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-1.249934mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-0.750062mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="-0.249936mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="0.249936mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="0.750062mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="1.249934mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="1.75006mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="2.249932mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="2.750058mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="4.249928mm" pcbY="-2.750058mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="4.249928mm" pcbY="-2.249932mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="4.249928mm" pcbY="-1.75006mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="4.249928mm" pcbY="-1.249934mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="4.249928mm" pcbY="-0.750062mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="4.249928mm" pcbY="-0.249936mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="4.249928mm" pcbY="0.249936mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="4.249928mm" pcbY="0.750062mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin21"]} pcbX="4.249928mm" pcbY="1.249934mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin22"]} pcbX="4.249928mm" pcbY="1.75006mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin23"]} pcbX="4.249928mm" pcbY="2.249932mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin24"]} pcbX="4.249928mm" pcbY="2.750058mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin25"]} pcbX="2.750058mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin26"]} pcbX="2.249932mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin27"]} pcbX="1.75006mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin28"]} pcbX="1.249934mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin29"]} pcbX="0.750062mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin30"]} pcbX="0.249936mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin31"]} pcbX="-0.249936mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin32"]} pcbX="-0.750062mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin33"]} pcbX="-1.249934mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin34"]} pcbX="-1.75006mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin35"]} pcbX="-2.249932mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin36"]} pcbX="-2.750058mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin37"]} pcbX="-4.249928mm" pcbY="2.750058mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin38"]} pcbX="-4.249928mm" pcbY="2.249932mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin39"]} pcbX="-4.249928mm" pcbY="1.75006mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin40"]} pcbX="-4.249928mm" pcbY="1.249934mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin41"]} pcbX="-4.249928mm" pcbY="0.750062mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin42"]} pcbX="-4.249928mm" pcbY="0.249936mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin43"]} pcbX="-4.249928mm" pcbY="-0.249936mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin44"]} pcbX="-4.249928mm" pcbY="-0.750062mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin45"]} pcbX="-4.249928mm" pcbY="-1.249934mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin46"]} pcbX="-4.249928mm" pcbY="-1.75006mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin47"]} pcbX="-4.249928mm" pcbY="-2.249932mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin48"]} pcbX="-4.249928mm" pcbY="-2.750058mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<silkscreenpath route={[{"x":-2.8955999999999733,"y":3.3400999999999925},{"x":3.302000000000021,"y":3.3400999999999925},{"x":3.302000000000021,"y":-3.314700000000002},{"x":-3.327399999999983,"y":-3.314700000000002},{"x":-3.327399999999983,"y":3.3400999999999925},{"x":-2.5653999999999826,"y":3.3400999999999925}]} />
<silkscreenpath route={[{"x":-3.3899855999999886,"y":-4.059986800000004},{"x":-3.5791606142161356,"y":-3.9210693508058796},{"x":-3.506066828896735,"y":-3.698038989101562},{"x":-3.2713643711032603,"y":-3.698038989101562},{"x":-3.1982705857838596,"y":-3.9210693508058796},{"x":-3.3874456000000066,"y":-4.059986800000004}]} />
<silkscreencircle pcbX="-2.62001mm" pcbY="-2.830068mm" radius="0.170434mm" />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="5.8641mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.1267999999999745,"y":5.114099999999993},{"x":5.101400000000012,"y":5.114099999999993},{"x":5.101400000000012,"y":-5.139500000000005},{"x":-5.1267999999999745,"y":-5.139500000000005},{"x":-5.1267999999999745,"y":5.114099999999993}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22362630.obj?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22362630.step?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0.000795 },
      }}
      {...props}
    />
  )
}