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/core/StorageSupport.tsx

import data from "./StorageSupport.data.json"
import { SC705Footprint } from "./logic-footprints/SC705Footprint"
import { sourceNetToTscircuitNet, type ReferencePartPlacement } from "./ReferenceDecoupling"
import {uniqueNativeEscapeConnections,type NativeHdiBoard} from './NativeEscapeConnections'

export const storageSupportParts = data.parts
const issiBusPullups=new Set(['R341','R311','R342','R330','R331','R336','R337','R317','R333'])

export function StorageSupport({ placements, references, netOverrides = {},nativeHdiBoard,nativeGroundPaths=false }: {
  placements: Partial<Record<string, ReferencePartPlacement>>
  references: readonly string[]
  netOverrides?: Record<string, string>
  nativeHdiBoard?:NativeHdiBoard
  nativeGroundPaths?:boolean
}) {
  return <>
    {data.parts.filter(part => part.fitted_in_source_bom && references.includes(part.reference)).map(part => {
      const position = placements[part.reference] ?? {}
      // eMMC reset is a VCCQ-domain input. The5.5V-tolerant LVC buffer
      // accepts the source reset while powered from the same1.8V as eMMC.
      const pinNets={...part.source_pins,...(part.reference==='U72'?{'5':'VCC1V8_eMMC'}:part.reference==='C52'?{'2':'VCC1V8_eMMC'}:{})}
      const connections = uniqueNativeEscapeConnections(part.reference,Object.fromEntries(Object.entries(pinNets)
        .filter(([, net]) => net)
        .map(([pin, net]) => [`pin${pin}`, netOverrides[net] ?? `net.${sourceNetToTscircuitNet(net)}`])),nativeHdiBoard,nativeGroundPaths)
      if (part.kind === "capacitor") return <capacitor key={part.reference} name={part.reference} {...position}
        capacitance={part.reference==='C358'?'2.2uF':part.capacitance!} maxVoltageRating={part.voltageRating}
        manufacturerPartNumber={part.reference==='C358'?'C1005X5R1A225K050BC':part.manufacturerPartNumber} footprint={part.size_code} connections={connections} />
      if (part.kind === "resistor") return <resistor key={part.reference} name={part.reference} {...position}
        resistance={issiBusPullups.has(part.reference)?'47k':part.resistance!} manufacturerPartNumber={issiBusPullups.has(part.reference)?'RC0402FR-0747KL':part.manufacturerPartNumber}
        footprint={part.size_code} connections={connections} />
      if (part.kind === "ferrite_bead") return <chip key={part.reference} name={part.reference} {...position}
        manufacturerPartNumber={part.manufacturerPartNumber} footprint={part.size_code}
        pinLabels={{ pin1: "IN", pin2: "OUT" }}
        pinAttributes={{ pin1: { isPassive: true }, pin2: { isPassive: true } }} connections={connections} />
      return <chip key={part.reference} name={part.reference} {...position}
        manufacturerPartNumber="SN74LVC1G17DCKR" footprint={<SC705Footprint />}
        pinLabels={{ pin1: "NC", pin2: "A", pin3: "GND", pin4: "Y", pin5: "VCC" }}
        pinAttributes={{pin1:{doNotConnect:true},pin2:{isInput:true},pin3:{requiresGround:true},pin4:{isOutput:true},pin5:{requiresPower:true}}}
        pinAttributes={{ pin1: { doNotConnect: true }, pin2: { isInput: true }, pin3: { requiresGround: true }, pin4: { isOutput: true }, pin5: { requiresPower: true } }}
        noConnect={["NC"]} connections={connections} />
    })}
  </>
}