ShiboSoftwareDev/am69-cm5
A 55×40 mm 10-layer CM5 carrier board integrating an AM69A98 SoC, 8‑GiB LPDDR4, 32‑GB eMMC, CM5 connectors, clocking, extensive decoupling/EMI filtering, and HDI DDR/ground escape routing.
- Version
- 0.0.7-engineering-draft-20261107-manual-ddr0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone ShiboSoftwareDev/am69-cm5 # download the package files into ./am69-cm5
tsci add ShiboSoftwareDev/am69-cm5 # add it to your project as @tsci/ShiboSoftwareDev.am69-cm5In 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.
components/shared/power/TPS25947.tsx
import geometry from "./footprints/TPS25947RPW10.json"
import {NativePolygonMaskExpansion} from './footprints/NativePolygonMaskExpansion'
export const tps259474Pins = {
pin1: "EN_UVLO", pin2: "OVLO", pin3: "PG", pin4: "PGTH", pin5: "IN",
pin6: "OUT", pin7: "DVDT", pin8: "GND", pin9: "ILM", pin10: "ITIMER",
} as const
/** TI RPW0010A has L-shaped signal lands and two long power lands, not QFN10. */
export function TPS25947Footprint() {
// Normalize the four straight lands to TI4225183/A numerical dimensions.
// The Altium polygon extraction rounds their0.25mm width to0.24977mm.
const straight:Record<string,{x:number;y:number}>={
'2':{x:-.9,y:.225},'3':{x:-.9,y:-.225},
'8':{x:.9,y:-.225},'9':{x:.9,y:.225},
}
return <footprint>
{geometry.pads.map(pad => straight[pad.pin]?<smtpad key={pad.pin} shape="rect"
portHints={[`pin${pad.pin}`,pad.pin]} pcbX={straight[pad.pin].x} pcbY={straight[pad.pin].y}
width={.6} height={.25} rectBorderRadius={.05} solderMaskMargin={.05} solderPasteMargin={0} />:<smtpad key={pad.pin} shape="polygon" points={pad.points}
portHints={[`pin${pad.pin}`, pad.pin]} solderMaskMargin={0}
noSolderPaste={["5", "6"].includes(pad.pin)}
solderPasteMargin={["1", "4", "7", "10"].includes(pad.pin) ? -0.008 : 0} />)}
{geometry.pads.filter(pad=>!straight[pad.pin]).map(pad=><NativePolygonMaskExpansion
key={`mask${pad.pin}`} points={pad.points} margin={.05} />)}
{/* The native port resolver uses a polygon's bounding-box centre, which
lies outside each concave L-shaped signal land. These fully contained
copper primitives bind the same port at a point inside the actual land.
Their union adds no copper, mask or paste to the primary footprint. */}
{[[1,-.68,1],[4,-.68,-1],[7,.68,-1],[10,.68,1]].map(([pin,x,y])=><smtpad
key={`anchor${pin}`} portHints={[`pin${pin}`,String(pin)]} shape="rect"
pcbX={x} pcbY={y} width={.1} height={.2}
noSolderPaste coveredWithSolderMask />)}
{[-0.25, 0.25].flatMap(x => [-0.67, 0.67].map(y => <solderpaste
key={`${x}_${y}`} shape="rect" pcbX={x} pcbY={y} width={0.28} height={1.06} />))}
<courtyardrect width={2.9} height={2.9} strokeWidth={0.05} />
</footprint>
}
export function TPS259474L({ name, connections, ...placement }: {
name: string
connections: Record<string, string>
pcbX?: number; pcbY?: number; pcbRotation?: number; layer?: "top" | "bottom"
schX?: number; schY?: number; schRotation?: number
}) {
return <chip name={name} manufacturerPartNumber="TPS259474LRPWR"
pinLabels={tps259474Pins} pinAttributes={{
pin1: { isInput: true }, pin2: { isInput: true }, pin3: { isOutput: true },
pin4: { isInput: true }, pin5: { requiresPower: true }, pin6: { isOutput: true },
pin7: { isPassive: true }, pin8: { requiresGround: true }, pin9: { isPassive: true }, pin10: { isPassive: true },
}} schPinArrangement={{ leftSide: ["IN", "EN_UVLO", "OVLO"],
rightSide: ["OUT", "PG", "PGTH"], bottomSide: ["DVDT", "ILM", "ITIMER", "GND"] }}
schWidth={5} schHeight={5} footprint={<TPS25947Footprint />}
{...placement} connections={connections} />
}