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/power/TPS62182.tsx

import type { ChipProps } from "tscircuit"

// TI SLVSBB8B, pin-function table and YZF0024 drawing 4219412/A.
// Coordinates are package top view, A1 at upper left, 0.5 mm pitch.
export const tps62182Signals = {
  A1: "VIN1", A2: "SW1", A3: "PGND", A4: "VO",
  B1: "VIN1", B2: "SW1", B3: "PGND", B4: "FB",
  C1: "VIN1", C2: "SW1", C3: "PGND", C4: "AGND",
  D1: "VIN2", D2: "SW2", D3: "PGND", D4: "SS_TR",
  E1: "VIN2", E2: "SW2", E3: "PGND", E4: "EN",
  F1: "VIN2", F2: "SW2", F3: "PGND", F4: "PG",
} as const

export const tps62182Pads = Object.entries(tps62182Signals).map(([ball, signal], index) => ({
  ball,
  signal,
  logicalPin: `pin${index + 1}`,
  x: (Number(ball[1]) - 2.5) * 0.5,
  y: (2.5 - (ball.charCodeAt(0) - 65)) * 0.5,
  diameter: 0.245,
}))

export const tps62182PinLabels = Object.fromEntries(tps62182Pads.map(pad => [
  pad.logicalPin, [pad.ball, `${pad.signal}_${pad.ball}`],
]))

export const tps62182PinAttributes = Object.fromEntries(tps62182Pads.map(pad => [
  pad.logicalPin,
  pad.signal === "VIN1" || pad.signal === "VIN2" ? { requiresPower: true }
    : pad.signal === "AGND" || pad.signal === "PGND" ? { requiresGround: true }
    : ["SW1", "SW2", "PG"].includes(pad.signal) ? { isOutput: true }
    : pad.signal === "SS_TR" ? { isPassive: true }
    : { isInput: true },
]))

/** Fixed 3.3 V bare IC; the full EVM-derived stage is TPS62182PowerStage. */
export function TPS62182(props: Omit<ChipProps, "footprint" | "pinLabels">) {
  return <chip
    manufacturerPartNumber="TPS62182YZFR"
    pinLabels={tps62182PinLabels}
    pinAttributes={tps62182PinAttributes}
    schWidth={5}
    schHeight={9}
    schPinArrangement={{ leftPinCount: 12, rightPinCount: 12 }}
    footprint={<footprint>
      {tps62182Pads.map(pad => <smtpad
        key={pad.ball}
        name={pad.ball}
        portHints={[pad.logicalPin, pad.ball]}
        pcbX={pad.x}
        pcbY={pad.y}
        shape="circle"
        radius={pad.diameter / 2}
        solderMaskMargin={0.05}
      />)}
      <fabricationnoterect width={2.1} height={3.1} strokeWidth={0.08} />
      <silkscreenpath route={[
        { x: -1.2, y: 1.15 }, { x: -1.2, y: 1.7 },
        { x: 1.2, y: 1.7 }, { x: 1.2, y: -1.7 },
        { x: -1.2, y: -1.7 }, { x: -1.2, y: 0.85 },
      ]} strokeWidth={0.1} />
      <courtyardrect width={2.6} height={3.6} />
    </footprint>}
    {...props}
  />
}