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-cm5In 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/PeripheralClocks.tsx
import type {ReferencePowerPlacement} from '../power-stages/ReferencePowerStages'
/** SiTime SiT8008B 2016 recommended land: 1.5 x1.2mm pitch,
* 0.9 x0.8mm copper. Top view is 4/3 above1/2. */
export function SiT8008_2016Footprint(){
return <footprint>
{[[1,-.75,-.6],[2,.75,-.6],[3,.75,.6],[4,-.75,.6]].map(([pin,x,y])=><smtpad key={pin}
portHints={[`pin${pin}`]} shape="rect" pcbX={x} pcbY={y} width={.9} height={.8}
solderMaskMargin={.05} solderPasteMargin={0} />)}
<courtyardrect width={2.9} height={2.4} />
</footprint>
}
export const peripheralClockChannels=[
{name:'U1850',base:1850,frequency:'25.000000',output:'ETH_CLK25_1V8'},
{name:'U1851',base:1851,frequency:'48.000000',output:'USB_A_CLK48_1V8'},
{name:'U1852',base:1852,frequency:'48.000000',output:'USB_B_CLK48_1V8'},
] as const
export const peripheralClockDefaultPlacements:Record<string,ReferencePowerPlacement>=Object.fromEntries(
peripheralClockChannels.flatMap((c,i)=>[
[c.name,{pcbX:i*9,pcbY:0,layer:'top'}],
[`R${c.base}`,{pcbX:i*9+3,pcbY:.6,layer:'top'}],
[`R${c.base+10}`,{pcbX:i*9-3,pcbY:-.6,layer:'top'}],
[`C${c.base}`,{pcbX:i*9-1,pcbY:2.7,pcbRotation:90,layer:'top'}],
]))
export const peripheralClockParts=Object.keys(peripheralClockDefaultPlacements).map(reference=>({reference}))
/** Separate oscillators keep each output load local to one receiver. Reset
* release must follow1.8V-good by at least5ms. The shared supervisor's225ms
* minimum delay covers source startup; clock SI/jitter remains a board check.
*/
export function PeripheralClocks({placements=peripheralClockDefaultPlacements}:{placements?:Partial<Record<string,ReferencePowerPlacement>>}){
return <>{peripheralClockChannels.map(c=>{
const local=`net.${c.output}_SOURCE`,supply='net.VDD_IO_1V8',gnd='net.GND',enable=`net.${c.name}_OE`
const at=(ref:string)=>placements[ref]??{}
return <schematicsheet key={c.name} name={`${c.name}_SHEET`} displayName={`${c.output} reference`}>
<chip name={c.name} manufacturerPartNumber={`SiT8008BI-71-18E-${c.frequency}E`} footprint={<SiT8008_2016Footprint />}
schX={0} schY={0} {...at(c.name)}
pinLabels={{pin1:'OE',pin2:'GND',pin3:'OUT',pin4:'VDD'}}
pinAttributes={{pin1:{isInput:true},pin2:{requiresGround:true},pin3:{isOutput:true},pin4:{requiresPower:true}}}
connections={{OE:enable,GND:gnd,OUT:local,VDD:supply}} />
<resistor name={`R${c.base}`} resistance="22" tolerance="1%" manufacturerPartNumber="RC0402FR-0722RL" footprint="0402"
schX={4} schY={0} {...at(`R${c.base}`)} connections={{pin1:local,pin2:`net.${c.output}`}} />
<resistor name={`R${c.base+10}`} resistance="10k" tolerance="1%" manufacturerPartNumber="RC0402FR-0710KL" footprint="0402"
schX={-4} schY={0} schRotation={90} {...at(`R${c.base+10}`)} connections={{pin1:supply,pin2:enable}} />
<capacitor name={`C${c.base}`} capacitance="100nF" maxVoltageRating="16V" manufacturerPartNumber="GRM155R71C104KA88D" footprint="0402"
schX={0} schY={-4} schRotation={-90} {...at(`C${c.base}`)} connections={{pin1:supply,pin2:gnd}} />
</schematicsheet>
})}</>
}