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-stages/ReferencePowerStages.tsx
import {feedthroughManufacturerPart,feedthroughInternalConnections} from "../core/support-footprints/FeedthroughParts"
import data from "./ReferencePower.data.json"
import { TPS62873 } from "./TPS62873"
import { TPS6594133A } from "./TPS6594133A"
import { XEL4030Footprint } from "./XEL4030Footprint"
import { TFM252012ALMFootprint } from "./TFM252012ALMFootprint"
import { RE1J002YN } from "./RE1J002YN"
import { NFM15HC105Footprint, NFM18HC106Footprint } from "../core/support-footprints/FeedthroughFilters"
export const referencePowerParts = data.parts
export const referencePowerDeferredParts = data.parts.filter(part =>
part.fittedInSourceBom && ["ECS34Q", "unsupported", "testpoint"].includes(part.kind),
)
export type ReferencePowerPlacement = {
pcbX?: number
pcbY?: number
pcbRotation?: number
layer?: "top" | "bottom"
schX?: number
schY?: number
schRotation?: number
schSectionName?: string
}
export type ReferencePowerStagesProps = {
placements?: Partial<Record<string, ReferencePowerPlacement>>
references?: readonly string[]
includeDni?: boolean
referencePrefix?: string
/** Explicit net changes. Defaults retain the source 3.3 V input architecture. */
netOverrides?: Record<string, string>
}
/**
* Sourced PROC154E3 CPU/core stacked converters and factory-configured PMIC.
* Preserves every implemented component's physical pin/net map and source BOM.
* External input shunts/rail distribution and the deferred crystal need separate
* implementation. Parent owns placement, remote-sense routing and power budgets.
*/
export function ReferencePowerStages({
placements = {}, references, includeDni = false, referencePrefix = "", netOverrides = {},
}: ReferencePowerStagesProps) {
const net = (source: string) => netOverrides[source] ?? `net.${source}`
return <>
{data.parts
.filter(part => includeDni || part.fittedInSourceBom)
.filter(part => !references || references.includes(part.reference))
.filter(part => !["ECS34Q", "unsupported", "testpoint"].includes(part.kind))
.map(part => {
const name = `${referencePrefix}${part.reference}`
const position = placements[part.reference] ?? {}
const connections = Object.fromEntries(Object.entries(part.pins)
.filter(([, pin]) => pin.net)
.map(([pin, fact]) => [`pin${pin}`, net(fact.net)]))
const common = { name, ...position, connections }
const mpn = part.mpn === "DNI" ? undefined : part.mpn
if (part.kind === "TPS62873") return <TPS62873 key={name} {...common} />
if (part.kind === "TPS6594133A") return <TPS6594133A key={name} {...common} />
if (part.kind === "RE1J002YN") return <RE1J002YN key={name} {...common} />
if (part.kind === "capacitor") {
const rating = part.description.match(/\b\d+(?:\.\d+)?V\b/)?.[0]
return <capacitor key={name} {...common} manufacturerPartNumber={mpn}
capacitance={part.value} maxVoltageRating={rating} footprint={part.sizeCode!} />
}
if (part.kind === "resistor") return <resistor key={name} {...common}
manufacturerPartNumber={mpn} resistance={part.value} footprint={part.sizeCode!} />
if (part.kind === "XEL4030" || part.kind === "TFM252012ALMA") {
return <inductor key={name} {...common} manufacturerPartNumber={mpn}
inductance={part.value}
footprint={part.kind === "XEL4030" ? <XEL4030Footprint /> : <TFM252012ALMFootprint />} />
}
if (part.kind === "NFM18HC106" || part.kind === "NFM15HC105") {
if (part.pins["2"].net !== part.pins["4"].net) {
throw new Error(`${part.reference}: source ground terminals differ`)
}
return <chip key={name} name={name} {...position} manufacturerPartNumber={feedthroughManufacturerPart(part.mpn)}
internallyConnectedPins={feedthroughInternalConnections}
pinLabels={{ pin1: ["1", "LINE_A"], pin2: ["2", "SOURCE_GND_2", "SOURCE_GND_4"], pin3: ["3", "LINE_B"] }}
pinAttributes={{ pin1: { isPassive: true }, pin2: { requiresGround: true }, pin3: { isPassive: true } }}
schPinArrangement={{ leftSide: ["LINE_A"], rightSide: ["LINE_B"], bottomSide: ["SOURCE_GND_2"] }}
footprint={part.kind === "NFM18HC106" ? <NFM18HC106Footprint /> : <NFM15HC105Footprint />}
connections={{ pin1: net(part.pins["1"].net), pin2: net(part.pins["2"].net), pin3: net(part.pins["3"].net) }} />
}
throw new Error(`Unsupported power-stage part ${part.reference}`)
})}
</>
}