MustafaMulla29/rp2040-bldc-motor-controller
Hardware assembly metadata and PCB geometry for a controller board with a snap-off rotary-encoder section, plus four parallel 150 µF/50 V bulk electrolytic capacitors filtering the motor supply.
- Version
- 2.0.40
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone MustafaMulla29/rp2040-bldc-motor-controller # download the package files into ./rp2040-bldc-motor-controller
tsci add MustafaMulla29/rp2040-bldc-motor-controller # add it to your project as @tsci/MustafaMulla29.rp2040-bldc-motor-controllerIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
imports/MCF8329A1IREER.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["DGND"],
pin2: ["VREG"],
pin3: ["GCTRL"],
pin4: ["GND"],
pin5: ["PVDD"],
pin6: ["CPL"],
pin7: ["CPH"],
pin8: ["GVDD"],
pin9: ["BSTA"],
pin10: ["SHA"],
pin11: ["GHA"],
pin12: ["GLA"],
pin13: ["BSTB"],
pin14: ["SHB"],
pin15: ["GHB"],
pin16: ["GLB"],
pin17: ["BSTC"],
pin18: ["SHC"],
pin19: ["GHC"],
pin20: ["GLC"],
pin21: ["LSS"],
pin22: ["SP"],
pin23: ["SN"],
pin24: ["DRVOFF"],
pin25: ["AGND"],
pin26: ["AVDD"],
pin27: ["SPEED","WAKE"],
pin28: ["FG"],
pin29: ["SDA"],
pin30: ["SCL"],
pin31: ["DIR"],
pin32: ["EXT_CLK"],
pin33: ["DACOUT","SOx","SPEED_ANA"],
pin34: ["BRAKE"],
pin35: ["nFAULT"],
pin36: ["DVDD"],
pin37: ["EP"]
} as const
// TI MCF8329A Table 5-1. Regulator outputs are not supply inputs.
const pinAttributes = {
pin1: {requiresGround:true}, pin4: {requiresGround:true},
pin25: {requiresGround:true}, pin37: {requiresGround:true},
pin2: {requiresPower:true}, pin5: {requiresPower:true},
pin8: {providesPower:true}, pin26: {providesPower:true}, pin36: {providesPower:true},
} as const
export const MCF8329A1IREER = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C22399784"
]
}}
manufacturerPartNumber="MCF8329A1IREER"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-1.800098mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-1.400048mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-0.999998mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-0.599948mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-0.199898mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="0.199898mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="0.599948mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="0.999998mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="1.400048mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="1.800098mm" pcbY="-1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="2.400046mm" pcbY="-1.400048mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="2.400046mm" pcbY="-0.999998mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="2.400046mm" pcbY="-0.599948mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="2.400046mm" pcbY="-0.199898mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="2.400046mm" pcbY="0.199898mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="2.400046mm" pcbY="0.599948mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="2.400046mm" pcbY="0.999998mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="2.400046mm" pcbY="1.400048mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="1.800098mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="1.400048mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin21"]} pcbX="0.999998mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin22"]} pcbX="0.599948mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin23"]} pcbX="0.199898mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin24"]} pcbX="-0.199898mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin25"]} pcbX="-0.599948mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin26"]} pcbX="-0.999998mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin27"]} pcbX="-1.400048mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin28"]} pcbX="-1.800098mm" pcbY="1.89992mm" width="0.1999996mm" height="0.5999988mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin29"]} pcbX="-2.400046mm" pcbY="1.400048mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin30"]} pcbX="-2.400046mm" pcbY="0.999998mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin31"]} pcbX="-2.400046mm" pcbY="0.599948mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin32"]} pcbX="-2.400046mm" pcbY="0.199898mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin33"]} pcbX="-2.400046mm" pcbY="-0.199898mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin34"]} pcbX="-2.400046mm" pcbY="-0.599948mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin35"]} pcbX="-2.400046mm" pcbY="-0.999998mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin36"]} pcbX="-2.400046mm" pcbY="-1.400048mm" width="0.5999988mm" height="0.1999996mm" radius="0.0999998mm" shape="pill" />
<smtpad portHints={["pin37"]} pcbX="0mm" pcbY="-0mm" width="3.6999926mm" height="2.6999946mm" shape="rect" solderPasteMargin={-2} />
{[-1.2,0,1.2].flatMap(x => [-0.65,0.65].map(y => <solderpaste key={`${x},${y}`} shape="rect" layer="top" pcbX={x} pcbY={y} width={1.05} height={1.15} />))}
<silkscreenpath route={[{"x":-2.0643850000000015,"y":-2.07619600000001},{"x":-2.5761949999999985,"y":-2.07619600000001},{"x":-2.5761949999999985,"y":-1.6643858000000193}]} />
<silkscreenpath route={[{"x":-2.0643850000000015,"y":2.0761959999999817},{"x":-2.5761949999999985,"y":2.0761959999999817},{"x":-2.5761949999999985,"y":1.6643858000000051}]} />
<silkscreenpath route={[{"x":2.0643850000000015,"y":2.0761959999999817},{"x":2.5761949999999985,"y":2.0761959999999817},{"x":2.5761949999999985,"y":1.6643858000000051}]} />
<silkscreenpath route={[{"x":2.0643850000000015,"y":-2.07619600000001},{"x":2.5761949999999985,"y":-2.07619600000001},{"x":2.5761949999999985,"y":-1.6643858000000193}]} />
<silkscreencircle pcbX="-1.800098mm" pcbY="-2.490724mm" radius="0.100076mm" />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="3.1082mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.9500454000000076,"y":2.449919399999999},{"x":2.9500454000000076,"y":2.449919399999999},{"x":2.9500454000000076,"y":-2.449919400000013},{"x":-2.9500454000000076,"y":-2.449919400000013},{"x":-2.9500454000000076,"y":2.449919399999999}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22399784.obj?uuid=2bb031fef95c4473b2daf29cc6839b18",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22399784.step?uuid=2bb031fef95c4473b2daf29cc6839b18",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: 0, z: -0.02 },
}}
{...props}
/>
)
}