Skip to content
Merged
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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ The package currently exports these subcircuit components:
- `PowerMonitor_INA237`
- `AudioAmplifier_TAS2505`
- `TargetSocket_MSPTS430D8`
- `BluetoothAudioHost_MSP430F5229`
- `Microcontroller_MSPM0G3507`
- `Microcontroller_MSPM33C3x`
- `LEDDriver_TLC59116`
Expand Down Expand Up @@ -148,6 +149,7 @@ chip is listed individually below, including whether it supports a
| `HDC3022` | `wson_8_ep_2p5x2p5` | `HDC3022DEJR` |
| `INA237` | `vssop_10` | `INA237AQDGSRQ1` |
| `MSP430G2230ID` | `-` | `MSP430G2230ID` |
| `MSP430F5229` | `-` | `MSP430F5229IRGCR` |
| `MSPM0G3507` | `lqfp_64` | `MSPM0G3507SPMR` |
| `TLV755P` | `sot_23_5` | `TLV75533PDBVR` |
| `TAS2505` | `-` | `TAS2505` |
Expand Down
5 changes: 5 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
HDC3022,
INA237,
MSP430G2230ID,
MSP430F5229,
MSPM33C3x,
MSPM0G3507,
TAS2505,
Expand Down Expand Up @@ -55,6 +56,7 @@ import { EnvironmentalSensor_HDC3022 } from "./lib/subcircuits/EnvironmentalSens
import { PowerMonitor_INA237 } from "./lib/subcircuits/PowerMonitor_INA237.circuit";
import { AudioAmplifier_TAS2505 } from "./lib/subcircuits/AudioAmplifier_TAS2505.circuit";
import { TargetSocket_MSPTS430D8 } from "./lib/subcircuits/TargetSocket_MSPTS430D8.circuit";
import { BluetoothAudioHost_MSP430F5229 } from "./lib/subcircuits/BluetoothAudioHost_MSP430F5229.circuit";
import { Microcontroller_MSPM0G3507 } from "./lib/subcircuits/Microcontroller_MSPM0G3507.circuit";
import { Microcontroller_MSPM33C3x } from "./lib/subcircuits/Microcontroller_MSPM33C3x.circuit";
import { LEDDriver_TLC59116 } from "./lib/subcircuits/LEDDriver_TLC59116.circuit";
Expand Down Expand Up @@ -98,6 +100,7 @@ export {
PowerMonitor_INA237,
AudioAmplifier_TAS2505,
TargetSocket_MSPTS430D8,
BluetoothAudioHost_MSP430F5229,
Microcontroller_MSPM0G3507,
Microcontroller_MSPM33C3x,
LEDDriver_TLC59116,
Expand Down Expand Up @@ -137,6 +140,7 @@ export const TiChipComponents = {
HDC3022,
INA237,
MSP430G2230ID,
MSP430F5229,
MSPM33C3x,
MSPM0G3507,
TAS2505,
Expand Down Expand Up @@ -178,6 +182,7 @@ export const TiSubcircuitComponents = {
PowerMonitor_INA237,
AudioAmplifier_TAS2505,
TargetSocket_MSPTS430D8,
BluetoothAudioHost_MSP430F5229,
Microcontroller_MSPM0G3507,
Microcontroller_MSPM33C3x,
LEDDriver_TLC59116,
Expand Down
10 changes: 10 additions & 0 deletions lib/chips/MSP430F5229.circuit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import type { ComponentProps } from "react";
import { MSP430F5229IRGCR } from "./MSP430F5229IRGCR.circuit.tsx";

export type MSP430F5229Props = ComponentProps<typeof MSP430F5229IRGCR>;

export const MSP430F5229 = (props: MSP430F5229Props) => (
<MSP430F5229IRGCR {...props} />
);

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

const pinLabels = {
pin1: ["P6.0/CB0", "CB0", "P6_0"],
pin2: ["P6.1/CB1", "CB1", "P6_1"],
pin3: ["P6.2/CB2", "CB2", "P6_2"],
pin4: ["P6.3/CB3", "CB3", "P6_3"],
pin5: ["P6.4/CB4", "CB4", "P6_4"],
pin6: ["P6.5/CB5", "CB5", "P6_5"],
pin7: ["P6.6/CB6", "CB6", "P6_6"],
pin8: ["P6.7/CB7", "CB7", "P6_7"],
pin9: ["P5.0", "P5_0"],
pin10: ["P5.1", "P5_1"],
pin11: "AVCC",
pin12: ["P5.4/XIN", "XIN", "P5_4"],
pin13: ["P5.5/XOUT", "XOUT", "P5_5"],
pin14: "AVSS",
pin15: "DVCC",
pin16: ["DVSS", "DVSS1"],
pin17: "VCORE",
pin18: ["P1.0/TA0CLK/ACLK", "P1_0", "ACLK"],
pin19: ["P1.1/TA0.0", "P1_1"],
pin20: ["P1.2/TA0.1", "P1_2"],
pin21: ["P1.3/TA0.2", "P1_3"],
pin22: ["P1.4/TA0.3", "P1_4"],
pin23: ["P1.5/TA0.4", "P1_5"],
pin24: ["P1.6/TA1CLK/CBOUT", "CBOUT", "P1_6"],
pin25: ["P1.7/TA1.0", "P1_7"],
pin26: ["P2.0/TA1.1", "P2_0"],
pin27: ["P2.1/TA1.2", "P2_1"],
pin28: ["P2.2/TA2CLK/SMCLK", "SMCLK", "P2_2"],
pin29: ["P2.3/TA2.0", "P2_3"],
pin30: ["P2.4/TA2.1", "P2_4"],
pin31: ["P2.5/TA2.2", "P2_5"],
pin32: ["P2.6/RTCCLK/DMAE0", "P2_6"],
pin33: ["P2.7/UCB0STE/UCA0CLK", "P2_7"],
pin34: ["P3.0/UCB0SIMO/UCB0SDA", "I2C_SDA", "P3_0"],
pin35: ["P3.1/UCB0SOMI/UCB0SCL", "I2C_SCL", "P3_1"],
pin36: ["P3.2/UCB0CLK/UCA0STE", "P3_2"],
pin37: ["P3.3/UCA0TXD/UCA0SIMO", "UART_TXD", "P3_3"],
pin38: ["P3.4/UCA0RXD/UCA0SOMI", "UART_RXD", "P3_4"],
pin39: ["DVSS", "DVSS2"],
pin40: "DVIO",
pin41: ["P4.0", "P4_0"],
pin42: ["P4.1", "P4_1"],
pin43: ["P4.2", "P4_2"],
pin44: ["P4.3", "P4_3"],
pin45: ["P4.4/PM_UCA1TXD", "DEBUG_TX", "P4_4"],
pin46: ["P4.5/PM_UCA1RXD", "DEBUG_RX", "P4_5"],
pin47: ["P4.6", "P4_6"],
pin48: ["P4.7", "P4_7"],
pin49: ["P7.0", "P7_0"],
pin50: ["P7.1", "P7_1"],
pin51: ["P7.2", "P7_2"],
pin52: ["P7.3", "P7_3"],
pin53: ["P7.4", "P7_4"],
pin54: ["P7.5", "P7_5"],
pin55: "BSLEN",
pin56: ["nRST/NMI", "nRST_NMI"],
pin57: ["P5.2", "P5_2"],
pin58: ["P5.3", "P5_3"],
pin59: ["TEST/SBWTCK", "TEST_SBWTCK"],
pin60: ["PJ.0/TDO", "TDO", "PJ_0"],
pin61: ["PJ.1/TDI/TCLK", "TDI", "PJ_1"],
pin62: ["PJ.2/TMS", "TMS", "PJ_2"],
pin63: ["PJ.3/TCK", "TCK", "PJ_3"],
pin64: ["nRSTDVCC/SBWTDIO", "nRST_SBWTDIO", "SBWTDIO"],
pin65: ["EP_GND", "EP", "thermalpad"],
} as const;

export const MSP430F5229IRGCR = (props: ChipProps<typeof pinLabels>) => (
<chip
manufacturerPartNumber="MSP430F5229IRGCR"
footprint="qfn64_thermalpad4.25mmx4.25mm_p0.5mm_h9mm_pw0.24mm_pl0.6mm"
schWidth="10mm"
schHeight="10mm"
pinLabels={pinLabels}
schPinArrangement={{
leftSide: {
direction: "top-to-bottom",
pins: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16],
},
bottomSide: {
direction: "left-to-right",
pins: [
65, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
],
},
rightSide: {
direction: "top-to-bottom",
pins: [48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33],
},
topSide: {
direction: "left-to-right",
pins: [64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49],
},
}}
schPinStyle={{
pin1: { marginBottom: 0.2 },
pin2: { marginBottom: 0.2 },
pin3: { marginBottom: 0.2 },
pin4: { marginBottom: 0.2 },
pin5: { marginBottom: 0.2 },
pin6: { marginBottom: 0.2 },
pin7: { marginBottom: 0.2 },
pin8: { marginBottom: 0.2 },
pin9: { marginBottom: 0.2 },
pin10: { marginBottom: 0.2 },
pin11: { marginBottom: 0.2 },
pin12: { marginBottom: 0.2 },
pin13: { marginBottom: 0.2 },
pin14: { marginBottom: 0.2 },
pin15: { marginBottom: 0.2 },
pin16: { marginBottom: 0.2 },
pin17: { marginRight: 0.2 },
pin18: { marginRight: 0.2 },
pin19: { marginRight: 0.2 },
pin20: { marginRight: 0.2 },
pin21: { marginRight: 0.2 },
pin22: { marginRight: 0.2 },
pin23: { marginRight: 0.2 },
pin24: { marginRight: 0.2 },
pin25: { marginRight: 0.2 },
pin26: { marginRight: 0.2 },
pin27: { marginRight: 0.2 },
pin28: { marginRight: 0.2 },
pin29: { marginRight: 0.2 },
pin30: { marginRight: 0.2 },
pin31: { marginRight: 0.2 },
pin32: { marginRight: 0.2 },
pin33: { marginBottom: 0.2 },
pin34: { marginBottom: 0.2 },
pin35: { marginBottom: 0.2 },
pin36: { marginBottom: 0.2 },
pin37: { marginBottom: 0.2 },
pin38: { marginBottom: 0.2 },
pin39: { marginBottom: 0.2 },
pin40: { marginBottom: 0.2 },
pin41: { marginBottom: 0.2 },
pin42: { marginBottom: 0.2 },
pin43: { marginBottom: 0.2 },
pin44: { marginBottom: 0.2 },
pin45: { marginBottom: 0.2 },
pin46: { marginBottom: 0.2 },
pin47: { marginBottom: 0.2 },
pin48: { marginBottom: 0.2 },
pin49: { marginRight: 0.2 },
pin50: { marginRight: 0.2 },
pin51: { marginRight: 0.2 },
pin52: { marginRight: 0.2 },
pin53: { marginRight: 0.2 },
pin54: { marginRight: 0.2 },
pin55: { marginRight: 0.2 },
pin56: { marginRight: 0.2 },
pin57: { marginRight: 0.2 },
pin58: { marginRight: 0.2 },
pin59: { marginRight: 0.2 },
pin60: { marginRight: 0.2 },
pin61: { marginRight: 0.2 },
pin62: { marginRight: 0.2 },
pin63: { marginRight: 0.2 },
pin64: { marginRight: 0.2 },
pin65: { marginRight: 0.2 },
}}
{...props}
/>
);

export default MSP430F5229IRGCR;
2 changes: 2 additions & 0 deletions lib/chips/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export { HDC3020 } from "./HDC3020.circuit.tsx";
export { HDC3022 } from "./HDC3022.circuit.tsx";
export { INA237 } from "./INA237.circuit.tsx";
export { MSP430G2230ID } from "./MSP430G2230ID.circuit.tsx";
export { MSP430F5229 } from "./MSP430F5229.circuit.tsx";
export { MSPM33C3x } from "./MSPM33C3x.circuit.tsx";
export { MSPM0G3507 } from "./MSPM0G3507.circuit.tsx";
export { TAS2505 } from "./TAS2505.circuit.tsx";
Expand Down Expand Up @@ -46,6 +47,7 @@ export { HDC2080DMBR } from "./HDC2080DMBR.circuit.tsx";
export { HDC3020DEFR } from "./HDC3020DEFR.circuit.tsx";
export { HDC3022DEJR } from "./HDC3022DEJR.circuit.tsx";
export { INA237AQDGSRQ1 } from "./INA237AQDGSRQ1.circuit.tsx";
export { MSP430F5229IRGCR } from "./MSP430F5229IRGCR.circuit.tsx";
export { MSPM0G3507SPMR } from "./MSPM0G3507SPMR.circuit.tsx";
export { TMP1075DSGR } from "./TMP1075DSGR.circuit.tsx";
export { W25Q128JVSIQ } from "./W25Q128JVSIQ.circuit.tsx";
Expand Down
Loading
Loading