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

import { TPS62182, tps62182Signals } from "./TPS62182"
import { Vishay293DECaseFootprint, XFL4020Footprint } from "./PowerPassives"
import type { ReferencePowerPlacement } from "../power-stages/ReferencePowerStages"

export type TPS62182PowerStageProps = {
  name?: string
  pcbX?: number
  pcbY?: number
  schX?: number
  schY?: number
  inputNet?: string
  outputNet?: string
  groundNet?: string
  enableNet?: string
  powerGoodNet?: string
  includeInputBulk?: boolean
  placements?: Partial<Record<string, ReferencePowerPlacement>>
  schematicSections?: boolean
}

/**
 * TI SLVUA93 EVM fixed-version modification, with explicit main-rail enable.
 * 6 A is converter capacity, not a validated budget for the complete board.
 * Placement is a fixture: high-current routing/thermal design remains required.
 */
export function TPS62182PowerStage({
  name = "MAIN_3V3_POWER",
  pcbX = 0, pcbY = 0, schX = 0, schY = 0,
  inputNet = "net.V5_IN", outputNet = "net.V3V3_SYS",
  groundNet = "net.GND", enableNet = "net.MAIN_3V3_ENABLE",
  powerGoodNet = "net.MAIN_3V3_PG", includeInputBulk = true, placements = {}, schematicSections = true,
}: TPS62182PowerStageProps) {
  const sw1 = `net.${name}_SW1`
  const sw2 = `net.${name}_SW2`
  const softStart = `net.${name}_SS_TR`
  const fixedFeedback = `net.${name}_FB_GND`
  const section = `${name}_SECTION`
  const sectionName = schematicSections ? section : undefined
  const chipConnections = Object.fromEntries(Object.entries(tps62182Signals).map(([ball, signal]) => [
    ball,
    signal === "VIN1" || signal === "VIN2" ? inputNet
      : signal === "SW1" ? sw1
      : signal === "SW2" ? sw2
      : signal === "VO" ? outputNet
      : signal === "EN" ? enableNet
      : signal === "PG" ? powerGoodNet
      : signal === "SS_TR" ? softStart
      : signal === "FB" ? fixedFeedback
      : groundNet,
  ]))
  return <group name={name} pcbX={pcbX} pcbY={pcbY} pcbLayout={{layoutMode:"none"}}>
    {schematicSections && <schematicsection name={section} title="Main 3.3 V supply" />}
    <TPS62182 name="U950" connections={chipConnections}
      pcbX={0} pcbY={0} schX={schX} schY={schY} schSectionName={sectionName} {...placements.U950} />
    <capacitor name="C950" manufacturerPartNumber="GRM21BR61E226ME44L"
      capacitance="22uF" maxVoltageRating="25V" footprint="0805"
      pcbX={-3.2} pcbY={2.1} schX={schX-11} schY={schY+7} schRotation={-90}
      schSectionName={sectionName} {...placements.C950} connections={{ pin1: inputNet, pin2: groundNet }} />
    <capacitor name="C951" manufacturerPartNumber="GRM21BR61E226ME44L"
      capacitance="22uF" maxVoltageRating="25V" footprint="0805"
      pcbX={-3.2} pcbY={-0.5} schX={schX-9.4} schY={schY+7} schRotation={-90}
      schSectionName={sectionName} {...placements.C951} connections={{ pin1: inputNet, pin2: groundNet }} />
    <inductor name="L950" manufacturerPartNumber="XFL4020-102MEC" inductance="1uH"
      footprint={<XFL4020Footprint />} pcbX={4} pcbY={2.6}
      schX={schX+8} schY={schY+5} schSectionName={sectionName} {...placements.L950}
      connections={{ pin1: sw1, pin2: outputNet }} />
    <inductor name="L951" manufacturerPartNumber="XFL4020-102MEC" inductance="1uH"
      footprint={<XFL4020Footprint />} pcbX={4} pcbY={-2.6}
      schX={schX+8} schY={schY+1} schSectionName={sectionName} {...placements.L951}
      connections={{ pin1: sw2, pin2: outputNet }} />
    <capacitor name="C952" manufacturerPartNumber="GRM21BR61A476ME15L"
      capacitance="47uF" maxVoltageRating="10V" footprint="0805"
      pcbX={8.2} pcbY={2.6} schX={schX+13} schY={schY+5} schRotation={-90}
      schSectionName={sectionName} {...placements.C952} connections={{ pin1: outputNet, pin2: groundNet }} />
    <capacitor name="C953" manufacturerPartNumber="GRM21BR61A476ME15L"
      capacitance="47uF" maxVoltageRating="10V" footprint="0805"
      pcbX={8.2} pcbY={-0.5} schX={schX+14.6} schY={schY+5} schRotation={-90}
      schSectionName={sectionName} {...placements.C953} connections={{ pin1: outputNet, pin2: groundNet }} />
    <capacitor name="C954" manufacturerPartNumber="GRM188R71E103KA01D"
      capacitance="10nF" maxVoltageRating="25V" footprint="0603"
      pcbX={0} pcbY={-3.1} schX={schX-7} schY={schY-7} schRotation={-90}
      schSectionName={sectionName} {...placements.C954} connections={{ pin1: softStart, pin2: groundNet }} />
    <resistor name="R950" manufacturerPartNumber="RC0603FR-0710KL"
      resistance="10k" footprint="0603"
      pcbX={2.9} pcbY={-6.6} pcbRotation={180} schX={schX+8} schY={schY-5} schRotation={-90}
      schSectionName={sectionName} {...placements.R950} connections={{ pin1: outputNet, pin2: powerGoodNet }} />
    <resistor name="R951" manufacturerPartNumber="RC0603JR-070RL" resistance="0" footprint="0603"
      pcbX={-1.1} pcbY={-5.9} schX={schX-7} schY={schY-3} schRotation={-90}
      schSectionName={sectionName} {...placements.R951} connections={{ pin1: fixedFeedback, pin2: groundNet }} />
    {includeInputBulk && <capacitor name="C955" manufacturerPartNumber="293D107X9020E2TE3"
      capacitance="100uF" maxVoltageRating="20V" polarized footprint={<Vishay293DECaseFootprint />}
      pcbX={-8.5} pcbY={-4.1} schX={schX-7.8} schY={schY+7} schRotation={-90}
      schSectionName={sectionName} {...placements.C955} connections={{ pin1: inputNet, pin2: groundNet }} />}
  </group>
}