imrishabh18/STM32F746G-DISCO
This code defines the hardware layout of a USB audio vu-meter circuit, including key components such as voltage regulators, microcontroller (STM32F303CCT6), audio codec (PCM2902), USB-Ethernet isolator, power regulation, reset switches, and associated passive components, with their physical footprints, pin configurations, and routing for PCB design.
- Version
- 1.0.2
- License
- unset
- Stars
- 0
imports/STM32F303CCT6.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["VBAT"],
pin2: ["PC13"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"],
pin7: ["NRST"],
pin8: ["VSSA"],
pin9: ["VDDA"],
pin10: ["PA0"],
pin11: ["PA1"],
pin12: ["PA2"],
pin13: ["PA3"],
pin14: ["PA4"],
pin15: ["PA5"],
pin16: ["PA6"],
pin17: ["PA7"],
pin18: ["PB0"],
pin19: ["PB1"],
pin20: ["PB2"],
pin21: ["PB10"],
pin22: ["PB11"],
pin23: ["VSS1"],
pin24: ["VDD1"],
pin25: ["PB12"],
pin26: ["PB13"],
pin27: ["PB14"],
pin28: ["PB15"],
pin29: ["PA8"],
pin30: ["PA9"],
pin31: ["PA10"],
pin32: ["PA11"],
pin33: ["PA12"],
pin34: ["PA13"],
pin35: ["VSS2"],
pin36: ["VDD2"],
pin37: ["PA14"],
pin38: ["PA15"],
pin39: ["PB3"],
pin40: ["PB4"],
pin41: ["PB5"],
pin42: ["PB6"],
pin43: ["PB7"],
pin44: ["BOOT0"],
pin45: ["PB8"],
pin46: ["PB9"],
pin47: ["VSS3"],
pin48: ["VDD3"],
} as const;
export const STM32F303CCT6 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C81523"],
}}
manufacturerPartNumber="STM32F303CCT6"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-2.750058mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin2"]}
pcbX="-2.249932mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin3"]}
pcbX="-1.75006mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="-1.249934mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin5"]}
pcbX="-0.750062mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin6"]}
pcbX="-0.249936mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin7"]}
pcbX="0.249936mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin8"]}
pcbX="0.750062mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin9"]}
pcbX="1.249934mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin10"]}
pcbX="1.75006mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin11"]}
pcbX="2.249932mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin12"]}
pcbX="2.750058mm"
pcbY="-4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin13"]}
pcbX="4.249928mm"
pcbY="-2.750058mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin14"]}
pcbX="4.249928mm"
pcbY="-2.249932mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin15"]}
pcbX="4.249928mm"
pcbY="-1.75006mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin16"]}
pcbX="4.249928mm"
pcbY="-1.249934mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin17"]}
pcbX="4.249928mm"
pcbY="-0.750062mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin18"]}
pcbX="4.249928mm"
pcbY="-0.249936mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin19"]}
pcbX="4.249928mm"
pcbY="0.249936mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin20"]}
pcbX="4.249928mm"
pcbY="0.750062mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin21"]}
pcbX="4.249928mm"
pcbY="1.249934mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin22"]}
pcbX="4.249928mm"
pcbY="1.75006mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin23"]}
pcbX="4.249928mm"
pcbY="2.249932mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin24"]}
pcbX="4.249928mm"
pcbY="2.750058mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin25"]}
pcbX="2.750058mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin26"]}
pcbX="2.249932mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin27"]}
pcbX="1.75006mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin28"]}
pcbX="1.249934mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin29"]}
pcbX="0.750062mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin30"]}
pcbX="0.249936mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin31"]}
pcbX="-0.249936mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin32"]}
pcbX="-0.750062mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin33"]}
pcbX="-1.249934mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin34"]}
pcbX="-1.75006mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin35"]}
pcbX="-2.249932mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin36"]}
pcbX="-2.750058mm"
pcbY="4.249928mm"
width="0.270002mm"
height="1.499997mm"
shape="rect"
/>
<smtpad
portHints={["pin37"]}
pcbX="-4.249928mm"
pcbY="2.750058mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin38"]}
pcbX="-4.249928mm"
pcbY="2.249932mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin39"]}
pcbX="-4.249928mm"
pcbY="1.75006mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin40"]}
pcbX="-4.249928mm"
pcbY="1.249934mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin41"]}
pcbX="-4.249928mm"
pcbY="0.750062mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin42"]}
pcbX="-4.249928mm"
pcbY="0.249936mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin43"]}
pcbX="-4.249928mm"
pcbY="-0.249936mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin44"]}
pcbX="-4.249928mm"
pcbY="-0.750062mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin45"]}
pcbX="-4.249928mm"
pcbY="-1.249934mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin46"]}
pcbX="-4.249928mm"
pcbY="-1.75006mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin47"]}
pcbX="-4.249928mm"
pcbY="-2.249932mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<smtpad
portHints={["pin48"]}
pcbX="-4.249928mm"
pcbY="-2.750058mm"
width="1.499997mm"
height="0.270002mm"
shape="rect"
/>
<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 },
]}
/>
<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/C81523.obj?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C81523.step?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0.000795 },
}}
{...props}
/>
);
};