ShiboSoftwareDev/am69-pi5
A 85×56 mm 10-layer AM69A single-board computer carrier integrates 8 GiB LPDDR4, 32 GB eMMC, Pi-style expansion and multimedia/USB/Ethernet connectors, multi-rail PMIC power, STM32 boot/power control, USB-C PD, SD/fan protection, and HDI-controlled high-speed routing.
- Version
- 0.0.8-engineering-draft-20261107-dqs19
- 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-pi5 # download the package files into ./am69-pi5
tsci add ShiboSoftwareDev/am69-pi5 # add it to your project as @tsci/ShiboSoftwareDev.am69-pi5In 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 {NativeDdrRoutingRules} from "./components/shared/core/NativeDdrRoutingRules"
import {NativeWkupClockRoutes,NativePmicClockRoutes} from "./components/shared/core/NativeClockRoutes"
import {NativeHdiSignalEscapes} from "./components/shared/core/NativeHdiSignalEscapes"
import {NativeHdiGround} from "./components/shared/core/NativeHdiGround"
import {NativeUnusedDdrRoutes,unusedDdrReplayedSelectors} from "./components/shared/core/NativeUnusedDdrRoutes"
import {NativeUnusedDqsRoutes,unusedDqsReplayedSelectors} from "./components/shared/core/NativeUnusedDqsRoutes"
import {NativeCpuPowerPlaneRoutes,replayedCpuPowerSelectors} from "./components/shared/core/NativeCpuPowerPlaneRoutes"
import { UnusedDdrSupport } from "./components/shared/core/UnusedDdrSupport"
import { UnusedDdrAdditionalSupport } from "./components/shared/core/UnusedDdrAdditionalSupport"
import { getSystemConnectorConnections, getSystemCpuConnections } from "./components/shared/interface/SystemConnectorWiring"
import { IntegratedPowerSystem } from "./components/shared/power/IntegratedPowerSystem"
import { systemPowerNetOverrides } from "./components/shared/power/SystemPowerNets"
import { NativeInterfaceSheets, nativeInterfacePowerOverrides } from "./components/shared/interface/NativeInterfaceSupport"
import { NativeSdCardRoutes } from "./components/shared/interface/NativeSdCardRoutes"
import { NativeHdmiGroundRoutes } from "./components/shared/interface/NativeHdmiGroundRoutes"
import { Pi5BoardFrame } 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"
function checkedCpuFanout(cpuFanout:boolean,nativeHdi:boolean) {
if(cpuFanout&&nativeHdi)throw new Error('Select one CPU escape strategy')
return cpuFanout
}
const cpuConnections=getSystemCpuConnections("pi5")
const netOverrides={...systemPowerNetOverrides,...nativeInterfacePowerOverrides}
/** Integrated power and boot draft. Public interfaces, copper and qualification remain incomplete. */
export default ({cpuFanout=false,nativeHdi=true,routeAll=false,autorouter,nativeGroundPaths=true,nativeDdrBiasRoutes=true,nativePowerRoutes=true,nativeUnusedDqsRoutes=true}:{cpuFanout?:boolean;nativeHdi?:boolean;routeAll?:boolean;autorouter?:BoardProps["autorouter"];nativeGroundPaths?:boolean;nativeDdrBiasRoutes?:boolean;nativePowerRoutes?:boolean;nativeUnusedDqsRoutes?:boolean}={}) => <Pi5BoardFrame nativeHdi={nativeHdi} routeAll={routeAll} autorouter={autorouter} connectorConnections={getSystemConnectorConnections("pi5")}>
<ReferenceCore nativeHdiBoard={nativeHdi?"pi5":undefined} cpu={layout.cpu} ram={layout.ram} cpuConnections={cpuConnections} netOverrides={netOverrides} cpuFanout={checkedCpuFanout(cpuFanout,nativeHdi)} />
<NativeDdrRoutingRules />
<ReferenceStorage nativeHdiBoard={nativeHdi?"pi5":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?"pi5":undefined} nativeGroundPaths={nativeHdi&&nativeGroundPaths} placements={layout.supportPlacements} references={sheet.references} netOverrides={netOverrides} />
<StorageSupport nativeHdiBoard={nativeHdi?"pi5":undefined} nativeGroundPaths={nativeHdi&&nativeGroundPaths} placements={layout.supportPlacements} references={sheet.references} netOverrides={netOverrides} />
</schematicsheet>)}
<IntegratedPowerSystem board="pi5" cpuConnections={cpuConnections} placements={layout.powerPlacements} sheets={layout.powerSheets} netOverrides={netOverrides} />
<NativeInterfaceSheets placements={layout.nativeInterfacePlacements} />
<NativeSdCardRoutes placements={layout.nativeInterfacePlacements} />
<UnusedDdrSupport placements={layout.unusedDdrPlacements} />
<UnusedDdrAdditionalSupport placements={layout.unusedDdrAdditionalPlacements} />
<NativeWkupClockRoutes board="pi5" cpu={layout.cpu} placements={layout.clockPlacements} />
<NativePmicClockRoutes pmic={layout.powerPlacements.U48} placements={layout.powerPlacements} />
{nativeHdi&&<NativeHdiSignalEscapes board="pi5" omitSelectors={[...(nativeDdrBiasRoutes?unusedDdrReplayedSelectors:[]),...(nativePowerRoutes?replayedCpuPowerSelectors:[]),...(nativeUnusedDqsRoutes?unusedDqsReplayedSelectors:[])]} />}
{nativeHdi&&<NativeHdiGround board="pi5" connectGroundPorts={nativeGroundPaths} unbrokenReferences={!(nativeDdrBiasRoutes||nativePowerRoutes)} />}
{nativeHdi&&<NativeHdmiGroundRoutes />}
{nativeHdi&&nativeDdrBiasRoutes&&<NativeUnusedDdrRoutes />}
{nativeHdi&&nativePowerRoutes&&<NativeCpuPowerPlaneRoutes />}
{nativeHdi&&nativeUnusedDqsRoutes&&<NativeUnusedDqsRoutes />}
</Pi5BoardFrame>