imrishabh18/rp2040-motor-controller
This circuit incorporates a USB-C Power Delivery (PD) interface with a CH224K controller, a WJ500V-5.08-04P motor output connector, multiple power conditioning components including capacitors, resistors, diodes, and an RP2040 microcontroller, to manage motor control, signal routing, and power management for a USB-powered stepper motor system.
- Version
- 1.0.14
- License
- unset
- Stars
- 0
patches/@tscircuit%2Fcommon@0.0.48.patch
diff --git a/node_modules/@tscircuit/common/.bun-tag-286d2fe60fe24faa b/.bun-tag-286d2fe60fe24faa
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-290702a1ed75b99b b/.bun-tag-290702a1ed75b99b
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-29b4b7ecda379937 b/.bun-tag-29b4b7ecda379937
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-2a7dee8548a00036 b/.bun-tag-2a7dee8548a00036
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-322f30c425f80476 b/.bun-tag-322f30c425f80476
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-3b213935df0bc330 b/.bun-tag-3b213935df0bc330
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-4708021c670ef285 b/.bun-tag-4708021c670ef285
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-48b128053b2d15d8 b/.bun-tag-48b128053b2d15d8
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-4b0fa68b46e48e5a b/.bun-tag-4b0fa68b46e48e5a
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-4f5eb5a9658b557e b/.bun-tag-4f5eb5a9658b557e
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-57900944094d7711 b/.bun-tag-57900944094d7711
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-6dbffbe05c0e3357 b/.bun-tag-6dbffbe05c0e3357
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-81e0920a47904488 b/.bun-tag-81e0920a47904488
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-8564595d421a97b6 b/.bun-tag-8564595d421a97b6
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-8ce9af08f41435b7 b/.bun-tag-8ce9af08f41435b7
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-8e27dc13cefabefb b/.bun-tag-8e27dc13cefabefb
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-8ffee8df5dc7f570 b/.bun-tag-8ffee8df5dc7f570
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-a5449bb61c57391f b/.bun-tag-a5449bb61c57391f
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-a8dc3f84e6c96ee9 b/.bun-tag-a8dc3f84e6c96ee9
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-b33023173c7d2ad9 b/.bun-tag-b33023173c7d2ad9
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-bad311f5c905ec65 b/.bun-tag-bad311f5c905ec65
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-bb42acbb590446fd b/.bun-tag-bb42acbb590446fd
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-c30c527f92fa5f61 b/.bun-tag-c30c527f92fa5f61
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-d62d0537cae63ff7 b/.bun-tag-d62d0537cae63ff7
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-d6486175475ea65b b/.bun-tag-d6486175475ea65b
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-d81b9f6f9ce08425 b/.bun-tag-d81b9f6f9ce08425
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-dbde6919cba88f58 b/.bun-tag-dbde6919cba88f58
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-f3d464e001712e3f b/.bun-tag-f3d464e001712e3f
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-f55dd4e4d4571488 b/.bun-tag-f55dd4e4d4571488
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@tscircuit/common/.bun-tag-ff06f4ba9c89fd4d b/.bun-tag-ff06f4ba9c89fd4d
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/dist/index.js b/dist/index.js
index 8d5ce791b906a58ab47f2ab26a9ad269732ffb7a..65f39948468a58ae30d977ebb4c6e4a41ba3f769 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -2190,12 +2190,12 @@ var X322512MSB4SI = (props) => {
"crystal",
__spreadValues({
frequency: "12MHz",
- loadCapacitance: "12pF",
+ loadCapacitance: "10pF",
pinVariant: "four_pin",
supplierPartNumbers: {
- jlcpcb: ["C9002"]
+ jlcpcb: ["C20625731"]
},
- manufacturerPartNumber: "X322512MSB4SI",
+ manufacturerPartNumber: "ABM8-272-T3",
footprint: "crystal",
cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C9002.obj?uuid=02485e56ba8d4732a26526d2983fc729",
@@ -2326,6 +2326,43 @@ var Microcontroller_RP2040 = (_a) => {
"name",
"connections"
]);
+ var programmingSchSheetName = props.schSheetName === "controller" ? "controller_programming" : void 0;
+ var resistor0402Footprint = () => /* @__PURE__ */ jsxs11("footprint", { children: [
+ /* @__PURE__ */ jsx20("smtpad", {
+ portHints: ["pin1"],
+ pcbX: "-0.432816mm",
+ pcbY: "0mm",
+ width: "0.565658mm",
+ height: "0.540004mm",
+ shape: "rect"
+ }),
+ /* @__PURE__ */ jsx20("smtpad", {
+ portHints: ["pin2"],
+ pcbX: "0.432816mm",
+ pcbY: "0mm",
+ width: "0.565658mm",
+ height: "0.540004mm",
+ shape: "rect"
+ })
+ ] });
+ var capacitor0402Footprint = () => /* @__PURE__ */ jsxs11("footprint", { children: [
+ /* @__PURE__ */ jsx20("smtpad", {
+ portHints: ["pin1"],
+ pcbX: "-0.420116mm",
+ pcbY: "0mm",
+ width: "0.499999mm",
+ height: "0.540004mm",
+ shape: "rect"
+ }),
+ /* @__PURE__ */ jsx20("smtpad", {
+ portHints: ["pin2"],
+ pcbX: "0.420116mm",
+ pcbY: "0mm",
+ width: "0.499999mm",
+ height: "0.540004mm",
+ shape: "rect"
+ })
+ ] });
return /* @__PURE__ */ jsxs11("subcircuit", __spreadProps(__spreadValues({ name }, props), { children: [
/* @__PURE__ */ jsx20(
"schematicsection",
@@ -2334,7 +2371,7 @@ var Microcontroller_RP2040 = (_a) => {
displayName: "RP2040 & Power"
}
),
- /* @__PURE__ */ jsx20(
+ programmingSchSheetName ? null : /* @__PURE__ */ jsx20(
"schematicsection",
{
name: schSections.usb(name),
@@ -2351,18 +2388,21 @@ var Microcontroller_RP2040 = (_a) => {
),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "Y1_G1", from: ".Y1 > .pin2", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "Y1_G2", from: ".Y1 > .pin4", to: "net.GND" }, gndLabel)),
- /* @__PURE__ */ jsx20("trace", { name: "USB_DN_B", from: ".J_USB > .B7", to: ".R_USB1 > .pin1" }),
- /* @__PURE__ */ jsx20("trace", { name: "USB_DP_B", from: ".J_USB > .B6", to: ".R_USB2 > .pin1" }),
+ /* @__PURE__ */ jsx20("trace", { name: "USB_DN_JOIN", from: ".J_USB > .A7", to: ".J_USB > .B7" }),
+ /* @__PURE__ */ jsx20("trace", { name: "USB_DN_CONN", from: ".J_USB > .B7", to: ".R_USB1 > .pin1" }),
+ /* @__PURE__ */ jsx20("trace", { name: "USB_DP_JOIN", from: ".J_USB > .A6", to: ".J_USB > .B6" }),
+ /* @__PURE__ */ jsx20("trace", { name: "USB_DP_CONN", from: ".J_USB > .B6", to: ".R_USB2 > .pin1" }),
/* @__PURE__ */ jsx20(
B5819W_SL,
{
name: "D_VBUS",
- schSectionName: schSections.power(name),
+ schSheetName: programmingSchSheetName,
+ schSectionName: schSections.usb(name),
pcbX: -2,
- pcbY: 21,
+ pcbY: 18,
pcbRotation: 90,
- schX: 7.8,
- schY: -4.6,
+ schX: -6.9,
+ schY: -7,
schRotation: 180
}
),
@@ -2381,13 +2421,16 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_3V3_EN",
resistance: "100k",
footprint: "0402",
- schSectionName: schSections.power(name),
+ supplierPartNumbers: { jlcpcb: ["C25741"] },
+ manufacturerPartNumber: "0402WGF1003TCE",
+ schSheetName: programmingSchSheetName,
+ schSectionName: schSections.usb(name),
pcbX: -4.7,
- pcbY: 17.3,
+ pcbY: 14.3,
pcbRotation: 90,
schOrientation: "horizontal",
- schX: 9.4,
- schY: -4.6
+ schX: -5.9,
+ schY: -9
}
),
/* @__PURE__ */ jsx20(
@@ -2405,9 +2448,11 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_IOVDD1",
capacitance: "100nF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ manufacturerPartNumber: "CL05B104KO5NNNC",
schSectionName: schSections.rp2040(name),
schOrientation: "vertical",
- pcbX: -4,
+ pcbX: -4.4,
pcbY: -5,
schX: -11.3,
schY: -6.4
@@ -2419,6 +2464,8 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_IOVDD2",
capacitance: "100nF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ manufacturerPartNumber: "CL05B104KO5NNNC",
schSectionName: schSections.rp2040(name),
schOrientation: "vertical",
pcbX: -3,
@@ -2433,6 +2480,8 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_IOVDD3",
capacitance: "100nF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ manufacturerPartNumber: "CL05B104KO5NNNC",
schSectionName: schSections.rp2040(name),
schOrientation: "vertical",
pcbRotation: -90,
@@ -2448,9 +2497,11 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_IOVDD4",
capacitance: "100nF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ manufacturerPartNumber: "CL05B104KO5NNNC",
schSectionName: schSections.rp2040(name),
schOrientation: "vertical",
- pcbX: -4,
+ pcbX: -4.4,
pcbY: -6,
schX: -6.2,
schY: -6.4
@@ -2462,11 +2513,13 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_IOVDD5",
capacitance: "100nF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ manufacturerPartNumber: "CL05B104KO5NNNC",
schSectionName: schSections.rp2040(name),
schOrientation: "vertical",
pcbRotation: -90,
pcbX: -6,
- pcbY: -10,
+ pcbY: -8,
schX: -4.5,
schY: -6.4
}
@@ -2477,6 +2530,8 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_IOVDD6",
capacitance: "100nF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ manufacturerPartNumber: "CL05B104KO5NNNC",
schSectionName: schSections.rp2040(name),
schOrientation: "vertical",
pcbX: -8,
@@ -2527,11 +2582,13 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_RUN",
resistance: "10k",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C25744"] },
+ manufacturerPartNumber: "0402WGF1002TCE",
schSectionName: schSections.controls(name),
pcbX: 10.4,
pcbY: -5.5,
- schX: 12.5,
- schY: -11
+ schX: 14.4,
+ schY: -12.1
}
),
/* @__PURE__ */ jsx20(
@@ -2540,11 +2597,16 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_FLASH",
capacitance: "100nF",
footprint: "0402",
- schSectionName: schSections.flash(name),
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ maxDecouplingTraceLength: 1.3,
+ schSheetName: programmingSchSheetName,
+ schSectionName: schSections.usb(name),
schOrientation: "vertical",
- pcbX: -5.5,
- pcbY: 10.8,
- pcbRotation: 180
+ pcbX: -0.4,
+ pcbY: 7.9,
+ pcbRotation: -90,
+ schX: 13.1,
+ schY: -4.5
}
),
/* @__PURE__ */ jsx20(
@@ -2553,10 +2615,16 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_USB_VDD",
capacitance: "100nF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ maxDecouplingTraceLength: 1.5,
+ schSheetName: programmingSchSheetName,
schSectionName: schSections.usb(name),
schOrientation: "vertical",
- pcbX: 7.2,
- pcbY: 14.5
+ pcbX: 0.4,
+ pcbY: 5.7,
+ pcbRotation: 90,
+ schX: 3.1,
+ schY: -4
}
),
/* @__PURE__ */ jsx20(
@@ -2565,10 +2633,14 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_ADC",
capacitance: "100nF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ manufacturerPartNumber: "CL05B104KO5NNNC",
schSectionName: schSections.power(name),
schOrientation: "vertical",
pcbX: 8,
- pcbY: -4.4
+ pcbY: -4.4,
+ schX: 7.8,
+ schY: -8.7
}
),
/* @__PURE__ */ jsx20(
@@ -2586,7 +2658,7 @@ var Microcontroller_RP2040 = (_a) => {
__spreadValues({
name: "FLSH_3V3",
from: ".C_FLASH > .pin1",
- to: "net.V3V3"
+ to: ".U2 > .VCC"
}, v3v3Label)
),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "FLSH_G", from: ".C_FLASH > .pin2", to: "net.GND" }, gndLabel)),
@@ -2613,7 +2685,7 @@ var Microcontroller_RP2040 = (_a) => {
__spreadValues({
name: "UVDD_3V3",
from: ".C_USB_VDD > .pin1",
- to: "net.V3V3"
+ to: ".U1 > .USB_VDD"
}, v3v3Label)
),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "UVDD_G", from: ".C_USB_VDD > .pin2", to: "net.GND" }, gndLabel)),
@@ -2630,17 +2702,41 @@ var Microcontroller_RP2040 = (_a) => {
TYPE_C_16PIN_2MD_073_,
{
name: "J_USB",
+ noConnect: ["B8", "A8"],
+ schSheetName: programmingSchSheetName,
schSectionName: schSections.usb(name),
pcbX: 0,
- pcbY: 31,
+ pcbY: 28,
pcbRotation: 180,
- schX: 12.25,
- schY: -5.8,
- schWidth: 2.15,
- schHeight: 1.8,
+ schX: 5.1,
+ schY: -8,
+ schWidth: 3.4,
+ schHeight: 4.6,
schPinArrangement: {
- leftSide: [13, 15, 17, 18, 20, 22, 23, 25],
- rightSide: [14, 16, 28, 27, 26, 24, 21, 19]
+ leftSide: {
+ pins: [13, 15, 17, 18, 20, 22, 23, 25],
+ direction: "top-to-bottom"
+ },
+ rightSide: {
+ pins: [14, 16, 28, 27, 26, 24, 21, 19],
+ direction: "top-to-bottom"
+ }
+ },
+ schPinStyle: {
+ pin13: { marginBottom: 0.18 },
+ pin15: { marginBottom: 0.18 },
+ pin17: { marginTop: 0.25, marginBottom: 0.18 },
+ pin18: { marginBottom: 0.18 },
+ pin20: { marginTop: 0.25, marginBottom: 0.18 },
+ pin22: { marginBottom: 0.18 },
+ pin23: { marginBottom: 0.18 },
+ pin16: { marginTop: 0.18 },
+ pin28: { marginTop: 0.4 },
+ pin27: { marginTop: 0.18 },
+ pin26: { marginTop: 0.4 },
+ pin24: { marginTop: 0.18 },
+ pin21: { marginTop: 0.18 },
+ pin19: { marginTop: 0.18 }
}
}
),
@@ -2648,30 +2744,82 @@ var Microcontroller_RP2040 = (_a) => {
RP2040,
{
name: "U1",
+ pinAttributes: {
+ IOVDD1: { requiresPower: true },
+ GND: { requiresGround: true }
+ },
connections,
showPinAliases: true,
schSectionName: schSections.rp2040(name),
pcbX: 0,
pcbY: 0.5,
- schX: -0.08,
- schY: -2.5,
- schWidth: 2.8,
- schHeight: 5.8
+ schX: 0.4,
+ schY: -3.2,
+ schWidth: 3.8,
+ schHeight: 9,
+ schPinArrangement: {
+ leftSide: {
+ pins: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29],
+ direction: "top-to-bottom"
+ },
+ rightSide: {
+ pins: [57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30],
+ direction: "top-to-bottom"
+ }
+ },
+ schPinStyle: {
+ pin2: { marginTop: 0.3 },
+ pin20: { marginTop: 0.4 },
+ pin22: { marginTop: 0.4 },
+ pin27: { marginTop: 0.4 },
+ pin56: { marginTop: 0.3 },
+ pin50: { marginTop: 0.4 },
+ pin48: { marginTop: 0.35 },
+ pin45: { marginTop: 0.35 },
+ pin43: { marginTop: 0.35 },
+ pin41: { marginTop: 0.35 },
+ pin37: { marginTop: 0.35 }
+ }
}
),
/* @__PURE__ */ jsx20(
W25Q16JVUXIQ,
{
name: "U2",
- schSectionName: schSections.flash(name),
- pcbX: 3.4,
- pcbY: 9.5,
- pcbRotation: 90,
- schX: 17.5,
- schY: -4.16,
- schHeight: 1.6,
+ pinAttributes: {
+ VCC: { requiresPower: true },
+ GND: { requiresGround: true }
+ },
+ schSheetName: programmingSchSheetName,
+ schSectionName: schSections.usb(name),
+ pcbX: -3,
+ pcbY: 8.25,
+ pcbRotation: -90,
+ schX: 13.1,
+ schY: -8.3,
+ schWidth: 2.8,
+ schHeight: 5,
schPinArrangement: {
- leftSide: [8, 1, 2, 3, 5, 6, 7, 4, 9]
+ leftSide: {
+ pins: [1, 6, 5, 2, 3, 7],
+ direction: "top-to-bottom"
+ },
+ topSide: {
+ pins: [8],
+ direction: "left-to-right"
+ },
+ bottomSide: {
+ pins: [4, 9],
+ direction: "left-to-right"
+ }
+ },
+ schPinStyle: {
+ pin1: { marginBottom: 0.18 },
+ pin6: { marginTop: 0.25, marginBottom: 0.18 },
+ pin5: { marginTop: 0.25, marginBottom: 0.18 },
+ pin2: { marginBottom: 0.18 },
+ pin3: { marginBottom: 0.18 },
+ pin9: { marginLeft: 0.35 }
}
}
),
@@ -2679,13 +2827,38 @@ var Microcontroller_RP2040 = (_a) => {
AP2112K_3_3TRG1,
{
name: "U3",
- schSectionName: schSections.power(name),
+ pinAttributes: {
+ VIN: { requiresPower: true },
+ GND: { requiresGround: true }
+ },
+ schSheetName: programmingSchSheetName,
+ schSectionName: schSections.usb(name),
pcbX: -7.2,
- pcbY: 20.2,
+ pcbY: 17.2,
pcbRotation: 180,
- schX: 8.8,
- schY: -6.3,
- schHeight: 0.6
+ schX: -2.9,
+ schY: -8.5,
+ schWidth: 2,
+ schHeight: 1.8,
+ schPinArrangement: {
+ leftSide: {
+ pins: [1, 3],
+ direction: "top-to-bottom"
+ },
+ rightSide: {
+ pins: [5, 4],
+ direction: "top-to-bottom"
+ },
+ bottomSide: {
+ pins: [2],
+ direction: "left-to-right"
+ }
+ },
+ schPinStyle: {
+ pin3: { marginTop: 0.35 },
+ pin4: { marginTop: 0.35 },
+ pin2: { marginLeft: 0 }
+ }
}
),
/* @__PURE__ */ jsx20(
@@ -2693,10 +2866,11 @@ var Microcontroller_RP2040 = (_a) => {
{
name: "Y1",
schSectionName: schSections.clock(name),
- pcbX: -0.5,
+ pcbX: -1.2,
pcbY: -6,
- schX: 1.025,
- schY: -12.5
+ pcbRotation: 270,
+ schX: -4.4,
+ schY: -13.5
}
),
/* @__PURE__ */ jsx20(
@@ -2705,9 +2879,9 @@ var Microcontroller_RP2040 = (_a) => {
name: "SW_BOOT",
schSectionName: schSections.controls(name),
pcbX: 8.6,
- pcbY: 21.8,
- schX: 10.6,
- schY: -9.4
+ pcbY: 18.8,
+ schX: 13.7,
+ schY: -11
}
),
/* @__PURE__ */ jsx20(
@@ -2716,10 +2890,10 @@ var Microcontroller_RP2040 = (_a) => {
name: "SW_RUN",
schSectionName: schSections.controls(name),
pcbX: 5.5,
- pcbY: -12.5,
+ pcbY: -8.5,
pcbRotation: 90,
- schX: 12.5,
- schY: -9.4
+ schX: 15,
+ schY: -11
}
),
/* @__PURE__ */ jsx20(
@@ -2731,8 +2905,8 @@ var Microcontroller_RP2040 = (_a) => {
pcbX: 10,
pcbY: 4.2,
pcbRotation: 90,
- schX: 9.66,
- schY: -12
+ schX: 14.2,
+ schY: -13.1
}
),
/* @__PURE__ */ jsx20(
@@ -2741,11 +2915,11 @@ var Microcontroller_RP2040 = (_a) => {
name: "D_PWR",
color: "green",
schSectionName: schSections.status(name),
- pcbX: -9.8,
- pcbY: 24.8,
+ pcbX: -8,
+ pcbY: 21.8,
pcbRotation: 90,
- schX: 10.2,
- schY: -13.8
+ schX: 14.2,
+ schY: -14.5
}
),
/* @__PURE__ */ jsx20(
@@ -2754,12 +2928,14 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_BOOT",
resistance: "10k",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C25744"] },
+ manufacturerPartNumber: "0402WGF1002TCE",
schSectionName: schSections.controls(name),
pcbX: 12,
- pcbY: 17.8,
- pcbRotation: 90,
- schX: 10.6,
- schY: -11
+ pcbY: 14.8,
+ pcbRotation: 0,
+ schX: 13.7,
+ schY: -12.1
}
),
/* @__PURE__ */ jsx20(
@@ -2768,12 +2944,14 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_LED",
resistance: "330",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C25104"] },
+ manufacturerPartNumber: "0402WGF3300TCE",
schSectionName: schSections.status(name),
pcbX: 7.2,
pcbY: 1.2,
pcbRotation: 90,
- schX: 8.06,
- schY: -12
+ schX: 12.6,
+ schY: -13.1
}
),
/* @__PURE__ */ jsx20(
@@ -2782,13 +2960,15 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_PWR_LED",
resistance: "330",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C25104"] },
+ manufacturerPartNumber: "0402WGF3300TCE",
schSectionName: schSections.status(name),
pcbX: -6.2,
- pcbY: 24.8,
+ pcbY: 21.8,
pcbRotation: 90,
schOrientation: "horizontal",
- schX: 8.6,
- schY: -13.8
+ schX: 12.6,
+ schY: -14.5
}
),
/* @__PURE__ */ jsx20(
@@ -2797,11 +2977,14 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_CC1",
resistance: "5.1k",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C25905"] },
+ manufacturerPartNumber: "0402WGF5101TCE",
+ schSheetName: programmingSchSheetName,
schSectionName: schSections.usb(name),
- pcbX: -0.2,
- pcbY: 25.6,
- schX: 8.89,
- schY: -7.36
+ pcbX: -0.4,
+ pcbY: 22.6,
+ schX: -4.4,
+ schY: -12
}
),
/* @__PURE__ */ jsx20(
@@ -2810,9 +2993,14 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_CC2",
resistance: "5.1k",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C25905"] },
+ manufacturerPartNumber: "0402WGF5101TCE",
+ schSheetName: programmingSchSheetName,
schSectionName: schSections.usb(name),
pcbX: 3.6,
- pcbY: 26.5
+ pcbY: 23.5,
+ schX: -2.1,
+ schY: -12
}
),
/* @__PURE__ */ jsx20(
@@ -2821,12 +3009,14 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_USB1",
resistance: "27",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C25100"] },
+ schSheetName: programmingSchSheetName,
schSectionName: schSections.usb(name),
- pcbX: 3.4,
- pcbY: 22.5,
- pcbRotation: 90,
- schX: 15.3,
- schY: -6.1
+ pcbX: 4.3,
+ pcbY: 5.4,
+ pcbRotation: 180,
+ schX: 5.6,
+ schY: -12
}
),
/* @__PURE__ */ jsx20(
@@ -2835,12 +3025,14 @@ var Microcontroller_RP2040 = (_a) => {
name: "R_USB2",
resistance: "27",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C25100"] },
+ schSheetName: programmingSchSheetName,
schSectionName: schSections.usb(name),
- pcbX: 2.4,
- pcbY: 16.5,
- pcbRotation: -90,
- schX: 14.96,
- schY: -8.08
+ pcbX: 4.3,
+ pcbY: 6.7,
+ pcbRotation: 180,
+ schX: 13.1,
+ schY: -12
}
),
/* @__PURE__ */ jsx20(
@@ -2849,11 +3041,15 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_VBUS",
capacitance: "10uF",
footprint: "0603",
+ supplierPartNumbers: { jlcpcb: ["C19702"] },
+ schSheetName: programmingSchSheetName,
schSectionName: schSections.usb(name),
schOrientation: "vertical",
- pcbX: -2.8,
- pcbY: 26.3,
- pcbRotation: 90
+ pcbX: -8,
+ pcbY: 14,
+ pcbRotation: 90,
+ schX: 5.1,
+ schY: -4
}
),
/* @__PURE__ */ jsx20(
@@ -2862,10 +3058,14 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_3V3",
capacitance: "10uF",
footprint: "0603",
- schSectionName: schSections.power(name),
+ supplierPartNumbers: { jlcpcb: ["C19702"] },
+ schSheetName: programmingSchSheetName,
+ schSectionName: schSections.usb(name),
schOrientation: "vertical",
- pcbX: -8.5,
- pcbY: 4.2
+ pcbX: -2.5,
+ pcbY: 15,
+ schX: 0.6,
+ schY: -12
}
),
/* @__PURE__ */ jsx20(
@@ -2874,12 +3074,15 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_CORE",
capacitance: "1uF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C52923"] },
+ maxDecouplingTraceLength: 1.5,
schSectionName: schSections.rp2040(name),
schOrientation: "vertical",
- pcbX: 3.8,
- pcbY: -5.5,
- schX: -3.65,
- schY: -3.7
+ pcbX: 1.6,
+ pcbY: 5.9,
+ pcbRotation: 90,
+ schX: -3.8,
+ schY: -3.2
}
),
/* @__PURE__ */ jsx20(
@@ -2888,34 +3091,94 @@ var Microcontroller_RP2040 = (_a) => {
name: "C_USB",
capacitance: "1uF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C52923"] },
+ maxDecouplingTraceLength: 1.5,
+ schSheetName: programmingSchSheetName,
schSectionName: schSections.usb(name),
schOrientation: "vertical",
- pcbX: 9.8,
- pcbY: 18.4
+ pcbX: 2.8,
+ pcbY: 5.7,
+ pcbRotation: 90,
+ schX: 7.1,
+ schY: -4
}
),
/* @__PURE__ */ jsx20(
"capacitor",
{
name: "C_XIN",
- capacitance: "18pF",
+ capacitance: "15pF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1548"] },
+ manufacturerPartNumber: "0402CG150J500NT",
schSectionName: schSections.clock(name),
schOrientation: "vertical",
- pcbX: -8.4,
- pcbY: -11.8
+ pcbX: -2,
+ pcbY: -9.8,
+ schX: -4.95,
+ schY: -15.25
}
),
/* @__PURE__ */ jsx20(
"capacitor",
{
name: "C_XOUT",
- capacitance: "18pF",
+ capacitance: "15pF",
footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1548"] },
+ manufacturerPartNumber: "0402CG150J500NT",
schSectionName: schSections.clock(name),
schOrientation: "vertical",
- pcbX: -2.4,
- pcbY: -21
+ pcbX: 0,
+ pcbY: -9.8,
+ schX: -3.1,
+ schY: -15.25
+ }
+ ),
+ /* @__PURE__ */ jsx20(
+ "resistor",
+ {
+ name: "R_XOUT",
+ resistance: "1k",
+ footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C11702"] },
+ schSectionName: schSections.clock(name),
+ pcbX: 1.8,
+ pcbY: -5.8,
+ schX: -2.3,
+ schY: -13.5
+ }
+ ),
+ /* @__PURE__ */ jsx20(
+ "capacitor",
+ {
+ name: "C_DVDD1",
+ capacitance: "100nF",
+ footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ maxDecouplingTraceLength: 1.5,
+ schSectionName: schSections.rp2040(name),
+ schOrientation: "vertical",
+ pcbX: -0.8,
+ pcbY: 5.7,
+ pcbRotation: 90,
+ schX: 4.5,
+ schY: -6.4
+ }
+ ),
+ /* @__PURE__ */ jsx20(
+ "capacitor",
+ {
+ name: "C_DVDD2",
+ capacitance: "100nF",
+ footprint: "0402",
+ supplierPartNumbers: { jlcpcb: ["C1525"] },
+ schSectionName: schSections.rp2040(name),
+ schOrientation: "vertical",
+ pcbX: 2.8,
+ pcbY: -4.5,
+ schX: 6.2,
+ schY: -6.4
}
),
/* @__PURE__ */ jsx20(
@@ -2923,14 +3186,32 @@ var Microcontroller_RP2040 = (_a) => {
{
name: "L_AVDD",
inductance: "600ohm@100MHz",
- footprint: "0603",
+ footprint: /* @__PURE__ */ jsxs11("footprint", { children: [
+ /* @__PURE__ */ jsx20("smtpad", {
+ portHints: ["pin1"],
+ pcbX: "-0.699897mm",
+ pcbY: "0mm",
+ width: "0.7999984mm",
+ height: "0.8640064mm",
+ shape: "rect"
+ }),
+ /* @__PURE__ */ jsx20("smtpad", {
+ portHints: ["pin2"],
+ pcbX: "0.699897mm",
+ pcbY: "0mm",
+ width: "0.7999984mm",
+ height: "0.8640064mm",
+ shape: "rect"
+ })
+ ] }),
schSectionName: schSections.power(name),
pcbX: 8.5,
- pcbY: -1.8,
- supplierPartNumbers: { jlcpcb: ["C1002"] },
+ pcbY: 1.25,
+ supplierPartNumbers: { jlcpcb: ["C19330"] },
+ manufacturerPartNumber: "BLM18AG601SN1D",
pcbRotation: 90,
- schX: 6.8,
- schY: -8.3
+ schX: 4,
+ schY: -8.8
}
),
/* @__PURE__ */ jsx20(
@@ -2941,9 +3222,9 @@ var Microcontroller_RP2040 = (_a) => {
padShape: "circle",
padDiameter: "1.1mm",
schSectionName: schSections.debug(name),
- pcbX: -6,
- pcbY: -31,
- schX: 6,
+ pcbX: 3,
+ pcbY: -12.5,
+ schX: 12.4,
schY: -15.5
}
),
@@ -2955,9 +3236,9 @@ var Microcontroller_RP2040 = (_a) => {
padShape: "circle",
padDiameter: "1.1mm",
schSectionName: schSections.debug(name),
- pcbX: -2,
- pcbY: -31,
- schX: 7.5,
+ pcbX: -2.5,
+ pcbY: -12.5,
+ schX: 13.9,
schY: -15.5
}
),
@@ -2969,9 +3250,9 @@ var Microcontroller_RP2040 = (_a) => {
padShape: "circle",
padDiameter: "1.1mm",
schSectionName: schSections.debug(name),
- pcbX: 2,
- pcbY: -31,
- schX: 9,
+ pcbX: 5.5,
+ pcbY: -12.5,
+ schX: 15.4,
schY: -15.5
}
),
@@ -2983,9 +3264,9 @@ var Microcontroller_RP2040 = (_a) => {
padShape: "circle",
padDiameter: "1.1mm",
schSectionName: schSections.debug(name),
- pcbX: 6,
- pcbY: -31,
- schX: 10.5,
+ pcbX: 9.5,
+ pcbY: -12.5,
+ schX: 16.9,
schY: -15.5
}
),
@@ -3091,22 +3372,12 @@ var Microcontroller_RP2040 = (_a) => {
to: "net.V3V3"
}), v3v3Label)
),
- /* @__PURE__ */ jsx20(
- "trace",
- __spreadValues(__spreadProps(__spreadValues({}, denseTraceProps), {
- name: "DVDD1_P",
- from: ".U1 > .DVDD1",
- to: "net.V1V1"
- }), v1v1Label)
- ),
- /* @__PURE__ */ jsx20(
- "trace",
- __spreadValues(__spreadProps(__spreadValues({}, denseTraceProps), {
- name: "DVDD2_P",
- from: ".U1 > .DVDD2",
- to: "net.V1V1"
- }), v1v1Label)
- ),
+ /* @__PURE__ */ jsx20("trace", __spreadProps(__spreadValues({}, denseTraceProps), { name: "DVDD1_CAP", from: ".C_DVDD1 > .pin1", to: ".U1 > .DVDD1" })),
+ /* @__PURE__ */ jsx20("trace", __spreadValues(__spreadProps(__spreadValues({}, denseTraceProps), { name: "DVDD1_P", from: ".U1 > .DVDD1", to: "net.V1V1" }), v1v1Label)),
+ /* @__PURE__ */ jsx20("trace", __spreadProps(__spreadValues({}, denseTraceProps), { name: "VREG_CORE", from: ".U1 > .VREG_VOUT", to: ".C_CORE > .pin1" })),
+ /* @__PURE__ */ jsx20("trace", __spreadValues(__spreadProps(__spreadValues({}, denseTraceProps), { name: "VREG_VOUT_P", from: ".U1 > .VREG_VOUT", to: "net.V1V1" }), v1v1Label)),
+ /* @__PURE__ */ jsx20("trace", __spreadValues(__spreadProps(__spreadValues({}, denseTraceProps), { name: "DVDD2_P", from: ".U1 > .DVDD2", to: "net.V1V1" }), v1v1Label)),
+ /* @__PURE__ */ jsx20("trace", __spreadProps(__spreadValues({}, denseTraceProps), { name: "DVDD2_CAP", from: ".U1 > .DVDD2", to: ".C_DVDD2 > .pin1" })),
/* @__PURE__ */ jsx20(
"trace",
__spreadValues(__spreadProps(__spreadValues({}, denseTraceProps), {
@@ -3115,14 +3386,6 @@ var Microcontroller_RP2040 = (_a) => {
to: "net.V3V3"
}), v3v3Label)
),
- /* @__PURE__ */ jsx20(
- "trace",
- __spreadValues(__spreadProps(__spreadValues({}, denseTraceProps), {
- name: "VREG_VOUT_P",
- from: ".U1 > .VREG_VOUT",
- to: "net.V1V1"
- }), v1v1Label)
- ),
/* @__PURE__ */ jsx20(
"trace",
__spreadValues(__spreadProps(__spreadValues({}, denseTraceProps), {
@@ -3142,7 +3405,6 @@ var Microcontroller_RP2040 = (_a) => {
),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "VBUS_A", from: ".J_USB > .A4B9", to: "net.VBUS" }, vbusLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "VBUS_B", from: ".J_USB > .B4A9", to: "net.VBUS" }, vbusLabel)),
- /* @__PURE__ */ jsx20("trace", { name: "USB_DN_A", from: ".J_USB > .A7", to: ".R_USB1 > .pin1" }),
/* @__PURE__ */ jsx20(
"trace",
__spreadProps(__spreadValues({}, denseTraceProps), {
@@ -3151,7 +3413,6 @@ var Microcontroller_RP2040 = (_a) => {
to: ".U1 > .USB_DM"
})
),
- /* @__PURE__ */ jsx20("trace", { name: "USB_DP_A", from: ".J_USB > .A6", to: ".R_USB2 > .pin1" }),
/* @__PURE__ */ jsx20(
"trace",
__spreadProps(__spreadValues({}, denseTraceProps), {
@@ -3227,15 +3488,14 @@ var Microcontroller_RP2040 = (_a) => {
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CC1_G", from: ".R_CC1 > .pin2", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CC2_G", from: ".R_CC2 > .pin2", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "VBUS_C", from: "net.VBUS", to: ".C_VBUS > .pin1" }, vbusLabel)),
- /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "VBUS_G", from: ".C_VBUS > .pin2", to: "net.GND" }, gndLabel)),
+ /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "VBUS_G", from: ".C_VBUS > .pin2", to: ".U3 > .GND", pcbPathRelativeTo: ".C_VBUS > .pin2", pcbPath: [{ x: 0.825, y: 0.975 }, { x: 3.2, y: 0.975 }] }, gndLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "VSYS_IN", from: "net.VSYS", to: ".U3 > .VIN" }, vsysLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "REG_3V3", from: ".U3 > .VOUT", to: "net.V3V3" }, v3v3Label)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "REG_G", from: ".U3 > .GND", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "C3V3_P", from: ".C_3V3 > .pin1", to: "net.V3V3" }, v3v3Label)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "C3V3_G", from: ".C_3V3 > .pin2", to: "net.GND" }, gndLabel)),
- /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CORE_P", from: ".C_CORE > .pin1", to: "net.V1V1" }, v1v1Label)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CORE_G", from: ".C_CORE > .pin2", to: "net.GND" }, gndLabel)),
- /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CUSB_P", from: ".C_USB > .pin1", to: "net.V3V3" }, v3v3Label)),
+ /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CUSB_P", from: ".C_USB > .pin1", to: ".U1 > .VREG_IN" }, v3v3Label)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CUSB_G", from: ".C_USB > .pin2", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "AVDD_IN", from: ".L_AVDD > .pin1", to: "net.V3V3" }, v3v3Label)),
/* @__PURE__ */ jsx20(
@@ -3256,13 +3516,16 @@ var Microcontroller_RP2040 = (_a) => {
),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "FLSH_GND", from: ".U2 > .GND", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "FLSH_VCC", from: ".U2 > .VCC", to: "net.V3V3" }, v3v3Label)),
- /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "FLSH_EP", from: ".U2 > .EP", to: "net.GND" }, gndLabel)),
- /* @__PURE__ */ jsx20("trace", { name: "XIN", from: ".Y1 > .pin1", to: ".U1 > .XIN" }),
- /* @__PURE__ */ jsx20("trace", { name: "XOUT", from: ".Y1 > .pin3", to: ".U1 > .XOUT" }),
- /* @__PURE__ */ jsx20("trace", { name: "CXIN", from: ".C_XIN > .pin1", to: ".Y1 > .pin1" }),
+ /* @__PURE__ */ jsx20("trace", { name: "FLSH_EP_GND_JOIN", from: ".U2 > .EP", to: ".U2 > .GND" }),
+ /* @__PURE__ */ jsx20("trace", { name: "XIN", from: ".Y1 > .pin1", to: ".U1 > .XIN", maxViaCount: 0, pcbPathRelativeTo: ".Y1 > .pin1", pcbPath: [{ x: -1.95, y: -0.85 }, { x: -1.95, y: 0.6 }] }),
+ /* @__PURE__ */ jsx20("trace", { name: "XOUT_R", from: ".Y1 > .pin3", to: ".R_XOUT > .pin1", maxViaCount: 0, pcbStraightLine: true }),
+ /* @__PURE__ */ jsx20("trace", { name: "XOUT", from: ".R_XOUT > .pin2", to: ".U1 > .XOUT", maxViaCount: 0, pcbPathRelativeTo: ".R_XOUT > .pin2", pcbPath: [{ x: 1.025, y: 0 }, { x: 1.025, y: 2.25 }, { x: -2, y: 2.25 }] }),
+ /* @__PURE__ */ jsx20("trace", { name: "CXIN", from: ".C_XIN > .pin1", to: ".Y1 > .pin1", maxViaCount: 0, pcbPathRelativeTo: ".C_XIN > .pin1", pcbPath: [{ x: -1, y: 0 }, { x: -1, y: 4.4 }] }),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CXIN_G", from: ".C_XIN > .pin2", to: "net.GND" }, gndLabel)),
- /* @__PURE__ */ jsx20("trace", { name: "CXOUT", from: ".C_XOUT > .pin1", to: ".Y1 > .pin3" }),
+ /* @__PURE__ */ jsx20("trace", { name: "CXOUT", from: ".C_XOUT > .pin1", to: ".Y1 > .pin3", maxViaCount: 0, pcbStraightLine: true }),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "CXOUT_G", from: ".C_XOUT > .pin2", to: "net.GND" }, gndLabel)),
+ /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "DVDD1_CAP_G", from: ".C_DVDD1 > .pin2", to: "net.GND" }, gndLabel)),
+ /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "DVDD2_CAP_G", from: ".C_DVDD2 > .pin2", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", { name: "BOOT_SW", from: ".SW_BOOT > .pin1", to: ".U1 > .QSPI_SS" }),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "BOOT_G", from: ".SW_BOOT > .pin3", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", { name: "BOOT_R", from: ".R_BOOT > .pin1", to: ".U1 > .QSPI_SS" }),
@@ -3288,14 +3551,14 @@ var Microcontroller_RP2040 = (_a) => {
}, v3v3Label)
),
/* @__PURE__ */ jsx20("trace", { name: "PLED_D", from: ".R_PWR_LED > .pin2", to: ".D_PWR > .anode" }),
- /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "PLED_G", from: ".D_PWR > .cathode", to: "net.GND" }, gndLabel)),
+ /* @__PURE__ */ jsx20("trace", __spreadValues({ name: "PLED_G", from: ".D_PWR > .cathode", to: ".U3 > .GND", pcbPathRelativeTo: ".D_PWR > .cathode", pcbPath: [{ x: -0.749, y: 0.975 }, { x: -4.6, y: 0.975 }] }, gndLabel)),
/* @__PURE__ */ jsx20("trace", { name: "SWCLK", from: ".U1 > .SWCLK", to: ".TP_SWCLK > .pin1" }),
/* @__PURE__ */ jsx20("trace", { name: "SWD", from: ".U1 > .SWD", to: ".TP_SWDIO > .pin1" }),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "TP_G", from: ".TP_GND > .pin1", to: "net.GND" }, gndLabel)),
/* @__PURE__ */ jsx20("trace", __spreadValues({ name: "TP3V3_T", from: ".TP_3V3 > .pin1", to: "net.V3V3" }, v3v3Label)),
/* @__PURE__ */ jsx20("silkscreentext", { text: "BOOT", fontSize: "0.8mm", pcbX: 12, pcbY: 14 }),
- /* @__PURE__ */ jsx20("silkscreentext", { text: "RUN", fontSize: "0.8mm", pcbX: -12, pcbY: -30 }),
- /* @__PURE__ */ jsx20("silkscreentext", { text: "PWR", fontSize: "0.8mm", pcbX: -9.8, pcbY: 27.4 }),
+ /* @__PURE__ */ jsx20("silkscreentext", { text: "RUN", fontSize: "0.8mm", pcbX: 2, pcbY: -10.5 }),
+ /* @__PURE__ */ jsx20("silkscreentext", { text: "PWR", fontSize: "0.8mm", pcbX: -5.5, pcbY: 15 }),
/* @__PURE__ */ jsx20("silkscreentext", { text: "USB-C", fontSize: "0.9mm", pcbX: 0, pcbY: 25 })
] }));
};