aj0070/bldc-driver

A 3‑phase BLDC motor controller PCB featuring an STM32G431 MCU, DRV8323 gate driver, six N‑MOSFET power stage, shunt current sensing, 3.3‑V regulator, protection, headers, and status LED.

Version
1.0.0
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone aj0070/bldc-driver  # download the package files into ./bldc-driver
tsci add aj0070/bldc-driver    # add it to your project as @tsci/aj0070.bldc-driver

In 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.

dist/index.cjs

'use strict';

var jsxRuntime = require('react/jsx-runtime');

const pinLabels$5 = {
    pin1: ["CPL"],
    pin2: ["CPH"],
    pin3: ["VCP"],
    pin4: ["VM"],
    pin5: ["VDRAIN"],
    pin6: ["GHA"],
    pin7: ["SHA"],
    pin8: ["GLA"],
    pin9: ["SPA"],
    pin10: ["SNA"],
    pin11: ["SNB"],
    pin12: ["SPB"],
    pin13: ["GLB"],
    pin14: ["SHB"],
    pin15: ["GHB"],
    pin16: ["GHC"],
    pin17: ["SHC"],
    pin18: ["GLC"],
    pin19: ["SPC"],
    pin20: ["SNC"],
    pin21: ["SOC"],
    pin22: ["SOB"],
    pin23: ["SOA"],
    pin24: ["VREF"],
    pin25: ["nFAULT"],
    pin26: ["MODE"],
    pin27: ["IDRIVE"],
    pin28: ["VDS"],
    pin29: ["GAIN"],
    pin30: ["ENABLE"],
    pin31: ["CAL"],
    pin32: ["AGND"],
    pin33: ["DVDD"],
    pin34: ["INHA"],
    pin35: ["INLA"],
    pin36: ["INHB"],
    pin37: ["INLB"],
    pin38: ["INHC"],
    pin39: ["INLC"],
    pin40: ["PGND"],
    pin41: ["EP"]
};
const pinAttributes$2 = {
    pin32: { requiresGround: true },
    pin40: { requiresGround: true }
};
const footprinterPinLabels$1 = {
    ...pinLabels$5,
    "pin41": [...pinLabels$5["pin41"], "thermalpad"],
};
const DRV8323HRTAR = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: footprinterPinLabels$1, pinAttributes: pinAttributes$2, supplierPartNumbers: {
            "jlcpcb": [
                "C701783"
            ]
        }, manufacturerPartNumber: "DRV8323HRTAR", footprint: "qfn40_thermalpad4.5mmx4.5mm_h6.8mm_pl0.7mm_pin1location(bottomside,left)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C701783.obj?uuid=ab4e73ac40ec480c89b4e1b10281a8c0",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C701783.step?uuid=ab4e73ac40ec480c89b4e1b10281a8c0",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -8889999992334197e-20, y: -889000000370288e-19, z: 0.01 },
        }, ...props }));
};

const pinLabels$4 = {
    pin1: ["S3"],
    pin2: ["S2"],
    pin3: ["S1"],
    pin4: ["G"],
    pin5: ["D4"],
    pin6: ["D3"],
    pin7: ["D2"],
    pin8: ["D1"],
    pin9: ["D5"]
};
const footprinterPinLabels = {
    ...pinLabels$4,
    "pin9": [...pinLabels$4["pin9"], "thermalpad"],
};
const HKTG48N10 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: footprinterPinLabels, supplierPartNumbers: {
            "jlcpcb": [
                "C5364296"
            ]
        }, manufacturerPartNumber: "HKTG48N10", footprint: "dfn8_thermalpad3.8mmx4.6mm_thermalpadcenteroffsetx0.435mm_w6.78mm_pw0.7mm_pl1.2mm_pin1location(leftside,bottom)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5364296.obj?uuid=45bba12ca1f548ce9ed6f1e4b00e7ea7",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5364296.step?uuid=45bba12ca1f548ce9ed6f1e4b00e7ea7",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.00012700000013410317, y: 0.08291830000007394, z: -0.264 },
        }, ...props }));
};

const pinLabels$3 = {
    pin1: ["Positive_Input"],
    pin2: ["Common__Ground"],
    pin3: ["Positive_Output"]
};
const OKI_78SR_3_3_1_5_W36H_C = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$3, supplierPartNumbers: {
            "jlcpcb": [
                "C7321719"
            ]
        }, manufacturerPartNumber: "OKI-78SR-3.3/1.5-W36H-C", footprint: "pinrow3_nosquareplating_od1.8mm_id1.05mm_pin1location(rightside,top)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7321719.obj?uuid=3f156ca7e7564679b5a6996d737da738",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7321719.step?uuid=3f156ca7e7564679b5a6996d737da738",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0.08500109999988581, z: -4.6180086 },
        }, ...props }));
};

const pinLabels$2 = {
    pin1: ["VBAT"],
    pin2: ["PC13"],
    pin3: ["PC14_OSC32_IN"],
    pin4: ["PC15_OSC32_OUT"],
    pin5: ["PF0_OSC_IN"],
    pin6: ["PF1_OSC_OUT"],
    pin7: ["PG10_NRST"],
    pin8: ["PA0"],
    pin9: ["PA1"],
    pin10: ["PA2"],
    pin11: ["PA3"],
    pin12: ["PA4"],
    pin13: ["PA5"],
    pin14: ["PA6"],
    pin15: ["PA7"],
    pin16: ["PB0"],
    pin17: ["PB1"],
    pin18: ["PB2"],
    pin19: ["VSSA"],
    pin20: ["VREF_POS"],
    pin21: ["VDDA"],
    pin22: ["PB10"],
    pin23: ["VSS1"],
    pin24: ["VDD1"],
    pin25: ["PB11"],
    pin26: ["PB12"],
    pin27: ["PB13"],
    pin28: ["PB14"],
    pin29: ["PB15"],
    pin30: ["PA8"],
    pin31: ["PA9"],
    pin32: ["PA10"],
    pin33: ["PA11"],
    pin34: ["PA12"],
    pin35: ["VSS2"],
    pin36: ["VDD2"],
    pin37: ["PA13"],
    pin38: ["PA14"],
    pin39: ["PA15"],
    pin40: ["PB3"],
    pin41: ["PB4"],
    pin42: ["PB5"],
    pin43: ["PB6"],
    pin44: ["PB7"],
    pin45: ["PB8_BOOT0"],
    pin46: ["PB9"],
    pin47: ["VSS3"],
    pin48: ["VDD3"]
};
const pinAttributes$1 = {
    pin21: { isInput: true, capabilities: [], mustBeConnected: true, shouldHaveDecouplingCapacitor: true },
    pin23: { capabilities: [], requiresGround: true, requiresVoltage: 0, mustBeConnected: true },
    pin35: { capabilities: [], requiresGround: true, requiresVoltage: 0, mustBeConnected: true },
    pin47: { capabilities: [], requiresGround: true, requiresVoltage: 0, mustBeConnected: true },
    pin1: { isInput: true, capabilities: [], requiresPower: true, shouldHaveDecouplingCapacitor: true },
    pin2: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin3: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin4: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin5: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "spi_cs"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin6: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_sck"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin7: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin8: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin9: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin10: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["uart_tx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin11: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin12: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_cs"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin13: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_sck"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin14: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_miso"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin15: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_mosi"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin16: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin17: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin18: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin19: { capabilities: [], requiresGround: true, requiresVoltage: 0, mustBeConnected: true },
    pin20: { isInput: true, isOutput: true, capabilities: [], shouldHaveDecouplingCapacitor: true },
    pin22: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin24: { isInput: true, capabilities: [], requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true },
    pin25: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["uart_tx", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin26: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_cs"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin27: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_sck"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin28: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_miso"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin29: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_mosi"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin30: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "i2c_scl"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin31: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_scl", "uart_tx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin32: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_miso", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin33: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_mosi"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin34: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: [], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin36: { isInput: true, capabilities: [], requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true },
    pin37: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_scl"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin38: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "uart_tx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin39: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_scl", "spi_cs", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin40: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_sck", "uart_tx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin41: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["spi_miso", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin42: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "spi_mosi"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin43: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["uart_tx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin44: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin45: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_scl", "uart_rx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin46: { isInput: true, isOutput: true, isBidirectional: true, canUseTriState: true, capabilities: ["i2c_sda", "uart_tx"], canUseInternalPullup: true, canUseInternalPulldown: true, canUseOpenDrain: true, canUsePushPull: true, isGpio: true },
    pin48: { isInput: true, capabilities: [], requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true }
};
const STM32G431CBT6 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes$1, supplierPartNumbers: {
            "jlcpcb": [
                "C529355"
            ]
        }, manufacturerPartNumber: "STM32G431CBT6", footprint: "qfn48_pillpads_h10.2mm_pw0.27mm_pl1.5mm_pin1location(bottomside,left)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C529355.obj?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C529355.step?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: 0.000795 },
        }, ...props }));
};

const pinLabels$1 = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"]
};
const WJ500V_5_08_03P_14_00A = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematicrect", { schX: 0, schY: 0.2, width: 0.8, height: 0.4, strokeWidth: 0.02, color: "#000000" }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "down", schX: -0.2, schY: -0.4, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "down", schX: 0, schY: -0.4, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin3", pinNumber: 3, aliases: ["3"], direction: "down", schX: 0.2, schY: -0.4, schStemLength: 0.4 }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.4, "y": 0.4 }, { "x": -0.4, "y": 0.5 }, { "x": 0.4, "y": 0.5 }, { "x": 0.4, "y": 0.4 }], strokeColor: "#000000" }), jsxRuntime.jsx("schematictext", { schX: 0, schY: 0.7, text: "{NAME}", fontSize: 0.2, anchor: "bottom_center" })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C72334"
            ]
        }, manufacturerPartNumber: "WJ500V-5.08-03P-14-00A", footprint: "pinrow3_nosquareplating_p5.08mm_od2mm_id1.3mm", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C72334.obj?uuid=3ce8efb5088242eb9ba049a12326c3b5",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C72334.step?uuid=3ce8efb5088242eb9ba049a12326c3b5",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.000013299999995108891, y: 0.5160009999999886, z: -9000000000369823e-21 },
        }, ...props }));
};

const pinLabels = {
    pin1: ["anode", "pos"],
    pin2: ["cathode", "neg"]
};
const pinAttributes = {
    pin2: { isPassive: true },
    pin1: { isPassive: true }
};
const KT_0603R = (props) => {
    const { name = "LED1", ...restProps } = props;
    return (jsxRuntime.jsx("led", { name: name, pinLabels: pinLabels, supplierPartNumbers: {
            "jlcpcb": [
                "C2286"
            ]
        }, manufacturerPartNumber: "KT-0603R", pinAttributes: pinAttributes, footprint: "diode_p1.5001mm_pw0.8mm_ph0.8mm_rounded0_cyw2.8001mm_cyh1.3mm_pin1location(rightside,top)_anodepin1", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2286.obj?uuid=0da0275bf7a84667bce8747a921fb9e3",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2286.step?uuid=0da0275bf7a84667bce8747a921fb9e3",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.000050799999826267594, y: -5079999993995443e-20, z: -0.01 },
        }, ...restProps }));
};

const Nfet = ({ name, gate, drain, source, pcbX, pcbY, schX, schY, schSheetName, schSectionName, }) => (jsxRuntime.jsx(HKTG48N10, { name: name, pcbX: pcbX, pcbY: pcbY, schX: schX, schY: schY, schSheetName: schSheetName, schSectionName: schSectionName, pinAttributes: {
        G: { isInput: true },
        D1: { requiresPower: true },
        D2: { requiresPower: true },
        D3: { requiresPower: true },
        D4: { requiresPower: true },
        D5: { requiresPower: true },
        S1: { providesPower: true },
        S2: { providesPower: true },
        S3: { providesPower: true },
    }, connections: {
        G: gate,
        D1: drain,
        D2: drain,
        D3: drain,
        D4: drain,
        D5: drain,
        S1: source,
        S2: source,
        S3: source,
    } }));
var index_circuit = () => (jsxRuntime.jsxs("board", { width: "60mm", height: "45mm", layers: 4, routeRemaining: true, defaultTraceWidth: "0.2mm", minTraceWidth: "0.15mm", children: [jsxRuntime.jsx("net", { name: "VM", isPowerNet: true, nominalTraceWidth: "1.5mm" }), jsxRuntime.jsx("net", { name: "GND", isGroundNet: true, nominalTraceWidth: "1.0mm" }), jsxRuntime.jsx("net", { name: "V3_3", isPowerNet: true, nominalTraceWidth: "0.5mm" }), jsxRuntime.jsx("net", { name: "PHASE_A", nominalTraceWidth: "1.2mm" }), jsxRuntime.jsx("net", { name: "PHASE_B", nominalTraceWidth: "1.2mm" }), jsxRuntime.jsx("net", { name: "PHASE_C", nominalTraceWidth: "1.2mm" }), jsxRuntime.jsx("net", { name: "SHUNT_A_TOP", nominalTraceWidth: "1.0mm" }), jsxRuntime.jsx("net", { name: "SHUNT_B_TOP", nominalTraceWidth: "1.0mm" }), jsxRuntime.jsx("net", { name: "SHUNT_C_TOP", nominalTraceWidth: "1.0mm" }), jsxRuntime.jsx("net", { name: "GA_H" }), jsxRuntime.jsx("net", { name: "GA_L" }), jsxRuntime.jsx("net", { name: "GB_H" }), jsxRuntime.jsx("net", { name: "GB_L" }), jsxRuntime.jsx("net", { name: "GC_H" }), jsxRuntime.jsx("net", { name: "GC_L" }), jsxRuntime.jsx("net", { name: "INHA" }), jsxRuntime.jsx("net", { name: "INLA" }), jsxRuntime.jsx("net", { name: "INHB" }), jsxRuntime.jsx("net", { name: "INLB" }), jsxRuntime.jsx("net", { name: "INHC" }), jsxRuntime.jsx("net", { name: "INLC" }), jsxRuntime.jsx("net", { name: "nFAULT" }), jsxRuntime.jsx("net", { name: "DRV_EN" }), jsxRuntime.jsx("net", { name: "DRV_CAL" }), jsxRuntime.jsx("net", { name: "DRV_MODE" }), jsxRuntime.jsx("net", { name: "DRV_IDRIVE" }), jsxRuntime.jsx("net", { name: "DRV_VDS" }), jsxRuntime.jsx("net", { name: "DRV_GAIN" }), jsxRuntime.jsx("net", { name: "CPL" }), jsxRuntime.jsx("net", { name: "CPH" }), jsxRuntime.jsx("net", { name: "VCP" }), jsxRuntime.jsx("net", { name: "DVDD" }), jsxRuntime.jsx("net", { name: "SPA_F" }), jsxRuntime.jsx("net", { name: "SNA_F" }), jsxRuntime.jsx("net", { name: "SPB_F" }), jsxRuntime.jsx("net", { name: "SNB_F" }), jsxRuntime.jsx("net", { name: "SPC_F" }), jsxRuntime.jsx("net", { name: "SNC_F" }), jsxRuntime.jsx("net", { name: "SOA" }), jsxRuntime.jsx("net", { name: "SOB" }), jsxRuntime.jsx("net", { name: "SOC" }), jsxRuntime.jsx("net", { name: "HALL_A" }), jsxRuntime.jsx("net", { name: "HALL_B" }), jsxRuntime.jsx("net", { name: "HALL_C" }), jsxRuntime.jsx("net", { name: "XIN" }), jsxRuntime.jsx("net", { name: "XOUT" }), jsxRuntime.jsx("net", { name: "NRST" }), jsxRuntime.jsx("net", { name: "SWDIO" }), jsxRuntime.jsx("net", { name: "SWCLK" }), jsxRuntime.jsx("net", { name: "BOOT0" }), jsxRuntime.jsx("net", { name: "VM_SENSE" }), jsxRuntime.jsx("net", { name: "LED_N" }), jsxRuntime.jsx("net", { name: "LED_A" }), jsxRuntime.jsx("schematicsheet", { name: "PWR", displayName: "Power input and 3.3V", sheetIndex: 0 }), jsxRuntime.jsx("schematicsheet", { name: "DRV", displayName: "Gate driver and power stage", sheetIndex: 1 }), jsxRuntime.jsx("schematicsheet", { name: "MCU", displayName: "MCU and clock", sheetIndex: 2 }), jsxRuntime.jsx("schematicsheet", { name: "IO", displayName: "Headers, hall sensors, LED", sheetIndex: 3 }), jsxRuntime.jsx("schematicsection", { name: "PWR_IN", displayName: "Input protection" }), jsxRuntime.jsx("schematicsection", { name: "PWR_3V3", displayName: "3.3V regulator" }), jsxRuntime.jsx("schematicsection", { name: "DRV_CFG", displayName: "Gate driver settings" }), jsxRuntime.jsx("schematicsection", { name: "FETS", displayName: "Three-phase power stage" }), jsxRuntime.jsx("schematicsection", { name: "CSENSE", displayName: "Low-side current sense" }), jsxRuntime.jsx("schematicsection", { name: "MCU_CORE", displayName: "MCU and decoupling" }), jsxRuntime.jsx("schematicsection", { name: "CLOCK", displayName: "8 MHz crystal" }), jsxRuntime.jsx("schematicsection", { name: "CFG", displayName: "Reset, boot, bus sense" }), jsxRuntime.jsx("schematicsection", { name: "STATUS", displayName: "Status LED" }), jsxRuntime.jsx("schematicsection", { name: "HALL", displayName: "Hall sensor header" }), jsxRuntime.jsx("schematicsection", { name: "SWD", displayName: "SWD header" }), jsxRuntime.jsx("connector", { name: "J1", footprint: "pinrow2_nosquareplating_p5.08mm_od2mm_id1.3mm", pinLabels: { pin1: "VM", pin2: "GND" }, schPinArrangement: { topSide: ["VM"], bottomSide: ["GND"] }, pcbX: -25, pcbY: 14, pcbRotation: 90, schX: 1, schY: 16, schSheetName: "PWR", schSectionName: "PWR_IN", connections: { pin1: "net.VM", pin2: "net.GND" }, children: jsxRuntime.jsx("footprint", { insertionDirection: "from_above" }) }), jsxRuntime.jsx("diode", { name: "D1", schRotation: 90, variant: "tvs", footprint: "smb", pcbX: -15.5, pcbY: 20, schX: 5, schY: 16, schSheetName: "PWR", schSectionName: "PWR_IN", connections: { anode: "net.GND", cathode: "net.VM" } }), jsxRuntime.jsx("capacitor", { name: "C1", schRotation: 270, capacitance: "220uF", maxVoltageRating: "35V", polarized: true, footprint: "electrolytic_d8mm_p3.5mm", pcbX: -15.3, pcbY: 6, schX: 9, schY: 16, schSheetName: "PWR", schSectionName: "PWR_IN", connections: { pin1: "net.VM", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C2", schRotation: 270, capacitance: "10uF", maxVoltageRating: "50V", footprint: "1210", pcbX: -9, pcbY: 20, schX: 10.5, schY: 16, schSheetName: "PWR", schSectionName: "PWR_IN", connections: { pin1: "net.VM", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C3", schRotation: 270, capacitance: "100nF", maxVoltageRating: "50V", footprint: "0603", pcbX: -5, pcbY: 20, schX: 12, schY: 16, schSheetName: "PWR", schSectionName: "PWR_IN", connections: { pin1: "net.VM", pin2: "net.GND" } }), jsxRuntime.jsx(OKI_78SR_3_3_1_5_W36H_C, { name: "U3", pcbX: -21, pcbY: -3, pcbRotation: 90, schX: 2, schY: 8, schSheetName: "PWR", schSectionName: "PWR_3V3", pinAttributes: {
                Positive_Input: { requiresPower: true },
                Common__Ground: { requiresGround: true },
                Positive_Output: { providesPower: true },
            }, connections: {
                Positive_Input: "net.VM",
                Common__Ground: "net.GND",
                Positive_Output: "net.V3_3",
            } }), jsxRuntime.jsx("capacitor", { name: "C4", schRotation: 270, capacitance: "10uF", maxVoltageRating: "16V", footprint: "0805", pcbX: -16, pcbY: 0, schX: 6, schY: 8, schSheetName: "PWR", schSectionName: "PWR_3V3", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C5", schRotation: 270, capacitance: "100nF", maxVoltageRating: "16V", footprint: "0603", pcbX: -12.5, pcbY: 0, schX: 7.3, schY: 8, schSheetName: "PWR", schSectionName: "PWR_3V3", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx(DRV8323HRTAR, { name: "U2", pcbX: 0, pcbY: 8, schX: 5, schY: 13, schSheetName: "DRV", schSectionName: "DRV_CFG", pinAttributes: {
                VM: { requiresPower: true },
                VDRAIN: { requiresPower: true },
                AGND: { requiresGround: true },
                PGND: { requiresGround: true },
                EP: { requiresGround: true },
            }, connections: {
                CPL: "net.CPL",
                CPH: "net.CPH",
                VCP: "net.VCP",
                VM: "net.VM",
                VDRAIN: "net.VM",
                GHA: "net.GA_H",
                SHA: "net.PHASE_A",
                GLA: "net.GA_L",
                SPA: "net.SPA_F",
                SNA: "net.SNA_F",
                SPB: "net.SPB_F",
                SNB: "net.SNB_F",
                GLB: "net.GB_L",
                SHB: "net.PHASE_B",
                GHB: "net.GB_H",
                GHC: "net.GC_H",
                SHC: "net.PHASE_C",
                GLC: "net.GC_L",
                SPC: "net.SPC_F",
                SNC: "net.SNC_F",
                SOC: "net.SOC",
                SOB: "net.SOB",
                SOA: "net.SOA",
                VREF: "net.V3_3",
                nFAULT: "net.nFAULT",
                MODE: "net.DRV_MODE",
                IDRIVE: "net.DRV_IDRIVE",
                VDS: "net.DRV_VDS",
                GAIN: "net.DRV_GAIN",
                ENABLE: "net.DRV_EN",
                CAL: "net.DRV_CAL",
                AGND: "net.GND",
                DVDD: "net.DVDD",
                INHA: "net.INHA",
                INLA: "net.INLA",
                INHB: "net.INHB",
                INLB: "net.INLB",
                INHC: "net.INHC",
                INLC: "net.INLC",
                PGND: "net.GND",
                EP: "net.GND",
            } }), jsxRuntime.jsx("capacitor", { name: "C6", capacitance: "1uF", maxVoltageRating: "16V", footprint: "0603", pcbX: -2, pcbY: 13, schX: 1, schY: 17, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.CPL", pin2: "net.CPH" } }), jsxRuntime.jsx("capacitor", { name: "C7", schRotation: 270, capacitance: "1uF", maxVoltageRating: "50V", footprint: "0805", pcbX: 2, pcbY: 13, schX: 1, schY: 13, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.VCP", pin2: "net.VM" } }), jsxRuntime.jsx("capacitor", { name: "C8", schRotation: 270, capacitance: "1uF", maxVoltageRating: "16V", footprint: "0603", pcbX: -5.5, pcbY: 11, schX: 1, schY: 9, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.DVDD", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C9", schRotation: 270, capacitance: "10uF", maxVoltageRating: "50V", footprint: "1210", pcbX: 3.5, pcbY: 20.5, schX: 9, schY: 16.6, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.VM", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C10", schRotation: 270, capacitance: "100nF", maxVoltageRating: "50V", footprint: "0603", pcbRotation: 180, pcbX: 7.5, pcbY: 20.5, schX: 9, schY: 15.2, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.VM", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C11", schRotation: 270, capacitance: "100nF", maxVoltageRating: "16V", footprint: "0402", pcbX: 5, pcbY: 13, schX: 9, schY: 13, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R1", schRotation: 270, resistance: "0", footprint: "0402", pcbX: -9, pcbY: 4.5, schX: 2, schY: 4, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.DRV_MODE", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R2", schRotation: 270, resistance: "47k", footprint: "0402", pcbX: -9, pcbY: 6, schX: 4, schY: 4, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.DRV_IDRIVE", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R3", schRotation: 270, resistance: "47k", footprint: "0402", pcbX: -9, pcbY: 7.5, schX: 6, schY: 4, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.DRV_VDS", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R4", schRotation: 270, resistance: "10k", footprint: "0402", pcbX: -9, pcbY: 9, schX: 8, schY: 4, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.DRV_GAIN", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R5", schRotation: 270, resistance: "10k", footprint: "0402", pcbX: -6.5, pcbY: 4.5, schX: 10, schY: 4, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.DRV_CAL", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R6", schRotation: 270, resistance: "100k", footprint: "0402", pcbX: -6.5, pcbY: 6, schX: 12, schY: 4, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.DRV_EN", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R7", schRotation: 90, resistance: "10k", footprint: "0402", pcbRotation: 180, pcbX: -6.5, pcbY: 7.5, schX: 14, schY: 4, schSheetName: "DRV", schSectionName: "DRV_CFG", connections: { pin1: "net.nFAULT", pin2: "net.V3_3" } }), jsxRuntime.jsx(Nfet, { name: "Q1", gate: "net.GA_H", drain: "net.VM", source: "net.PHASE_A", pcbX: 10, pcbY: 15, schX: 18, schY: 16, schSheetName: "DRV", schSectionName: "FETS" }), jsxRuntime.jsx(Nfet, { name: "Q2", gate: "net.GB_H", drain: "net.VM", source: "net.PHASE_B", pcbX: 17.5, pcbY: 15, schX: 22, schY: 16, schSheetName: "DRV", schSectionName: "FETS" }), jsxRuntime.jsx(Nfet, { name: "Q3", gate: "net.GC_H", drain: "net.VM", source: "net.PHASE_C", pcbX: 25, pcbY: 15, schX: 26, schY: 16, schSheetName: "DRV", schSectionName: "FETS" }), jsxRuntime.jsx(Nfet, { name: "Q4", gate: "net.GA_L", drain: "net.PHASE_A", source: "net.SHUNT_A_TOP", pcbX: 10, pcbY: 5, schX: 18, schY: 11, schSheetName: "DRV", schSectionName: "FETS" }), jsxRuntime.jsx(Nfet, { name: "Q5", gate: "net.GB_L", drain: "net.PHASE_B", source: "net.SHUNT_B_TOP", pcbX: 17.5, pcbY: 5, schX: 22, schY: 11, schSheetName: "DRV", schSectionName: "FETS" }), jsxRuntime.jsx(Nfet, { name: "Q6", gate: "net.GC_L", drain: "net.PHASE_C", source: "net.SHUNT_C_TOP", pcbX: 25, pcbY: 5, schX: 26, schY: 11, schSheetName: "DRV", schSectionName: "FETS" }), jsxRuntime.jsx("resistor", { name: "R8", schRotation: 270, resistance: "1m", footprint: "2512", pcbX: 10, pcbY: -3, pcbRotation: 90, schX: 18, schY: 6, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SHUNT_A_TOP", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R9", schRotation: 270, resistance: "1m", footprint: "2512", pcbX: 17.5, pcbY: -3, pcbRotation: 90, schX: 22, schY: 6, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SHUNT_B_TOP", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R10", schRotation: 270, resistance: "1m", footprint: "2512", pcbX: 25, pcbY: -3, pcbRotation: 90, schX: 26, schY: 6, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SHUNT_C_TOP", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R11", resistance: "10", footprint: "0402", schRotation: 270, pcbX: 8.5, pcbY: -9, schX: 16, schY: 3, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SHUNT_A_TOP", pin2: "net.SPA_F" } }), jsxRuntime.jsx("resistor", { name: "R12", schRotation: 90, resistance: "10", footprint: "0402", pcbRotation: 180, pcbX: 11.5, pcbY: -9, schX: 18, schY: 3, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.GND", pin2: "net.SNA_F" } }), jsxRuntime.jsx("resistor", { name: "R13", resistance: "10", footprint: "0402", schRotation: 270, pcbX: 16, pcbY: -9, schX: 21, schY: 3, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SHUNT_B_TOP", pin2: "net.SPB_F" } }), jsxRuntime.jsx("resistor", { name: "R14", schRotation: 90, resistance: "10", footprint: "0402", pcbX: 19, pcbY: -9, schX: 23, schY: 3, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.GND", pin2: "net.SNB_F" } }), jsxRuntime.jsx("resistor", { name: "R15", resistance: "10", footprint: "0402", schRotation: 270, pcbX: 23.5, pcbY: -9, schX: 26, schY: 3, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SHUNT_C_TOP", pin2: "net.SPC_F" } }), jsxRuntime.jsx("resistor", { name: "R16", schRotation: 90, resistance: "10", footprint: "0402", pcbX: 26.5, pcbY: -9, schX: 28, schY: 3, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.GND", pin2: "net.SNC_F" } }), jsxRuntime.jsx("capacitor", { name: "C12", schOrientation: "vertical", capacitance: "100nF", footprint: "0603", pcbX: 10, pcbY: -11, schX: 17, schY: 1, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SPA_F", pin2: "net.SNA_F" } }), jsxRuntime.jsx("capacitor", { name: "C13", schOrientation: "vertical", capacitance: "100nF", footprint: "0603", pcbX: 17.5, pcbY: -11, schX: 22, schY: 1, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SPB_F", pin2: "net.SNB_F" } }), jsxRuntime.jsx("capacitor", { name: "C14", schOrientation: "vertical", capacitance: "100nF", footprint: "0603", pcbX: 25, pcbY: -11, schX: 27, schY: 1, schSheetName: "DRV", schSectionName: "CSENSE", connections: { pin1: "net.SPC_F", pin2: "net.SNC_F" } }), jsxRuntime.jsx(STM32G431CBT6, { name: "U1", footprint: "lqfp48_w7_h7_p0.5mm", pcbX: -8, pcbY: -6, schX: 10, schY: 10, schSheetName: "MCU", schSectionName: "MCU_CORE", noConnect: [
                "PC14_OSC32_IN",
                "PC15_OSC32_OUT",
                "PB2",
                "PA7",
                "PB10",
                "PB11",
                "PA11",
                "PA12",
                "PA15",
                "PB3",
                "PB4",
                "PB5",
                "PB6",
                "PB7",
                "PB9",
            ], connections: {
                VBAT: "net.V3_3",
                PC13: "net.LED_N",
                PF0_OSC_IN: "net.XIN",
                PF1_OSC_OUT: "net.XOUT",
                PG10_NRST: "net.NRST",
                PA0: "net.HALL_A",
                PA1: "net.HALL_B",
                PA2: "net.HALL_C",
                PA3: "net.VM_SENSE",
                PA4: "net.SOA",
                PA5: "net.SOB",
                PA6: "net.SOC",
                PB0: "net.DRV_EN",
                PB1: "net.DRV_CAL",
                VSSA: "net.GND",
                VREF_POS: "net.V3_3",
                VDDA: "net.V3_3",
                VSS1: "net.GND",
                VDD1: "net.V3_3",
                PB12: "net.nFAULT",
                PB13: "net.INLA",
                PB14: "net.INLB",
                PB15: "net.INLC",
                PA8: "net.INHA",
                PA9: "net.INHB",
                PA10: "net.INHC",
                VSS2: "net.GND",
                VDD2: "net.V3_3",
                PA13: "net.SWDIO",
                PA14: "net.SWCLK",
                PB8_BOOT0: "net.BOOT0",
                VSS3: "net.GND",
                VDD3: "net.V3_3",
            } }), jsxRuntime.jsx("crystal", { name: "Y1", frequency: "8MHz", loadCapacitance: "12pF", pinVariant: "four_pin", footprint: "crystal4_px3.2mm_py2.5mm", pcbRotation: 180, pcbX: -16.5, pcbY: -7, schX: 3, schY: 8, schSheetName: "MCU", schSectionName: "CLOCK", connections: { pin1: "net.XIN", pin3: "net.XOUT", pin2: "net.GND", pin4: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C15", schRotation: 270, capacitance: "18pF", footprint: "0402", pcbRotation: 180, pcbX: -15.5, pcbY: -2.5, schX: 1, schY: 5, schSheetName: "MCU", schSectionName: "CLOCK", connections: { pin1: "net.XIN", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C16", schRotation: 270, capacitance: "18pF", footprint: "0402", pcbRotation: 180, pcbX: -21, pcbY: -8.5, schX: 5, schY: 5, schSheetName: "MCU", schSectionName: "CLOCK", connections: { pin1: "net.XOUT", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C17", schRotation: 270, capacitance: "100nF", footprint: "0402", pcbX: -8, pcbY: 2, schX: 4, schY: 15, schSheetName: "MCU", schSectionName: "MCU_CORE", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C18", schRotation: 270, capacitance: "100nF", footprint: "0402", pcbX: -6, pcbY: 2, schX: 5.5, schY: 15, schSheetName: "MCU", schSectionName: "MCU_CORE", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C19", schRotation: 270, capacitance: "100nF", footprint: "0402", pcbX: -4, pcbY: 2, schX: 7, schY: 15, schSheetName: "MCU", schSectionName: "MCU_CORE", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C20", schRotation: 270, capacitance: "100nF", footprint: "0402", pcbRotation: 180, pcbX: -2, pcbY: 2, schX: 8.5, schY: 15, schSheetName: "MCU", schSectionName: "MCU_CORE", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C21", schRotation: 270, capacitance: "1uF", footprint: "0603", pcbX: 0.8, pcbY: 2, schX: 10, schY: 15, schSheetName: "MCU", schSectionName: "MCU_CORE", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C22", schRotation: 270, capacitance: "100nF", footprint: "0402", pcbRotation: 180, pcbX: 3.5, pcbY: 2, schX: 11.5, schY: 15, schSheetName: "MCU", schSectionName: "MCU_CORE", connections: { pin1: "net.V3_3", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R17", schRotation: 90, resistance: "10k", footprint: "0402", pcbX: -20, pcbY: -16, schX: 8, schY: 4, schSheetName: "MCU", schSectionName: "CFG", connections: { pin1: "net.NRST", pin2: "net.V3_3" } }), jsxRuntime.jsx("capacitor", { name: "C23", schRotation: 270, capacitance: "100nF", footprint: "0402", pcbX: -22, pcbY: -15, schX: 10, schY: 4, schSheetName: "MCU", schSectionName: "CFG", connections: { pin1: "net.NRST", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R18", schRotation: 270, resistance: "10k", footprint: "0402", pcbRotation: 180, pcbX: -17, pcbY: -14.5, schX: 18, schY: 8, schSheetName: "MCU", schSectionName: "CFG", connections: { pin1: "net.BOOT0", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R19", resistance: "100k", footprint: "0402", pcbX: 0, pcbY: -3, schX: 20, schY: 12, schSheetName: "MCU", schSectionName: "CFG", connections: { pin1: "net.VM", pin2: "net.VM_SENSE" } }), jsxRuntime.jsx("resistor", { name: "R20", schRotation: 270, resistance: "10k", footprint: "0402", pcbX: 0, pcbY: -5.5, schX: 22, schY: 10, schSheetName: "MCU", schSectionName: "CFG", connections: { pin1: "net.VM_SENSE", pin2: "net.GND" } }), jsxRuntime.jsx("capacitor", { name: "C24", schRotation: 270, capacitance: "100nF", footprint: "0402", pcbX: 2, pcbY: -5.5, schX: 20, schY: 8, schSheetName: "MCU", schSectionName: "CFG", connections: { pin1: "net.VM_SENSE", pin2: "net.GND" } }), jsxRuntime.jsx("resistor", { name: "R21", resistance: "1k", footprint: "0603", schRotation: 270, pcbX: -4, pcbY: -13.5, schX: 23, schY: 6, schSheetName: "MCU", schSectionName: "STATUS", connections: { pin1: "net.LED_N", pin2: "net.LED_A" } }), jsxRuntime.jsx(KT_0603R, { name: "LED1", schRotation: 270, pcbX: -0.8, pcbY: -13.5, schX: 23, schY: 4, schSheetName: "MCU", schSectionName: "STATUS", connections: { anode: "net.LED_A", cathode: "net.GND" } }), jsxRuntime.jsx("pinheader", { name: "J2", pinCount: 5, pitch: "2.54mm", footprint: "pinrow5_p2.54mm", showSilkscreenPinLabels: false, schWidth: 0.77, pinLabels: ["V3_3", "GND", "HALL_A", "HALL_B", "HALL_C"], pcbX: -8, pcbY: -20, schX: 4, schY: 14, schSheetName: "IO", schSectionName: "HALL", connections: {
                V3_3: "net.V3_3",
                GND: "net.GND",
                HALL_A: "net.HALL_A",
                HALL_B: "net.HALL_B",
                HALL_C: "net.HALL_C",
            } }), jsxRuntime.jsx("resistor", { name: "R22", schRotation: 90, resistance: "10k", footprint: "0402", pcbX: -3, pcbY: -17, schX: 2, schY: 8, schSheetName: "IO", schSectionName: "HALL", connections: { pin1: "net.HALL_A", pin2: "net.V3_3" } }), jsxRuntime.jsx("resistor", { name: "R23", schRotation: 90, resistance: "10k", footprint: "0402", pcbX: -1, pcbY: -17, schX: 4, schY: 8, schSheetName: "IO", schSectionName: "HALL", connections: { pin1: "net.HALL_B", pin2: "net.V3_3" } }), jsxRuntime.jsx("resistor", { name: "R24", schRotation: 90, resistance: "10k", footprint: "0402", pcbX: 1, pcbY: -17, schX: 6, schY: 8, schSheetName: "IO", schSectionName: "HALL", connections: { pin1: "net.HALL_C", pin2: "net.V3_3" } }), jsxRuntime.jsx("pinheader", { name: "J3", pinCount: 5, pitch: "2.54mm", footprint: "pinrow5_p2.54mm", showSilkscreenPinLabels: false, schWidth: 0.675, pinLabels: ["V3_3", "SWDIO", "SWCLK", "GND", "NRST"], pcbX: -25, pcbY: -4, pcbRotation: 90, schX: 12, schY: 14, schSheetName: "IO", schSectionName: "SWD", connections: {
                V3_3: "net.V3_3",
                SWDIO: "net.SWDIO",
                SWCLK: "net.SWCLK",
                GND: "net.GND",
                NRST: "net.NRST",
            } }), jsxRuntime.jsx(WJ500V_5_08_03P_14_00A, { name: "J4", pcbX: 20, pcbY: -17.5, pcbRotation: 0, schX: 20, schY: 14, schSheetName: "IO", schSectionName: "HALL", pinAttributes: {
                pin1: { requiresPower: true },
                pin2: { requiresPower: true },
                pin3: { requiresPower: true },
            }, connections: { pin1: "net.PHASE_A", pin2: "net.PHASE_B", pin3: "net.PHASE_C" } }), jsxRuntime.jsx("copperpour", { connectsTo: "net.GND", layer: "inner1", clearance: "0.2mm" }), jsxRuntime.jsx("copperpour", { connectsTo: "net.VM", layer: "inner2", clearance: "0.2mm" })] }));

module.exports = index_circuit;