mohan-bee/rp2040-crystal
This design features a 12MHz crystal oscillator with two 18pF load capacitors connected to its XIN and XOUT pins, mounted on a PCB with associated grounding traces.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
dist/index.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
function CrystalOscillator() {
return (jsxRuntime.jsxs("board", { width: "20mm", height: "15mm", routingDisabled: true, schAutoLayoutEnabled: true, children: [jsxRuntime.jsx("crystal", { name: "Y1", frequency: "12MHz", loadCapacitance: "12pF", pinVariant: "four_pin", doNotPlace: true, pcbX: 0, pcbY: 2 }), jsxRuntime.jsx("capacitor", { name: "C_XIN", capacitance: "18pF", doNotPlace: true, pcbX: -3, pcbY: -2 }), jsxRuntime.jsx("capacitor", { name: "C_XOUT", capacitance: "18pF", doNotPlace: true, pcbX: 3, pcbY: -2 }), jsxRuntime.jsx("trace", { name: "Y1_XIN", from: ".Y1 > .pin1", to: "net.XIN" }), jsxRuntime.jsx("trace", { name: "Y1_GND_1", from: ".Y1 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "Y1_XOUT", from: ".Y1 > .pin3", to: "net.XOUT" }), jsxRuntime.jsx("trace", { name: "Y1_GND_2", from: ".Y1 > .pin4", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "C_XIN_SIGNAL", from: ".C_XIN > .pin1", to: "net.XIN" }), jsxRuntime.jsx("trace", { name: "C_XIN_GND", from: ".C_XIN > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "C_XOUT_SIGNAL", from: ".C_XOUT > .pin1", to: "net.XOUT" }), jsxRuntime.jsx("trace", { name: "C_XOUT_GND", from: ".C_XOUT > .pin2", to: "net.GND" })] }));
}
module.exports = CrystalOscillator;