krishnax12/tlv3601-evm-recreation

Complete TI TLV3601EVM reference circuit with TLV3601/TLV3603 assembly options, Matchpack schematic, and a new autorouted four-layer PCB. Not TI's original artwork or hardware validated. Preview builds from the verified local native export; regenerating TSX requires local outline-keepout support. See reference.json.

Version
0.0.5
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone krishnax12/tlv3601-evm-recreation  # download the package files into ./tlv3601-evm-recreation
tsci add krishnax12/tlv3601-evm-recreation    # add it to your project as @tsci/krishnax12.tlv3601-evm-recreation

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.

index.circuit.tsx

import { BypassCapacitors } from "./components/bypass-capacitors"
import { Comparator, type ComparatorDevice } from "./components/comparator"
import { SmaConnector } from "./components/sma-connector"

export const testpointFootprintRef =
  "kicad:TestPoint/TestPoint_Keystone_5019_Miniature"

export const signalTraceWidth = 0.25
export const pourClearance = 0.3

export default function Tlv3601Evm({
  device = "tlv3601",
}: { device?: ComparatorDevice } = {}) {
  return (
    <board
      width="54mm"
      height="54mm"
      thickness="1.6mm"
      layers={4}
      title="TLV3601EVM circuit recreation"
      schLayout={{ layoutMode: "match-adapt" }}
      autorouter="auto_local"
      autorouterVersion="beta_pipeline7"
      minTraceWidth={signalTraceWidth}
    >
      <schematicsheet
        name="signals"
        displayName="Comparator and signal paths"
        sheetIndex={1}
      >
        <schematicsection
          name="signals"
          displayName="Comparator, inputs and outputs"
        />
      </schematicsheet>
      <schematicsheet
        name="power"
        displayName="Power and bypassing"
        sheetIndex={2}
      >
        <schematicsection
          name="power"
          displayName="Supply connections and decoupling"
        />
      </schematicsheet>
      <schematicsheet
        name="hysteresis"
        displayName="Hysteresis and latch"
        sheetIndex={3}
      >
        <schematicsection
          name="hysteresis"
          displayName="Optional TLV3603 hysteresis and latch control"
        />
      </schematicsheet>
      <net name="GND" isGroundNet />
      <net name="VCC" isPowerNet />
      <net name="VEE" isPowerNet />
      <net name="IN_P" />
      <net name="IN_N" />
      <net name="OUT" />
      <net name="OUT_ATTENUATED" />
      <net name="LE_HYST" />
      <net name="HYST_RAIL" />
      <net name="IN_P_FEED" />
      <net name="IN_N_FEED" />
      <net name="IN_P_SENSE" />
      <net name="IN_N_SENSE" />
      <Comparator
        schSheetName="signals"
        schSectionName="signals"
        name={device === "tlv3601" ? "U2" : "U1"}
        device={device}
        pcbRotation={270}
      />
      <SmaConnector
        name="J1"
        schSheetName="signals"
        schSectionName="signals"
        pcbX={-22}
        pcbY={8}
        connections={{ SIGNAL: "net.IN_P_FEED", GND: "net.GND" }}
      />
      <SmaConnector
        name="J2"
        schSheetName="signals"
        schSectionName="signals"
        pcbX={-8}
        pcbY={22}
        pcbRotation={270}
        connections={{ SIGNAL: "net.IN_N_FEED", GND: "net.GND" }}
      />
      <SmaConnector
        name="J3"
        schSheetName="signals"
        schSectionName="signals"
        pcbX={-22}
        pcbY={-8}
        connections={{ SIGNAL: "net.IN_P_SENSE", GND: "net.GND" }}
      />
      <SmaConnector
        name="J4"
        schSheetName="signals"
        schSectionName="signals"
        pcbX={-8}
        pcbY={-22}
        pcbRotation={90}
        connections={{ SIGNAL: "net.IN_N_SENSE", GND: "net.GND" }}
      />
      <SmaConnector
        name="J5"
        schSheetName="signals"
        schSectionName="signals"
        pcbX={22}
        pcbY={8}
        pcbRotation={180}
        connections={{ SIGNAL: "net.OUT_ATTENUATED", GND: "net.GND" }}
      />
      <SmaConnector
        name="J6"
        schSheetName="hysteresis"
        schSectionName="hysteresis"
        pcbX={22}
        pcbY={-8}
        pcbRotation={180}
        connections={{ SIGNAL: "net.LE_HYST", GND: "net.GND" }}
      />
      <SmaConnector
        name="J7"
        schSheetName="hysteresis"
        schSectionName="hysteresis"
        pcbX={8}
        pcbY={-22}
        pcbRotation={90}
        connections={{ SIGNAL: "net.LE_HYST", GND: "net.GND" }}
      />
      <resistor
        name="R1"
        schSheetName="signals"
        schSectionName="signals"
        resistance="0"
        manufacturerPartNumber="CRCW06030000Z0EA"
        footprint="0603"
        pcbX={-5}
        pcbY={1.5}
        connections={{ pin1: "net.IN_P_FEED", pin2: "net.IN_P" }}
      />
      <resistor
        name="R2"
        schSheetName="signals"
        schSectionName="signals"
        resistance="0"
        manufacturerPartNumber="CRCW06030000Z0EA"
        footprint="0603"
        pcbX={-5}
        pcbY={-1.5}
        connections={{ pin1: "net.IN_N_FEED", pin2: "net.IN_N" }}
      />
      <resistor
        name="R3"
        schSheetName="signals"
        schSectionName="signals"
        resistance="0"
        manufacturerPartNumber="CRCW06030000Z0EA"
        footprint="0603"
        pcbX={-8}
        pcbY={4}
        connections={{ pin1: "net.IN_P_SENSE", pin2: "net.IN_P" }}
      />
      <resistor
        name="R4"
        schSheetName="signals"
        schSectionName="signals"
        resistance="0"
        manufacturerPartNumber="CRCW06030000Z0EA"
        footprint="0603"
        pcbX={-8}
        pcbY={-4}
        connections={{ pin1: "net.IN_N_SENSE", pin2: "net.IN_N" }}
      />
      <resistor
        name="R5"
        schSheetName="signals"
        schSectionName="signals"
        resistance="0"
        manufacturerPartNumber="CRCW06030000Z0EA"
        footprint="0603"
        pcbX={-2.8}
        pcbRotation={90}
        doNotPlace
        displayName="R5 DNP: optional termination"
        connections={{ pin1: "net.IN_P", pin2: "net.IN_N" }}
      />
      <resistor
        name="R6"
        schSheetName="signals"
        schSectionName="signals"
        resistance="0"
        manufacturerPartNumber="CRCW06030000Z0EA"
        footprint="0603"
        pcbY={4}
        doNotPlace
        displayName="R6 DNP: optional feedback"
        connections={{ pin1: "net.IN_P", pin2: "net.OUT" }}
      />
      <resistor
        name="R7"
        schRotation={180}
        schSheetName="hysteresis"
        schSectionName="hysteresis"
        resistance="150k"
        manufacturerPartNumber="CRCW0603150KJNEA"
        footprint="0603"
        pcbX={1}
        pcbY={-4}
        pcbRotation={90}
        doNotPlace={device === "tlv3601"}
        connections={{ pin1: "net.LE_HYST", pin2: "net.HYST_RAIL" }}
      />
      <resistor
        name="R8"
        schSheetName="signals"
        schSectionName="signals"
        resistance="1k"
        manufacturerPartNumber="RC0603FR-071KL"
        footprint="0603"
        pcbX={5}
        pcbY={1.5}
        connections={{ pin1: "net.OUT", pin2: "net.OUT_ATTENUATED" }}
      />
      <BypassCapacitors />
      <pinheader
        name="J8"
        schSheetName="power"
        schSectionName="power"
        pinCount={2}
        pitch="2.54mm"
        manufacturerPartNumber="TSW-102-07-G-S"
        pcbX={13}
        pcbY={19}
        pinLabels={{ pin1: "GND", pin2: "VEE" }}
        connections={{ pin1: "net.GND", pin2: "net.VEE" }}
      />
      <pinheader
        name="J9"
        schSheetName="hysteresis"
        schSectionName="hysteresis"
        pinCount={3}
        pitch="2.54mm"
        manufacturerPartNumber="PEC03SAAN"
        pcbX={4}
        pcbY={-9}
        pinLabels={{ pin1: "VEE", pin2: "HYST_RAIL", pin3: "VCC" }}
        connections={{
          pin1: "net.VEE",
          pin2: "net.HYST_RAIL",
          pin3: "net.VCC",
        }}
      />
      <pinheader
        name="J10"
        schSheetName="signals"
        schSectionName="signals"
        pinCount={2}
        pitch="2.54mm"
        gender="female"
        manufacturerPartNumber="399-43-102-10-003000"
        pcbX={12}
        pcbY={12}
        pinLabels={{ pin1: "OUT", pin2: "GND" }}
        connections={{ pin1: "net.OUT_ATTENUATED", pin2: "net.GND" }}
      />
      <testpoint
        name="TP1"
        schSheetName="power"
        schSectionName="power"
        manufacturerPartNumber="5019"
        footprint={testpointFootprintRef}
        pcbX={-12}
        pcbY={14}
        footprintVariant="pad"
        padShape="rect"
        width={3.8}
        height={2}
        connections={{ pin1: "net.VCC" }}
      />
      <testpoint
        name="TP2"
        schSheetName="power"
        schSectionName="power"
        manufacturerPartNumber="5019"
        footprint={testpointFootprintRef}
        pcbX={-5}
        pcbY={14}
        footprintVariant="pad"
        padShape="rect"
        width={3.8}
        height={2}
        connections={{ pin1: "net.VEE" }}
      />
      <testpoint
        name="TP3"
        schSheetName="power"
        schSectionName="power"
        manufacturerPartNumber="5019"
        footprint={testpointFootprintRef}
        pcbX={3}
        pcbY={14}
        footprintVariant="pad"
        padShape="rect"
        width={3.8}
        height={2}
        connections={{ pin1: "net.GND" }}
      />
      <copperpour
        layer="inner1"
        connectsTo="net.GND"
        clearance={pourClearance}
        boardEdgeMargin="0.5mm"
      />
      <copperpour
        layer="bottom"
        connectsTo="net.GND"
        clearance={pourClearance}
        boardEdgeMargin="0.5mm"
      />
      <fiducial
        name="FID1"
        pcbX={-18}
        pcbY={18}
        padDiameter="1mm"
        soldermaskPullback="0.5mm"
      />
      <fiducial
        name="FID2"
        pcbX={18}
        pcbY={18}
        padDiameter="1mm"
        soldermaskPullback="0.5mm"
      />
      <fiducial
        name="FID3"
        pcbX={18}
        pcbY={-18}
        padDiameter="1mm"
        soldermaskPullback="0.5mm"
      />
      <fiducial
        name="FID4"
        pcbX={-18}
        pcbY={18}
        layer="bottom"
        padDiameter="1mm"
        soldermaskPullback="0.5mm"
      />
      <fiducial
        name="FID5"
        pcbX={18}
        pcbY={18}
        layer="bottom"
        padDiameter="1mm"
        soldermaskPullback="0.5mm"
      />
      <fiducial
        name="FID6"
        pcbX={18}
        pcbY={-18}
        layer="bottom"
        padDiameter="1mm"
        soldermaskPullback="0.5mm"
      />
      <silkscreentext
        text="TLV3601EVM recreation"
        pcbX={0}
        pcbY={25}
        fontSize={0.8}
      />
      <silkscreentext
        text="KrishnaX12 - unvalidated"
        pcbX={0}
        pcbY={-17}
        fontSize={0.7}
      />
      <silkscreentext text="IN+" pcbX={-17} pcbY={10} fontSize={0.8} />
      <silkscreentext text="IN+ SENSE" pcbX={-15} pcbY={-8} fontSize={0.7} />
      <silkscreentext text="IN-" pcbX={-8} pcbY={17} fontSize={0.8} />
      <silkscreentext text="IN- SENSE" pcbX={-8} pcbY={-17} fontSize={0.7} />
      <silkscreentext text="OUT" pcbX={17} pcbY={10} fontSize={0.8} />
      <silkscreentext text="LE/HYST" pcbX={16} pcbY={-8} fontSize={0.8} />
      <silkscreentext text="HYST SENSE" pcbX={8} pcbY={-17} fontSize={0.7} />
    </board>
  )
}