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.
index.tsx
PCB
Schematic
import type {BoardProps} from "tscircuit"
import {NativeCm5ManualDdrRoutes}from"./components/shared/core/NativeCm5ManualDdrRoutes"
import {NativeDdrRoutingRules} from "./components/shared/core/NativeDdrRoutingRules"
import {NativeWkupClockRoutes} from "./components/shared/core/NativeClockRoutes"
import {NativeHdiSignalEscapes} from "./components/shared/core/NativeHdiSignalEscapes"
import {NativeHdiGround} from "./components/shared/core/NativeHdiGround"
import {NativeCm5UnusedDdrRoutes,cm5UnusedDdrReplayedSelectors} from "./components/shared/core/NativeCm5UnusedDdrRoutes"
import {NativeCm5ConnectorGroundRoutes} from "./components/shared/interface/NativeCm5ConnectorGroundRoutes"
import { UnusedDdrSupport } from "./components/shared/core/UnusedDdrSupport"
import { UnusedDdrAdditionalSupport } from "./components/shared/core/UnusedDdrAdditionalSupport"
import { getConnectorConnections, getConnectorCpuConnections } from "./components/shared/interface/ConnectorWiring"
import { CM5BoardFrame } from "./BoardFrame"
import { ReferenceCore } from "./components/shared/core/ReferenceCore"
import { ReferenceStorage } from "./components/shared/core/ReferenceStorage"
import { ReferenceDecoupling } from "./components/shared/core/ReferenceDecoupling"
import { StorageSupport } from "./components/shared/core/StorageSupport"
import { ReferenceClockSupport } from "./components/shared/core/ReferenceClockSupport"
import layout from "./layout.json"
import {coreSupportNetAliases} from "./components/shared/power/SystemPowerNets"
/** Engineering draft: source-connected core and support; system integration/routing incomplete. */
export default ({nativeHdi=true,routeAll=false,autorouter,nativeGroundPaths=true,nativeDdrBiasRoutes=true}:{nativeHdi?:boolean;routeAll?:boolean;autorouter?:BoardProps["autorouter"];nativeGroundPaths?:boolean;nativeDdrBiasRoutes?:boolean}={}) => <CM5BoardFrame nativeHdi={nativeHdi} routeAll={routeAll} autorouter={autorouter} connectorConnections={getConnectorConnections("cm5")}>
<ReferenceCore nativeHdiBoard={nativeHdi?"cm5":undefined} cpu={layout.cpu} ram={layout.ram} cpuConnections={getConnectorCpuConnections("cm5")} />
<NativeDdrRoutingRules />
<ReferenceStorage nativeHdiBoard={nativeHdi?"cm5":undefined} placement={layout.emmc} />
<schematicsheet sheetWidth={800} sheetHeight={600} name="WKUP_CLOCK_SHEET" displayName="19.2 MHz WKUP clock">
<schematicsection name="WKUP_CLOCK_SECTION" displayName="WKUP oscillator" />
<ReferenceClockSupport placements={layout.clockPlacements} />
</schematicsheet>
{layout.supportSheets.map(sheet => <schematicsheet sheetWidth={800} sheetHeight={600} key={sheet.name} name={sheet.name} displayName={sheet.title}>
<schematicsection name={`CORE_SUPPORT_SECTION_${sheet.name.split("_").at(-1)}`} displayName={sheet.title} />
<ReferenceDecoupling nativeHdiBoard={nativeHdi?"cm5":undefined} nativeGroundPaths={nativeHdi&&nativeGroundPaths} placements={layout.supportPlacements} references={sheet.references} netOverrides={coreSupportNetAliases} />
<StorageSupport nativeHdiBoard={nativeHdi?"cm5":undefined} nativeGroundPaths={nativeHdi&&nativeGroundPaths} placements={layout.supportPlacements} references={sheet.references} />
</schematicsheet>)}
<UnusedDdrSupport placements={layout.unusedDdrPlacements} />
<UnusedDdrAdditionalSupport placements={layout.unusedDdrAdditionalPlacements} />
<NativeWkupClockRoutes board="cm5" cpu={layout.cpu} placements={layout.clockPlacements} />
{nativeHdi&&<NativeHdiSignalEscapes board="cm5" omitSelectors={nativeDdrBiasRoutes?cm5UnusedDdrReplayedSelectors:[]} />}
{nativeHdi&&<NativeHdiGround board="cm5" connectGroundPorts={nativeGroundPaths} unbrokenReferences={!nativeDdrBiasRoutes} />}
{nativeHdi&&<NativeCm5ConnectorGroundRoutes />}
{nativeHdi&&nativeDdrBiasRoutes&&<NativeCm5UnusedDdrRoutes />}
{nativeHdi&&<NativeCm5ManualDdrRoutes />}
</CM5BoardFrame>