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

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/ControlBuffers.tsx

// TI datasheet pin maps: TLV755P DBV-5 and SN74LVC2G17/2G07 DCK-6.
// The default nets are a logical interface contract. Connect them to verified
// PMIC/SoC ports in the parent board; these buffers do not implement its firmware.
export type InterfacePosition = {
  pcbX?: number
  pcbY?: number
  schX?: number
  schY?: number
}

const dualBufferPins = {
  pin1: "A1", pin2: "GND", pin3: "A2",
  pin4: "Y2", pin5: "VCC", pin6: "Y1",
} as const

export function AlwaysOnControlInputs({
  pcbX = 0, pcbY = 0, schX = 0, schY = 0,
}: InterfacePosition) {
  return <group name="CM5_CONTROL_INPUTS" pcbX={pcbX} pcbY={pcbY}>
    <schematicsection name="CM5_AON_INPUTS" title="CM5 always-on supply" />
    <schematicsection name="CM5_POWER_CONTROL" title="CM5 power control" />
    <schematicsection name="CM5_ROLE_TACH" title="USB role and fan tach" />
    <chip name="U900" manufacturerPartNumber="TLV75533PDBVR"
      footprint="sot23_5" pinLabels={{pin1:"IN",pin2:"GND",pin3:"EN",pin4:"NC",pin5:"OUT"}}
      noConnect={["NC"]} pcbX={0} pcbY={0} schX={schX} schY={schY}
      schSectionName="CM5_AON_INPUTS"
      connections={{IN:"net.V5_IN",EN:"net.V5_IN",GND:"net.GND",OUT:"net.V3V3_AON_INTERFACE"}} />
    <capacitor name="C900" schRotation={-90} capacitance="1uF" maxVoltageRating="10V" footprint="0402"
      pcbX={-3.2} pcbY={0} schX={schX-3} schY={schY-2}
      schSectionName="CM5_AON_INPUTS"
      connections={{pin1:"net.V5_IN",pin2:"net.GND"}} />
    <capacitor name="C901" schRotation={-90} capacitance="1uF" maxVoltageRating="10V" footprint="0402"
      pcbX={+3.2} pcbY={0} schX={schX+3} schY={schY-2}
      schSectionName="CM5_AON_INPUTS"
      connections={{pin1:"net.V3V3_AON_INTERFACE",pin2:"net.GND"}} />
    <chip name="U901" manufacturerPartNumber="SN74LVC2G17DCKR" footprint="sot363"
      pinLabels={dualBufferPins} pcbX={+7} pcbY={0} schX={schX+11} schY={schY+3}
      schSectionName="CM5_POWER_CONTROL"
      connections={{A1:"net.CM5_PMIC_ENABLE",Y1:"net.PMIC_ENABLE_3V3",A2:"net.CM5_PWR_BUTTON_N",Y2:"net.PWR_BUTTON_N_3V3",VCC:"net.V3V3_AON_INTERFACE",GND:"net.GND"}} />
    <capacitor name="C902" schRotation={-90} pcbRotation={180} capacitance="100nF" footprint="0402"
      pcbX={+7} pcbY={-2.2} schX={schX+4.2} schY={schY-2}
      schSectionName="CM5_POWER_CONTROL"
      connections={{pin1:"net.V3V3_AON_INTERFACE",pin2:"net.GND"}} />
    <resistor name="R900" schRotation={-90} resistance="100k" footprint="0402"
      pcbX={+4.7} pcbY={+2.4} schX={schX+7} schY={schY+5}
      schSectionName="CM5_POWER_CONTROL"
      connections={{pin1:"net.V5_IN",pin2:"net.CM5_PMIC_ENABLE"}} />
    <resistor name="R901" schRotation={-90} resistance="10k" footprint="0402"
      pcbX={+7} pcbY={+2.4} schX={schX+7} schY={schY+2}
      schSectionName="CM5_POWER_CONTROL"
      connections={{pin1:"net.V5_IN",pin2:"net.CM5_PWR_BUTTON_N"}} />
    <chip name="U902" manufacturerPartNumber="SN74LVC2G17DCKR" footprint="sot363"
      pinLabels={dualBufferPins} pcbX={+12} pcbY={0} schX={schX+11} schY={schY-5}
      schSectionName="CM5_ROLE_TACH"
      connections={{A1:"net.CM5_USB_OTG_ID",Y1:"net.USB_OTG_ID_3V3",A2:"net.CM5_FAN_TACH",Y2:"net.FAN_TACH_3V3",VCC:"net.V3V3_INTERFACE",GND:"net.GND"}} />
    <capacitor name="C903" schRotation={-90} pcbRotation={180} capacitance="100nF" footprint="0402"
      pcbX={+12} pcbY={-2.2} schX={schX+11} schY={schY-8}
      schSectionName="CM5_ROLE_TACH"
      connections={{pin1:"net.V3V3_INTERFACE",pin2:"net.GND"}} />
    <resistor name="R902" schRotation={-90} resistance="100k" footprint="0402"
      pcbX={+10} pcbY={+2.4} schX={schX+7} schY={schY-3}
      schSectionName="CM5_ROLE_TACH"
      connections={{pin1:"net.V3V3_INTERFACE",pin2:"net.CM5_USB_OTG_ID"}} />
    <resistor name="R903" schRotation={-90} resistance="1.8k" footprint="0402"
      pcbX={+12} pcbY={+2.4} schX={schX+7} schY={schY-6}
      schSectionName="CM5_ROLE_TACH"
      connections={{pin1:"net.V3V3_INTERFACE",pin2:"net.CM5_FAN_TACH"}} />
  </group>
}

export function OpenDrainStatusOutputs({
  pcbX = 0, pcbY = 0, schX = 0, schY = 0,
}: InterfacePosition) {
  return <group name="CM5_STATUS_OUTPUTS" pcbX={pcbX} pcbY={pcbY}>
    <schematicsection name="CM5_OD_OUTPUTS" title="CM5 status LEDs" />
    <schematicsection name="CM5_FAN_OUTPUT" title="CM5 fan PWM" />
    <chip name="U903" manufacturerPartNumber="SN74LVC2G07DCKR" footprint="sot363"
      pinLabels={dualBufferPins} pcbX={0} pcbY={0} schX={schX} schY={schY}
      schSectionName="CM5_OD_OUTPUTS"
      connections={{A1:"net.SOC_LED_ACT_N_3V3",Y1:"net.CM5_LED_ACT_N",A2:"net.SOC_LED_PWR_N_3V3",Y2:"net.CM5_LED_PWR_N",VCC:"net.V3V3_INTERFACE",GND:"net.GND"}} />
    <capacitor name="C904" schRotation={-90} pcbRotation={180} capacitance="100nF" footprint="0402"
      pcbX={0} pcbY={-2.2} schX={schX} schY={schY-3}
      schSectionName="CM5_OD_OUTPUTS"
      connections={{pin1:"net.V3V3_INTERFACE",pin2:"net.GND"}} />
    <chip name="U904" manufacturerPartNumber="SN74LVC2G07DCKR" footprint="sot363"
      pinLabels={dualBufferPins} noConnect={["Y2"]} pcbX={+5} pcbY={0} schX={schX+8} schY={schY}
      schSectionName="CM5_FAN_OUTPUT"
      connections={{A1:"net.SOC_FAN_PWM_3V3",Y1:"net.CM5_FAN_PWM_OD",A2:"net.GND",VCC:"net.V3V3_INTERFACE",GND:"net.GND"}} />
    <capacitor name="C905" schRotation={-90} pcbRotation={180} capacitance="100nF" footprint="0402"
      pcbX={+5} pcbY={-2.2} schX={schX+1.2} schY={schY-3}
      schSectionName="CM5_FAN_OUTPUT"
      connections={{pin1:"net.V3V3_INTERFACE",pin2:"net.GND"}} />
    <resistor name="R904" schRotation={-90} resistance="100k" footprint="0402"
      pcbX={-2.5} pcbY={+1.4} schX={schX-4.5} schY={schY+2}
      schSectionName="CM5_OD_OUTPUTS"
      connections={{pin1:"net.SOC_LED_ACT_N_3V3",pin2:"net.V3V3_INTERFACE"}} />
    <resistor name="R905" schRotation={-90} resistance="100k" footprint="0402"
      pcbX={0} pcbY={+2.4} schX={schX-3.5} schY={schY-1}
      schSectionName="CM5_OD_OUTPUTS"
      connections={{pin1:"net.SOC_LED_PWR_N_3V3",pin2:"net.V3V3_INTERFACE"}} />
    <resistor name="R906" schRotation={-90} resistance="100k" footprint="0402"
      pcbX={+2.5} pcbY={+2.4} schX={schX+4} schY={schY+2}
      schSectionName="CM5_FAN_OUTPUT"
      connections={{pin1:"net.SOC_FAN_PWM_3V3",pin2:"net.GND"}} />
  </group>
}