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/interface/DP83867E.tsx

import type {ChipProps} from 'tscircuit'

/** TI RGZ0048B4218795/B02/2017, viewed from the top at zero rotation. */
export function DP83867ERGZFootprint(){
 return <footprint>
  {Array.from({length:48},(_,i)=>{
   const side=Math.floor(i/12),j=i%12
   const x=side===0?-3.4:side===1?-2.75+j*.5:side===2?3.4:2.75-j*.5
   const y=side===0?2.75-j*.5:side===1?-3.4:side===2?-2.75+j*.5:3.4
   return <smtpad key={i} portHints={[`pin${i+1}`]} shape="rect" pcbX={x} pcbY={y}
    width={side%2?.24:.6} height={side%2?.6:.24} rectBorderRadius={.05}
    solderMaskMargin={.07} solderPasteMargin={0} />
  })}
  <smtpad portHints={['pin49']} shape="rect" pcbX={0} pcbY={0} width={4.1} height={4.1}
   solderMaskMargin={.07} noSolderPaste />
  {[-1.37,0,1.37].flatMap(x=>[-1.37,0,1.37].map(y=><solderpaste key={`${x},${y}`}
   shape="rect" pcbX={x} pcbY={y} width={1.17} height={1.17} />))}
  <fabricationnoterect width={7} height={7} strokeWidth={.05} />
  <courtyardrect width={7.9} height={7.9} />
  <silkscreencircle pcbX={-3.8} pcbY={3.8} radius={.07} strokeWidth={.05} />
 </footprint>
}
export const dp83867PinLabels={
 pin1:'TD_P_A',pin2:'TD_M_A',pin3:'VDDA2P5_A',pin4:'TD_P_B',pin5:'TD_M_B',pin6:'VDD1P0_A',pin7:'TD_P_C',pin8:'TD_M_C',pin9:'VDDA2P5_B',pin10:'TD_P_D',pin11:'TD_M_D',pin12:'RBIAS',
 pin13:'VDDA1P8_A',pin14:'XO',pin15:'XI',pin16:'MDC',pin17:'MDIO',pin18:'CLK_OUT',pin19:'VDDIO_A',pin20:'JTAG_CLK',pin21:'JTAG_TDO',pin22:'JTAG_TMS',pin23:'JTAG_TDI',pin24:'VDD1P0_B',
 pin25:'TX_D3',pin26:'TX_D2',pin27:'TX_D1',pin28:'TX_D0',pin29:'GTX_CLK',pin30:'VDDIO_B',pin31:'VDD1P0_C',pin32:'RX_CLK',pin33:'RX_D0',pin34:'RX_D1',pin35:'RX_D2',pin36:'RX_D3',
 pin37:'TX_CTRL',pin38:'RX_CTRL',pin39:'GPIO_0',pin40:'GPIO_1',pin41:'VDDIO_C',pin42:'VDD1P0_D',pin43:'RESET_N',pin44:'INT_PWDN',pin45:'LED_2',pin46:'LED_1',pin47:'LED_0',pin48:'VDDA1P8_B',pin49:'GND_EP',
}as const
const supplies=new Set([3,6,9,13,19,24,30,31,41,42,48])
const inputs=new Set([15,16,20,22,23,25,26,27,28,29,37,43])
const outputs=new Set([14,18,21,32,33,34,35,36,38,39,40])
export function DP83867E(props:Omit<ChipProps,'footprint'|'pinLabels'>){
 return <chip schWidth={8} schHeight={12} {...props} manufacturerPartNumber="DP83867ERGZT" footprint={<DP83867ERGZFootprint />}
  pinLabels={dp83867PinLabels} pinAttributes={Object.fromEntries(Array.from({length:49},(_,i)=>{
   const n=i+1
   return[`pin${n}`,n===49?{requiresGround:true}:supplies.has(n)?{requiresPower:true}:inputs.has(n)?{isInput:true}:outputs.has(n)?{isOutput:true}:[17,44,45,46,47].includes(n)?{isInput:true,isOutput:true}:{isPassive:true}]
  }))} />
}