jettos/powercore16-revc-complete-board-model

This code defines the hardware layout for a power distribution and control circuit featuring high-current power inputs, multiple output switches with programmable fuses, MCU-based control, input connectors, and communication interfaces, all represented with specific component footprints and connectivity zones.

Version
0.4.8
License
unset
Stars
0

src/outputChannels.ts

export const outputChannelData = Array.from({ length: 16 }, (_, i) => {
  const n = i + 1
  const highCurrent = n <= 4
  return {
    channel: `OUT${n}`,
    switchRef: `U_OUT${n}`,
    efuseRef: `EFUSE_OUT${n}`,
    outputNet: `OUT${n}_HS`,
    enableNet: `OUT${n}_EN`,
    currentSenseNet: `OUT${n}_IS`,
    diagnosticNet: `OUT${n}_DIAG`,
    candidate: highCurrent ? "Infineon BTS50015-1TAD class" : "Infineon BTS7004-1EPP class",
    maxA: highCurrent ? 25 : 13,
    planningA: highCurrent ? 25 : 10,
    connectorClass: highCurrent ? "DTP 25A class" : "DT 10A default / 13A max class",
  }
})