tscircuit/ti
ti tscircuit library
- Version
- 1.0.193
- License
- unset
- Stars
- 0
lib/subcircuits/LVDSDriver_SN65LVDS31_TIDA060017.circuit.tsx
import type { SubcircuitProps } from "@tscircuit/props";
import "tscircuit";
import { SN65LVDS31D } from "../chips/SN65LVDS31D.circuit.tsx";
/**
* Four-channel LVDS line-driver half of TI TIDA-060017.
*
* Reproduces U1, R1-R4, and the VCC1 bypass bank (C1/C3/C4) from
* "TIDA-060017 Schematic(SN65LVDS31_33)", omitting only test headers.
* @see https://www.ti.com/tool/TIDA-060017
*/
export const LVDSDriver_SN65LVDS31_TIDA060017 = (props: SubcircuitProps) => (
<subcircuit routingDisabled {...props}>
<breakoutpoint connection=".U1 > .OUT2_P" pcbX={8.2} pcbY={3} />
<breakoutpoint connection=".U1 > .OUT2_N" pcbX={8.2} pcbY={2} />
<breakoutpoint connection=".U1 > .OUT3_P" pcbX={8.2} pcbY={1} />
<breakoutpoint connection=".U1 > .OUT3_N" pcbX={8.2} pcbY={-1} />
<breakoutpoint connection=".U1 > .OUT4_P" pcbX={8.2} pcbY={-2} />
<breakoutpoint connection=".U1 > .OUT4_N" pcbX={8.2} pcbY={-3} />
<SN65LVDS31D
name="U1"
schX={0}
schY={0}
pcbX={0}
pcbY={0}
connections={{
IN1: "net.IN1",
OUT1_P: "net.DIFF1_P",
OUT1_N: "net.DIFF1_N",
ENABLE: "net.ENABLE",
OUT2_N: "net.DIFF2_N",
OUT2_P: "net.DIFF2_P",
GND: "net.GND",
OUT3_P: "net.DIFF3_P",
OUT3_N: "net.DIFF3_N",
ENABLE_NOT: "net.ENABLE_NOT",
OUT4_N: "net.DIFF4_N",
OUT4_P: "net.DIFF4_P",
VCC: "net.VCC1_3V3",
}}
/>
{[
["R1", "net.IN1", -3.4, 1.35, false, -6.2, 3],
["R2", "U1.IN2", -3.4, -1.5, true, -6.2, -3],
["R3", "U1.IN3", 3.4, -1.5, true, 6.2, -3],
["R4", "U1.IN4", 5.2, -1.5, true, 6.2, 3],
].map(([name, signalTarget, schX, schY, signalOnTop, pcbX, pcbY]) => (
<resistor
key={name}
name={name as string}
resistance="49.9ohm"
footprint="0402"
schX={schX as number}
schY={schY as number}
schRotation={90}
pcbX={pcbX as number}
pcbY={pcbY as number}
connections={
signalOnTop
? { pin1: "net.GND", pin2: signalTarget as string }
: { pin1: signalTarget as string, pin2: "net.GND" }
}
/>
))}
<capacitor
name="C1"
capacitance="10uF"
footprint="0603"
schX={-1.4}
schY={-3.2}
schOrientation="vertical"
pcbX={-3}
pcbY={5.4}
connections={{ pin1: "net.VCC1_3V3", pin2: "net.GND" }}
/>
<capacitor
name="C3"
capacitance="0.01uF"
footprint="0402"
schX={0}
schY={-3.2}
schOrientation="vertical"
pcbX={0}
pcbY={5.4}
connections={{ pin1: "net.VCC1_3V3", pin2: "net.GND" }}
/>
<capacitor
name="C4"
capacitance="0.01uF"
footprint="0402"
schX={1.4}
schY={-3.2}
schOrientation="vertical"
pcbX={3}
pcbY={5.4}
connections={{ pin1: "net.VCC1_3V3", pin2: "net.GND" }}
/>
</subcircuit>
);
export default LVDSDriver_SN65LVDS31_TIDA060017;