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/control/BootConfiguration.ts
import core from "../core/CoreConnections.data.json"
import { sourceNetToTscircuitNet } from "../core/ReferenceDecoupling"
/** TI SPRUJ52E sections 4.3.1–4.3.2, 4.3.11, 4.3.12 and 4.3.14. */
export const bootPresets = {
emmc: { mcu: 0x308, main: 0x03 },
usb: { mcu: 0x310, main: 0x03 },
microsd: { mcu: 0x300, main: 0x43 },
} as const
// All modes: 19.2 MHz PLL code 000, normal (not MCU-only), POST bypass 11,
// primary mode B=1, backup USB-device port0. eMMC: port0, automatic width,
// 1.8 V. SD: port1, filesystem mode, automatic width. USB: DFU, no lane swap.
export const mcuBootBalls = ["G38", "H36", "J38", "H38", "J34", "J35", "H37", "K37", "J37", "K38"] as const
export const mainBootBalls = ["B33", "B32", "D33", "D34", "M37", "M36", "N34", "M34"] as const
export function physicalBootNet(ball: string, cpuConnections: Record<string, string> = {}) {
const fact = (core.components.U28.pins as Record<string, { referenceNet: string }>)[ball]
if (!fact) throw new Error(`Unknown CPU bootstrap ball ${ball}`)
return cpuConnections[ball] ?? `net.${sourceNetToTscircuitNet(fact.referenceNet)}`
}
/** Spare, source-verified 3.3 V WKUP GPIO pads; not assigned to either HAT map. */
export const bootControllerCpuConnections = {
L36: "net.EC_HOST_KEY_IRQ_N", // WKUP_GPIO0_7; reference WKUP_UART0_RTSn.
L37: "net.EC_HOST_POWER_OFF", // WKUP_GPIO0_6; reference WKUP_UART0_CTSn.
J37: "net.EC_UART_HOST_TX", // MCU_UART0_TXD; also POST strap bit8.
K38: "net.EC_UART_HOST_RX", // MCU_UART0_RXD; also POST strap bit9.
AN17: "net.USB_OTG_ID_3V3", // Native USB0_ID behind the Ioff receiver.
} as const