diff --git a/README.md b/README.md index d9d53c65..6430a2ce 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,7 @@ The package currently exports these subcircuit components: - `BluetoothAudioHost_MSP430F5229` - `Microcontroller_MSPM0G3507` - `Microcontroller_MSPM33C3x` +- `Microcontroller_MSP430G2553_TIDA01539` ([TIDA-01539 design guide, Figure 12](https://www.ti.com/lit/pdf/TIDUDR8) and [MSP430G2553 LaunchPad target schematic, Figure 19](https://www.ti.com/lit/pdf/SLAU772)) - `LEDDriver_TLC59116` - `TemperatureSensor_TMP1075` - `TemperatureSensor_TMP1827` @@ -214,6 +215,7 @@ chip is listed individually below, including whether it supports a | `LMK1C1104` | `tssop_8` | `LMK1C1104PWR` | | `MSP430G2230ID` | `-` | `MSP430G2230ID` | | `MSP430F5229` | `-` | `MSP430F5229IRGCR` | +| `MSP430G2553Q1` | `-` | `MSP430G2553IPW0RQ1` | | `MSPM0G3507` | `lqfp_64` | `MSPM0G3507SPMR` | | `OPT3001` | `-` | `OPT3001IDNPRQ1` | | `SN65HVD1473` | `vssop_10` | `SN65HVD1473DGSR` | diff --git a/examples/RearviewMirrorModule.circuit.tsx b/examples/RearviewMirrorModule.circuit.tsx index da6637ac..39761fdb 100644 --- a/examples/RearviewMirrorModule.circuit.tsx +++ b/examples/RearviewMirrorModule.circuit.tsx @@ -3,6 +3,7 @@ import { ElectrochromicMirrorDriver_TIDA01539, LampDriver_TPS92638_TIDA00356, LightSensor_OPT3001_TIDA01539, + Microcontroller_MSP430G2553_TIDA01539, PowerSupply_LM74202_TPS7E81_Q1, TemperatureSensor_LM50HV_Q1, } from "@tsci/tscircuit.ti"; @@ -14,6 +15,7 @@ export default () => ( + diff --git a/index.ts b/index.ts index eb7e31b6..d5108c13 100644 --- a/index.ts +++ b/index.ts @@ -27,6 +27,7 @@ import { LMK1C1104, MSP430G2230ID, MSP430G2332IPW20, + MSP430G2553Q1, MSP430F5229, MSPM0L1306, MSPM33C3x, @@ -110,6 +111,7 @@ import { FlashMemory_W25Q128JVSIQ } from "./lib/subcircuits/FlashMemory_W25Q128J 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"; +import { Microcontroller_MSP430G2553_TIDA01539 } from "./lib/subcircuits/Microcontroller_MSP430G2553_TIDA01539.circuit.tsx"; import { USBC_PowerDeliveryProgrammablePowerSupply_TPS61288 } from "./lib/subcircuits/USBC_PowerDeliveryProgrammablePowerSupply_TPS61288.circuit.tsx"; import { CommunicationInterface_TCAN1042_TIDA01428 } from "./lib/subcircuits/CommunicationInterface_TCAN1042_TIDA01428.circuit.tsx"; import { ElectrochromicMirrorDriver_TIDA01539 } from "./lib/subcircuits/ElectrochromicMirrorDriver_TIDA01539.circuit.tsx"; @@ -169,6 +171,7 @@ export { BatteryCharging_2to5CellNVDCBuckBoost_BQ25731, BoostConverter_TPS61236, Microcontroller_MSP430G2332, + Microcontroller_MSP430G2553_TIDA01539, USBC_PowerDeliveryProgrammablePowerSupply_TPS61288, CommunicationInterface_TCAN1042_TIDA01428, ElectrochromicMirrorDriver_TIDA01539, @@ -207,6 +210,7 @@ export const TiChipComponents = { LMK1C1104, MSP430G2230ID, MSP430G2332IPW20, + MSP430G2553Q1, MSP430F5229, MSPM0L1306, MSPM33C3x, @@ -289,6 +293,7 @@ export const TiSubcircuitComponents = { BatteryCharging_2to5CellNVDCBuckBoost_BQ25731, BoostConverter_TPS61236, Microcontroller_MSP430G2332, + Microcontroller_MSP430G2553_TIDA01539, USBC_PowerDeliveryProgrammablePowerSupply_TPS61288, CommunicationInterface_TCAN1042_TIDA01428, ElectrochromicMirrorDriver_TIDA01539, diff --git a/lib/chips/MSP430G2553IPW0RQ1.circuit.tsx b/lib/chips/MSP430G2553IPW0RQ1.circuit.tsx new file mode 100644 index 00000000..69cb3aaa --- /dev/null +++ b/lib/chips/MSP430G2553IPW0RQ1.circuit.tsx @@ -0,0 +1,96 @@ +import type { ChipProps } from "@tscircuit/props"; +import "tscircuit"; + +export const MSP430G2553IPW0RQ1_PIN_LABELS = { + pin1: "DVCC", + pin2: ["P1_0", "TA0CLK", "ACLK", "A0", "CA0"], + pin3: ["P1_1", "TA0_0", "UCA0RXD", "UCA0SOMI", "A1", "CA1"], + pin4: ["P1_2", "TA0_1", "UCA0TXD", "UCA0SIMO", "A2", "CA2"], + pin5: ["P1_3", "ADC10CLK", "CAOUT", "VREF_N", "VEREF_N", "A3", "CA3"], + pin6: [ + "P1_4", + "SMCLK", + "UCB0STE", + "UCA0CLK", + "VREF_P", + "VEREF_P", + "A4", + "CA4", + "TCK", + ], + pin7: ["P1_5", "TA0_0", "UCB0CLK", "UCA0STE", "A5", "CA5", "TMS"], + pin8: ["P2_0", "TA1_0"], + pin9: ["P2_1", "TA1_1"], + pin10: ["P2_2", "TA1_1"], + pin11: ["P2_3", "TA1_0"], + pin12: ["P2_4", "TA1_2"], + pin13: ["P2_5", "TA1_2"], + pin14: ["P1_6", "TA0_1", "UCB0SOMI", "UCB0SCL", "A6", "CA6", "TDI", "TCLK"], + pin15: ["P1_7", "CAOUT", "UCB0SIMO", "UCB0SDA", "A7", "CA7", "TDO", "TDI"], + pin16: ["RST_NMI_SBWTDIO", "RESET", "SBWTDIO"], + pin17: ["TEST_SBWTCK", "TEST", "SBWTCK"], + pin18: ["P2_7", "XOUT"], + pin19: ["P2_6", "XIN", "TA0_1"], + pin20: "DVSS", +} as const; + +const bidirectionalPin = { + requiresPower: true, + providesPower: true, +} as const; + +/** Automotive MSP430G2553-Q1 in the 20-pin PW TSSOP package. */ +export const MSP430G2553IPW0RQ1 = ( + props: ChipProps, +) => ( + +); + +export const MSP430G2553Q1 = MSP430G2553IPW0RQ1; + +export default MSP430G2553IPW0RQ1; diff --git a/lib/chips/index.tsx b/lib/chips/index.tsx index 512519fb..125b02d5 100644 --- a/lib/chips/index.tsx +++ b/lib/chips/index.tsx @@ -29,6 +29,11 @@ export { export { LMK1C1104 } from "./LMK1C1104.circuit.tsx"; export { MSP430G2230ID } from "./MSP430G2230ID.circuit.tsx"; export { MSP430F5229 } from "./MSP430F5229.circuit.tsx"; +export { + MSP430G2553IPW0RQ1, + MSP430G2553IPW0RQ1_PIN_LABELS, + MSP430G2553Q1, +} from "./MSP430G2553IPW0RQ1.circuit.tsx"; export { MSPM0L1306 } from "./MSPM0L1306.circuit.tsx"; export { MSPM33C3x } from "./MSPM33C3x.circuit.tsx"; export { MSPM0G3507 } from "./MSPM0G3507.circuit.tsx"; diff --git a/lib/subcircuits/Microcontroller_MSP430G2553_TIDA01539.circuit.tsx b/lib/subcircuits/Microcontroller_MSP430G2553_TIDA01539.circuit.tsx new file mode 100644 index 00000000..797e91f9 --- /dev/null +++ b/lib/subcircuits/Microcontroller_MSP430G2553_TIDA01539.circuit.tsx @@ -0,0 +1,149 @@ +import type { SubcircuitProps } from "@tscircuit/props"; +import "tscircuit"; +import { MSP430G2553IPW0RQ1 } from "../chips/MSP430G2553IPW0RQ1.circuit.tsx"; + +/** + * MSP430G2553-Q1 controller for the TIDA-01539 rearview-mirror application. + * + * The power and reset support follows the MSP-EXP430G2 target schematic. The + * application nets follow TIDA-01539 Figure 12, which connects the LaunchPad + * to the light sensors, DAC and electrochromic-mirror discharge control. + */ +export const Microcontroller_MSP430G2553_TIDA01539 = ( + props: SubcircuitProps, +) => ( + + + + + + + + + + + + + + + + + + + + +); + +export default Microcontroller_MSP430G2553_TIDA01539; diff --git a/lib/subcircuits/__snapshots__/Microcontroller_MSP430G2553_TIDA01539.circuit-schematic.snap.svg b/lib/subcircuits/__snapshots__/Microcontroller_MSP430G2553_TIDA01539.circuit-schematic.snap.svg new file mode 100644 index 00000000..75d81ca7 --- /dev/null +++ b/lib/subcircuits/__snapshots__/Microcontroller_MSP430G2553_TIDA01539.circuit-schematic.snap.svg @@ -0,0 +1,26 @@ +MSP430G2553IPW0RQ1MSP11DVCC2P1_03P1_14P1_25P1_36P1_47P1_58P2_09P2_110P2_211P2_312P2_413P2_514P1_615P1_716RST_NMI_SBWTDIO17TEST_SBWTCK18P2_719P2_620DVSSC210uFC31uFC40.1uFR710kΩR510kΩR410kΩR610kΩR1047kΩC131000pFRESETV3P3V3P3V3P3RST_SBWTDIORST_SBWTDIOGNDGNDGNDOPT_FOPT_FSCLSCLSDASDAOPT_BOPT_BDISC \ No newline at end of file