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-cm5

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.

components/shared/interface/ConnectorWiring.ts

import wiring from "./ConnectorWiring.data.json"

export type ConnectorBoard = "cm5" | "pi5"
export type ConnectorConnections = Record<string, Record<string, string>>

/** Safe partial wiring only. Read connector-wiring.md for the pending interfaces. */
export function getConnectorConnections(board: ConnectorBoard): ConnectorConnections {
  return Object.fromEntries(Object.entries(wiring.boards[board].connectorConnections).map(([name, connections]) => [name, { ...connections }]))
}

/** Physical AM69 ball overrides to pass to ReferenceCore.cpuConnections. */
export function getConnectorCpuConnections(board: ConnectorBoard): Record<string, string> {
  return { ...wiring.boards[board].cpuConnections }
}

export function getPendingConnectorMappings(board: ConnectorBoard) {
  return wiring.boards[board].pending.map(mapping => ({ ...mapping }))
}