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-pi5

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/usb/TUSB7320.tsx

import { type ChipProps } from "tscircuit"
import pinmap from "./tusb7320.pinmap.json"
import { TUSB7320RKMFootprint } from "./TUSB7320RKMFootprint"

// Licensed KiCad copper cross-checked against TI LPPD235 /4211126/H.
// Native mask and TI stencil windows are supplied; see provenance JSON.
// Labels come from current TI SLLSE76R Table 4-1: A4=VDD11, B8=NC.
// Physical pad names (A1..A53, B1..B48, C1..C4) remain available as port aliases.
export const tusb7320PinLabels = Object.fromEntries(pinmap.pins.map(pin => [
  pin.pin,
  [
    `${pin.signal.replace(/#/g, "_N")}_${pin.pin}`,
    ...(!["power", "ground", "no_connect"].includes(pin.electrical_type)
      ? [pin.signal.replace(/#/g, "_N")]
      : []),
  ],
]))

export const tusb7320NoConnectPins = pinmap.pins
  .filter(pin => pin.electrical_type === "no_connect")
  .map(pin => pin.pin)

// Current Table4-1 electrical classes, including all30 supply terminals and
// all seven grounds. These annotations do not replace external rail sequencing.
export const tusb7320PinAttributes = Object.fromEntries(pinmap.pins.map(pin => [
  pin.pin,
  pin.electrical_type === "power" ? {requiresPower:true}
    : pin.electrical_type === "ground" ? {requiresGround:true}
    : pin.electrical_type === "no_connect" ? {doNotConnect:true}
    : pin.electrical_type === "input" ? {isInput:true}
    : pin.electrical_type === "output" ? {isOutput:true}
    : pin.electrical_type === "bidirectional" ? {isInput:true,isOutput:true}
    : {isPassive:true},
]))

/** Bare host IC. Parent board must provide every support circuit in the JSON. */
export const TUSB7320 = (props: ChipProps) => <TUSB7320RKMFootprint
  manufacturerPartNumber="TUSB7320IRKMR"
  schWidth={1.7}
  pinLabels={tusb7320PinLabels}
  pinAttributes={tusb7320PinAttributes}
  noConnect={tusb7320NoConnectPins}
  {...props}
/>