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/UnusedDdrSupport.tsx

import reference from "./CoreConnections.data.json"
import { sourceNetToTscircuitNet } from "./ReferenceDecoupling"
import type { ReferencePowerPlacement } from "../power-stages/ReferencePowerStages"

/** AM69A SPRSP92F Table5-121: only DDR0 is populated on these boards.
 * DQS P needs a separate external pull to VSS; DQS N to VDDS_DDR.
 * 10kohm is our engineering selection, not a value specified by that table.
 * Keep unused DDR controllers disabled in firmware; retain all supply balls.
 */
export const unusedDdrPulls=Object.entries(reference.components.U28.pins)
  .filter(([,fact])=>/^DDR[123]_DQS[0-3][PN]$/.test(fact.signal))
  .sort((a,b)=>a[1].signal.localeCompare(b[1].signal))
  .map(([ball,fact],i)=>({reference:`R${1500+i}`,ball,signal:fact.signal,
    net:`net.${sourceNetToTscircuitNet(fact.referenceNet!)}`,
    rail:fact.signal.endsWith("P")?"net.GND":"net.VDD_DDR_1V1"}))

export function UnusedDdrSupport({placements={}}:{placements?:Partial<Record<string,ReferencePowerPlacement>>}) {
  return <>{[1,2,3].map(bank=><schematicsheet key={bank} name={`UNUSED_DDR${bank}`} displayName={`Unused DDR${bank} input bias`}>
    <schematicsection name={`UNUSED_DDR${bank}_SECTION`} displayName={`DDR${bank}`} />
    {unusedDdrPulls.filter(part=>part.signal.startsWith(`DDR${bank}_`)).map((part,i)=><resistor
      key={part.reference} name={part.reference} resistance="10k" tolerance="5%"
      manufacturerPartNumber="RC0201JR-0710KL" footprint="0201"
      schX={Math.floor(i/2)*6} schY={i%2? -3.5:3.5} schRotation={part.signal.endsWith("N")?90:-90}
      schSectionName={`UNUSED_DDR${bank}_SECTION`} {...placements[part.reference]}
      connections={{pin1:part.net,pin2:part.rail}} />)}
  </schematicsheet>)}</>
}