techmannih/ujh
This code defines an electronic microcontroller module (MSPM0G3507SPMR) with a 64-pin LQFP package, including detailed pin mappings, power supply and oscillator components, decoupling capacitors, and programming headers.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
dist/index.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
const pinLabels = {
pin1: "VCCA",
pin2: "A1",
pin3: "A2",
pin4: "A3",
pin5: "A4",
pin6: "NC1",
pin7: "GND",
pin8: "OE",
pin9: "NC2",
pin10: "B4",
pin11: "B3",
pin12: "B2",
pin13: "B1",
pin14: "VCCB",
pin15: "EP",
};
const TXB0104 = (props) => (jsxRuntime.jsx("chip", { ...props, footprint: "tssop14", pinLabels: pinLabels, pinAttributes: {
A1: {
requiresPower: true,
},
A2: {
requiresPower: true,
},
A3: {
requiresPower: true,
},
A4: {
requiresPower: true,
},
B1: {
requiresPower: true,
},
B2: {
requiresPower: true,
},
B3: {
requiresPower: true,
},
B4: {
requiresPower: true,
},
GND: {
requiresGround: true,
},
OE: {
mustBeConnected: true,
},
}, schPinArrangement: {
topSide: {
direction: "left-to-right",
pins: ["VCCA", "VCCB"],
},
leftSide: {
direction: "top-to-bottom",
pins: ["OE", "A1", "A2", "A3", "A4"],
},
rightSide: {
direction: "top-to-bottom",
pins: ["B1", "B2", "B3", "B4"],
},
bottomSide: {
direction: "left-to-right",
pins: ["GND"],
},
}, schPinStyle: {
VCCA: {
marginRight: 0.5,
},
VCCB: {
marginLeft: 0.5,
},
OE: {
marginBottom: 0.7,
},
A1: {
marginTop: 0.15,
},
B1: {
marginTop: 1,
},
}, schWidth: 2, schHeight: 3, supplierPartNumbers: {
jlcpcb: ["C400708"],
}, manufacturerPartNumber: "TXB0104RGYR", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.75006mm", pcbY: "-0.750062mm", width: "0.7999984mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.998474mm", pcbY: "-1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.498348mm", pcbY: "-1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "0.001524mm", pcbY: "-1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "0.50165mm", pcbY: "-1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "1.001522mm", pcbY: "-1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "1.75006mm", pcbY: "-0.750062mm", width: "0.7999984mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "1.75006mm", pcbY: "0.750062mm", width: "0.7999984mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "0.999998mm", pcbY: "1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "0.500126mm", pcbY: "1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "0mm", pcbY: "1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "-0.499872mm", pcbY: "1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "-0.999998mm", pcbY: "1.75006mm", width: "0.2800096mm", height: "0.7999984mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "-1.75006mm", pcbY: "0.750062mm", width: "0.7999984mm", height: "0.2800096mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "0mm", pcbY: "0mm", width: "2.0500086mm", height: "2.0500086mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 1.7500092000000222, y: 1.7500092000000222 },
{ x: 1.3711428000000296, y: 1.7500092000000222 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.3711428000001433, y: 1.7500092000000222 },
{ x: -1.7500092000000222, y: 1.7500092000000222 },
{ x: -1.7500092000000222, y: 1.1211560000000418 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.7500092000000222, y: 0.3788663999998789 },
{ x: -1.7500092000000222, y: -0.3768089999998665 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.7500092000000222, y: -1.1190986000000294 },
{ x: -1.7500092000000222, y: -1.7500091999999086 },
{ x: -1.7500600000000759, y: -1.7500599999999622 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.7500600000000759, y: -1.7500599999999622 },
{ x: -1.3696187999998983, y: -1.7500599999999622 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 1.3726667999999336, y: -1.7500599999999622 },
{ x: 1.749958399999855, y: -1.7500599999999622 },
{ x: 1.7500092000000222, y: -1.7500091999999086 },
{ x: 1.7500092000000222, y: -1.121130600000015 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 1.7500092000000222, y: -0.3788409999999658 },
{ x: 1.7500092000000222, y: 0.3788663999998789 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 1.7500092000000222, y: 1.1211560000000418 },
{ x: 1.7500092000000222, y: 1.7500092000000222 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.99999600000001, y: -1.2999719999999115 },
{ x: -2.0034060070083797, y: -1.3258735747575656 },
{ x: -2.0134036416909566, y: -1.3500099999998838 },
{ x: -2.0293075817660338, y: -1.370736418233946 },
{ x: -2.0500339999999824, y: -1.3866403583090232 },
{ x: -2.0741704252423006, y: -1.3966379929916002 },
{ x: -2.1000719999999546, y: -1.400047999999856 },
{ x: -2.125973574757836, y: -1.3966379929916002 },
{ x: -2.1501100000000406, y: -1.3866403583090232 },
{ x: -2.170836418233989, y: -1.370736418233946 },
{ x: -2.1867403583090663, y: -1.3500099999998838 },
{ x: -2.196737992991757, y: -1.3258735747575656 },
{ x: -2.200147999999899, y: -1.2999719999999115 },
{ x: -2.196737992991757, y: -1.2740704252422574 },
{ x: -2.1867403583090663, y: -1.2499339999999393 },
{ x: -2.170836418233989, y: -1.229207581765877 },
{ x: -2.1501100000000406, y: -1.2133036416907999 },
{ x: -2.125973574757836, y: -1.2033060070082229 },
{ x: -2.1000719999999546, y: -1.199895999999967 },
{ x: -2.0741704252423006, y: -1.2033060070082229 },
{ x: -2.0500339999999824, y: -1.2133036416907999 },
{ x: -2.0293075817660338, y: -1.229207581765877 },
{ x: -2.0134036416909566, y: -1.2499339999999393 },
{ x: -2.0034060070083797, y: -1.2740704252422574 },
{ x: -1.99999600000001, y: -1.2999719999999115 },
] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1524mm", pcbY: "3.159mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [
{ x: -2.6884000000000015, y: 2.408999999999992 },
{ x: 2.3836000000000013, y: 2.408999999999992 },
{ x: 2.3836000000000013, y: -2.3836000000000013 },
{ x: -2.6884000000000015, y: -2.3836000000000013 },
{ x: -2.6884000000000015, y: 2.408999999999992 },
] })] }), cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C400708.obj?uuid=cc9a7c4d6c3844ba9e2ed6c3b0f8d939",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C400708.step?uuid=cc9a7c4d6c3844ba9e2ed6c3b0f8d939",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.02 },
}, ...props }));
const pinLabelschip1 = {
pin1: "1_8V",
pin2: "NC1",
pin3: "GND",
pin4: "OE",
pin5: "NC2",
pin6: "B4",
pin7: "B3",
pin8: "B2",
pin9: "B1",
};
const pinLabelschip2 = {
pin1: "3V",
pin2: "NC1",
pin3: "GND",
pin5: "NC2",
pin6: "A4",
pin7: "A3",
pin8: "A2",
pin9: "A1",
};
var index = () => (jsxRuntime.jsxs("subcircuit", { children: [jsxRuntime.jsx(TXB0104, { name: "U1", schX: 0, schY: 0, pcbX: 0, pcbY: 0, connections: {
pin7: "net.GND",
pin1: "U2.pin1",
pin14: "U3.pin1",
pin8: "R1.pin2",
pin2: "U2.pin9",
pin3: "U2.pin8",
pin4: "U2.pin7",
pin5: "U2.pin6",
pin13: "U3.pin9",
pin12: "U3.pin8",
pin11: "U3.pin7",
pin10: "U3.pin6",
} }), jsxRuntime.jsx("chip", { name: "U2", footprint: "tssop14", manufacturerPartNumber: "System Controller", pinLabels: pinLabelschip1, pinAttributes: {
B1: {
requiresPower: true,
},
B2: {
requiresPower: true,
},
B3: {
requiresPower: true,
},
B4: {
requiresPower: true,
},
VCCB: {
requiresPower: true,
},
GND: {
requiresGround: true,
},
OE: {
mustBeConnected: true,
},
}, schPinArrangement: {
topSide: {
direction: "left-to-right",
pins: ["1_8V"],
},
rightSide: {
direction: "top-to-bottom",
pins: ["OE", "B1", "B2", "B3", "B4"],
},
bottomSide: {
direction: "left-to-right",
pins: ["GND"],
},
}, schPinStyle: {
OE: {
marginBottom: 0.63,
},
B1: {
marginTop: 0.21,
},
}, schWidth: 2, schHeight: 3, schX: -4, schY: 0, pcbX: -4, pcbY: 0, connections: { pin3: "net.GND", pin1: "C2.pin1" } }), jsxRuntime.jsx("chip", { name: "U3", footprint: "tssop14", manufacturerPartNumber: "System", pinLabels: pinLabelschip2, pinAttributes: {
A1: {
requiresPower: true,
},
A2: {
requiresPower: true,
},
A3: {
requiresPower: true,
},
A4: {
requiresPower: true,
},
VCCB: {
requiresPower: true,
},
GND: {
requiresGround: true,
},
}, schPinArrangement: {
topSide: {
direction: "left-to-right",
pins: ["3V"],
},
leftSide: {
direction: "top-to-bottom",
pins: ["A1", "A2", "A3", "A4"],
},
bottomSide: {
direction: "left-to-right",
pins: ["GND"],
},
}, schPinStyle: {
A4: {
marginBottom: -1,
},
}, schWidth: 2, schHeight: 3, schX: 4, schY: 0, pcbX: 4, pcbY: 0, connections: { pin3: "net.GND", pin1: "C1.pin1" } }), jsxRuntime.jsx("capacitor", { name: "C1", capacitance: "0.1uF", footprint: "0402", schOrientation: "vertical", schX: 6, schY: 1.5, pcbX: 11, pcbY: 2, connections: { pin2: "net.GND", pin1: "net.V3_3" } }), jsxRuntime.jsx("capacitor", { name: "C2", capacitance: "0.1uF", footprint: "0402", schOrientation: "vertical", schX: -6, schY: 1.5, pcbX: 7, pcbY: -9, connections: { pin2: "net.GND", pin1: "net.V1_8" } }), jsxRuntime.jsx("resistor", { name: "R1", resistance: "47k", footprint: "0402", schRotation: 90, schX: -1.8, schY: 0.5, pcbX: 11, pcbY: 5, connections: { pin1: "net.GND", pin2: "U2.pin4" } })] }));
module.exports = index;