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/UsbPhyCompactPlacements.ts

import type {ReferencePowerPlacement} from '../power-stages/ReferencePowerStages'

/** Compact placement candidates. No copper or PDN qualification is implied.
 * Keep the input capacitors and inductor on the regulator face. Sense/feedback
 * routing must avoid SW, and actual current loops still require board review.
 */
export const usbPhyCoreCompactPlacements:Record<string,ReferencePowerPlacement>={
 U1700:{pcbX:0,pcbY:0,layer:'top'},
 L1700:{pcbX:-3.9,pcbY:-.3,pcbRotation:180,layer:'top'},
 C1700:{pcbX:3.23,pcbY:.5,layer:'top'},
 C1701:{pcbX:2.8,pcbY:-1.1,layer:'top'},
 C1702:{pcbX:-4.7,pcbY:3.01,layer:'top'},
 C1703:{pcbX:-1.2,pcbY:3.01,layer:'top'},
 C1704:{pcbX:1.1,pcbY:4.4,pcbRotation:90,layer:'top'},
 R1700:{pcbX:-.6,pcbY:-3.05,pcbRotation:90,layer:'top'},
 R1701:{pcbX:.5,pcbY:-3.05,pcbRotation:270,layer:'top'},
 R1702:{pcbX:1.6,pcbY:2.9,layer:'top'},
 R1703:{pcbX:-1.2,pcbY:4.6,layer:'top'},
}

/** Reset monitor core and two independently placeable three-part gate groups.
 * Each channel retains its two0.1% sense resistors and local filter capacitor.
 */
export const usbPhyResetCoreCompactPlacements:Record<string,ReferencePowerPlacement>={
 U1701:{pcbX:0,pcbY:0,layer:'top'},
 C1710:{pcbX:3.8,pcbY:-.8,pcbRotation:270,layer:'top'},
 ...Object.fromEntries(Array.from({length:8},(_,i)=>[`R${1710+i}`,{
  pcbX:-3.15+Math.floor(i/2)*2.1,pcbY:i%2?-5.8:-3.75,pcbRotation:90,layer:'top' as const,
 }])),
 ...Object.fromEntries(Array.from({length:4},(_,i)=>[`C${1713+i}`,{
  pcbX:i===3?4.2:-2.1+i*2.1,pcbY:-4.775,pcbRotation:90,layer:'top' as const,
 }])),
 ...Object.fromEntries(Array.from({length:4},(_,i)=>[`R${1720+i}`,{
  pcbX:-4,pcbY:-1.65+i*1.1,layer:'top' as const,
 }])),
 R1724:{pcbX:3.8,pcbY:1.2,pcbRotation:90,layer:'top'},
}
export function usbPhyResetGateCompactPlacements(host:'A'|'B'):Record<string,ReferencePowerPlacement>{
 const second=host==='B'
 return {
  [`U${second?1703:1702}`]:{pcbX:0,pcbY:0,layer:'top'},
  [`C${second?1712:1711}`]:{pcbX:0,pcbY:2,layer:'top'},
  [`R${second?1726:1725}`]:{pcbX:-2.5,pcbY:.6,pcbRotation:90,layer:'top'},
 }
}