Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ The package currently exports these subcircuit components:
- `LevelShifter_TXB0104`
- `LevelShifter_TXS0102`
- `RFIDReader_TRF7960`
- `PowerSupply_TIDA00699`

## Exported Chips

Expand All @@ -154,13 +155,17 @@ chip is listed individually below, including whether it supports a
| `CC2564C` | `-` | `CC2564C` |
| `CC2745R10` | `-` | `CC2745R10E0WRHARQ1` |
| `CC3235SF` | `vqfn_64_ep` | `CC3235SF12RGKR` |
| `CSD18531Q5A` | `-` | `CSD18531Q5A` |
| `DRV8833` | `-` | `DRV8833` |
| `DRV8876` | `-` | `DRV8876` |
| `HDC2080` | `wson_6_ep_3x3` | `HDC2080DMBR` |
| `HDC3020` | `wson_8_ep_2p5x2p5` | `HDC3020DEFR` |
| `HDC3022` | `wson_8_ep_2p5x2p5` | `HDC3022DEJR` |
| `INA237` | `vssop_10` | `INA237AQDGSRQ1` |
| `ISOW7841` | `soic_16_wide` | `ISOW7841DWR` |
| `LM25122Q1` | `htssop_20` | `LM25122QPWPTQ1` |
| `LM53603Q1` | `htssop_16` | `LM536035QPWPRQ1` |
| `LM74610Q1` | `vssop_8` | `LM74610QDGKRQ1` |
| `LMK1C1104` | `tssop_8` | `LMK1C1104PWR` |
| `MSP430G2230ID` | `-` | `MSP430G2230ID` |
| `MSP430F5229` | `-` | `MSP430F5229IRGCR` |
Expand All @@ -171,6 +176,7 @@ chip is listed individually below, including whether it supports a
| `TMP1827` | `-` | `TMP1827` |
| `TMP1075` | `wson_8_ep_2x2` | `TMP1075DSGR` |
| `TPS22919` | `-` | `TPS22919` |
| `TPS3808` | `sot_23_6` | `TPS3808G01QDBVRQ1` |
| `TPS6293` | `-` | `TPS6293` |
| `TPS61299X` | `sot_563_6` | `TPS61299DRLR` |
| `TPS63802` | `vson_hr_10` | `TPS63802DLAR` |
Expand Down
13 changes: 13 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ import {
CC2564C,
CC2745R10,
CC3235SF,
CSD18531Q5A,
DRV8833,
DRV8876,
HDC2080,
HDC3020,
HDC3022,
INA237,
ISOW7841,
LM25122Q1,
LM53603Q1,
LM74610Q1,
LMK1C1104,
MSP430G2230ID,
MSP430G2332IPW20,
Expand All @@ -43,6 +47,7 @@ import {
TPS63802,
TPS7A02,
TPS7A20,
TPS3808,
TPS78230DRVR,
TPSM82823,
TRF7960RHB,
Expand Down Expand Up @@ -95,6 +100,7 @@ import { LevelShifter_TXB0104 } from "./lib/subcircuits/LevelShifter_TXB0104.cir
import { LevelShifter_TXS0102 } from "./lib/subcircuits/LevelShifter_TXS0102.circuit.tsx";
import { RFIDReader_TRF7960 } from "./lib/subcircuits/RFIDReader_TRF7960.circuit.tsx";
import { FlashMemory_W25Q128JVSIQ } from "./lib/subcircuits/FlashMemory_W25Q128JVSIQ.circuit.tsx";
import { PowerSupply_TIDA00699 } from "./lib/subcircuits/PowerSupply_TIDA00699.circuit.tsx";
import { BatteryCharging_2to5CellNVDCBuckBoost_BQ25731 } from "./lib/subcircuits/BatteryCharging_2to5CellNVDCBuckBoost_BQ25731.circuit.tsx";
import { BoostConverter_TPS61236 } from "./lib/subcircuits/BoostConverter_TPS61236.circuit.tsx";
import { Microcontroller_MSP430G2332 } from "./lib/subcircuits/Microcontroller_MSP430G2332.circuit.tsx";
Expand Down Expand Up @@ -146,6 +152,7 @@ export {
LevelShifter_TXS0102,
RFIDReader_TRF7960,
FlashMemory_W25Q128JVSIQ,
PowerSupply_TIDA00699,
BatteryCharging_2to5CellNVDCBuckBoost_BQ25731,
BoostConverter_TPS61236,
Microcontroller_MSP430G2332,
Expand All @@ -167,13 +174,17 @@ export const TiChipComponents = {
CC2564C,
CC2745R10,
CC3235SF,
CSD18531Q5A,
DRV8833,
DRV8876,
HDC2080,
HDC3020,
HDC3022,
INA237,
ISOW7841,
LM25122Q1,
LM53603Q1,
LM74610Q1,
LMK1C1104,
MSP430G2230ID,
MSP430G2332IPW20,
Expand All @@ -197,6 +208,7 @@ export const TiChipComponents = {
TPS63802,
TPS7A02,
TPS7A20,
TPS3808,
TPS78230DRVR,
TPSM82823,
TRF7960RHB,
Expand Down Expand Up @@ -248,6 +260,7 @@ export const TiSubcircuitComponents = {
LevelShifter_TXS0102,
RFIDReader_TRF7960,
FlashMemory_W25Q128JVSIQ,
PowerSupply_TIDA00699,
BatteryCharging_2to5CellNVDCBuckBoost_BQ25731,
BoostConverter_TPS61236,
Microcontroller_MSP430G2332,
Expand Down
21 changes: 21 additions & 0 deletions lib/chips/CSD18531Q5A.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { MosfetProps } from "@tscircuit/props";
import "tscircuit";

/** CSD18531Q5A 60-V N-channel NexFET in the SON 5-mm x 6-mm package. */
export const CSD18531Q5A = (
props: Omit<MosfetProps, "channelType" | "mosfetMode">,
) => (
<mosfet
channelType="n"
mosfetMode="enhancement"
manufacturerPartNumber="CSD18531Q5A"
supplierPartNumbers={{
digikey: ["296-30573-1-ND"],
mouser: ["595-CSD18531Q5A"],
}}
datasheetUrl="https://www.ti.com/lit/ds/symlink/csd18531q5a.pdf"
{...props}
/>
);

export default CSD18531Q5A;
22 changes: 22 additions & 0 deletions lib/chips/LM25122Q1.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { ComponentProps } from "react";
import { LM25122QPWPTQ1 } from "./LM25122QPWPTQ1.circuit.tsx";

type LM25122Q1FootprintVariant = "htssop_20" | (string & {});

type LM25122Q1Props = ComponentProps<typeof LM25122QPWPTQ1> & {
footprintVariant?: LM25122Q1FootprintVariant;
};

/** LM25122-Q1 synchronous boost controller. */
export const LM25122Q1 = ({
footprintVariant = "htssop_20",
...props
}: LM25122Q1Props) => {
if (footprintVariant === "htssop_20") {
return <LM25122QPWPTQ1 {...props} />;
}

return <LM25122QPWPTQ1 {...props} />;
};

export default LM25122Q1;
55 changes: 55 additions & 0 deletions lib/chips/LM25122QPWPTQ1.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import type { ChipProps } from "@tscircuit/props";
import "tscircuit";

const pinLabels = {
pin1: "SYNCOUT",
pin2: "OPT",
pin3: "CSN",
pin4: "CSP",
pin5: "VIN",
pin6: "UVLO",
pin7: "SS",
pin8: "SYNCIN_RT",
pin9: "AGND",
pin10: "FB",
pin11: "COMP",
pin12: "SLOPE",
pin13: "MODE",
pin14: "RES",
pin15: "PGND",
pin16: "LO",
pin17: "VCC",
pin18: "SW",
pin19: "HO",
pin20: "BST",
pin21: "PAD",
} as const;

/** LM25122-Q1 synchronous boost controller in the PWP HTSSOP-20 package. */
export const LM25122QPWPTQ1 = (props: ChipProps<typeof pinLabels>) => (
<chip
manufacturerPartNumber="LM25122QPWPTQ1"
datasheetUrl="https://www.ti.com/lit/ds/symlink/lm25122-q1.pdf"
footprint="soic20_p0.65mm_w5.9mm_pw0.45mm_pl1.4mm_thermalpad3mmx4.2mm"
schWidth="5.2mm"
schHeight="6.4mm"
pinLabels={pinLabels}
schPinArrangement={{
leftSide: {
direction: "top-to-bottom",
pins: [5, 6, 8, 7, 3, 4, 2, 1],
},
rightSide: {
direction: "bottom-to-top",
pins: [20, 19, 18, 17, 16, 10, 11, 12, 13, 14],
},
bottomSide: {
direction: "left-to-right",
pins: [9, 15, 21],
},
}}
{...props}
/>
);

export default LM25122QPWPTQ1;
52 changes: 52 additions & 0 deletions lib/chips/LM536035QPWPRQ1.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import type { ChipProps } from "@tscircuit/props";
import "tscircuit";

const pinLabels = {
pin1: "SW_1",
pin2: "SW_2",
pin3: "CBOOT",
pin4: "VCC",
pin5: "BIAS",
pin6: "SYNC",
pin7: "FPWM",
pin8: "RESET",
pin9: "FB",
pin10: "AGND",
pin11: "EN",
pin12: "VIN_1",
pin13: "VIN_2",
pin14: "NC",
pin15: "PGND_1",
pin16: "PGND_2",
pin17: "PAD",
} as const;

/** LM53603-Q1 3-A automotive buck regulator in the PWP HTSSOP-16 package. */
export const LM536035QPWPRQ1 = (props: ChipProps<typeof pinLabels>) => (
<chip
manufacturerPartNumber="LM536035QPWPRQ1"
datasheetUrl="https://www.ti.com/lit/ds/symlink/lm53603-q1.pdf"
footprint="soic16_p0.65mm_w5.9mm_pw0.45mm_pl1.4mm_thermalpad2.48mmx3.37mm"
schWidth="4.8mm"
schHeight="5.8mm"
pinLabels={pinLabels}
schPinArrangement={{
leftSide: {
direction: "top-to-bottom",
pins: [4, 12, 13, 8, 11, 6, 7, 14],
},
rightSide: {
direction: "top-to-bottom",
pins: [3, 1, 2, 9, 5],
},
bottomSide: {
direction: "left-to-right",
pins: [10, 15, 16, 17],
},
}}
noConnect={["pin14"]}
{...props}
/>
);

export default LM536035QPWPRQ1;
22 changes: 22 additions & 0 deletions lib/chips/LM53603Q1.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { ComponentProps } from "react";
import { LM536035QPWPRQ1 } from "./LM536035QPWPRQ1.circuit.tsx";

type LM53603Q1FootprintVariant = "htssop_16" | (string & {});

type LM53603Q1Props = ComponentProps<typeof LM536035QPWPRQ1> & {
footprintVariant?: LM53603Q1FootprintVariant;
};

/** LM53603-Q1 3-A automotive buck regulator. */
export const LM53603Q1 = ({
footprintVariant = "htssop_16",
...props
}: LM53603Q1Props) => {
if (footprintVariant === "htssop_16") {
return <LM536035QPWPRQ1 {...props} />;
}

return <LM536035QPWPRQ1 {...props} />;
};

export default LM53603Q1;
22 changes: 22 additions & 0 deletions lib/chips/LM74610Q1.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { ComponentProps } from "react";
import { LM74610QDGKRQ1 } from "./LM74610QDGKRQ1.circuit.tsx";

type LM74610Q1FootprintVariant = "vssop_8" | (string & {});

type LM74610Q1Props = ComponentProps<typeof LM74610QDGKRQ1> & {
footprintVariant?: LM74610Q1FootprintVariant;
};

/** LM74610-Q1 smart-diode controller. */
export const LM74610Q1 = ({
footprintVariant = "vssop_8",
...props
}: LM74610Q1Props) => {
if (footprintVariant === "vssop_8") {
return <LM74610QDGKRQ1 {...props} />;
}

return <LM74610QDGKRQ1 {...props} />;
};

export default LM74610Q1;
39 changes: 39 additions & 0 deletions lib/chips/LM74610QDGKRQ1.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import type { ChipProps } from "@tscircuit/props";
import "tscircuit";

const pinLabels = {
pin1: "VCAPL",
pin2: "GATE_PULL_DOWN",
pin3: "NC_1",
pin4: "ANODE",
pin5: "NC_2",
pin6: "GATE_DRIVE",
pin7: "VCAPH",
pin8: "CATHODE",
} as const;

/** LM74610-Q1 smart-diode controller in the DGK VSSOP-8 package. */
export const LM74610QDGKRQ1 = (props: ChipProps<typeof pinLabels>) => (
<chip
manufacturerPartNumber="LM74610QDGKRQ1"
datasheetUrl="https://www.ti.com/lit/ds/symlink/lm74610-q1.pdf"
footprint="soic8_p0.65mm_w4.45mm_pw0.45mm_pl1.35mm"
schWidth="3.4mm"
schHeight="2.6mm"
pinLabels={pinLabels}
schPinArrangement={{
leftSide: {
direction: "top-to-bottom",
pins: [4, 1, 7],
},
rightSide: {
direction: "bottom-to-top",
pins: [8, 6, 2],
},
}}
noConnect={["pin3", "pin5"]}
{...props}
/>
);

export default LM74610QDGKRQ1;
22 changes: 22 additions & 0 deletions lib/chips/TPS3808.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { ComponentProps } from "react";
import { TPS3808G01QDBVRQ1 } from "./TPS3808G01QDBVRQ1.circuit.tsx";

type TPS3808FootprintVariant = "sot_23_6" | (string & {});

type TPS3808Props = ComponentProps<typeof TPS3808G01QDBVRQ1> & {
footprintVariant?: TPS3808FootprintVariant;
};

/** TPS3808 programmable-delay supervisor. */
export const TPS3808 = ({
footprintVariant = "sot_23_6",
...props
}: TPS3808Props) => {
if (footprintVariant === "sot_23_6") {
return <TPS3808G01QDBVRQ1 {...props} />;
}

return <TPS3808G01QDBVRQ1 {...props} />;
};

export default TPS3808;
Loading