This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Importing OPA380 model into LTspice

Other Parts Discussed in Thread: OPA380

I'm trying to import the OPA380 Pspice model into LTspice, but the program doesn't like how the nodes are numbered:

".SUBCKT OPA380 3 2 1 4 6"

We've had success before importing files that don't "skip a number".  For instance, if it was .SUBCKT 3 2 1 4 5 I'm pretty sure it would have worked.  Any suggestions on how to make this work correctly with LTspice?  The error message we receive is 'Port(pin) count mismatch between the definition of subcircuit "opa380" and instance: "xu1" The instance has more connection terminals than the definition'.

  • Hi, Jared,

    Did you use a schematic editor to create the testbench? If so, how many pins does the symbol have?

    Thanks,
    JC

  • LTspice has its own symbol design.  So what we did is took an existing opamp symbol and edited it (like we did for the other models from TI that worked correctly).  The symbol had 5 pins: the two source inputs, the two rail voltages and the output.  We even tried putting in a "dumby" pin and editing the Pspice .LIB file to have a additional "5" in the .SUBCKT line and that still didnt work.  As of right now we are going to try to use TINA as our simulation tool instead of LTspice because the two opamps we are using are TI models and the other components are either resistors,  capacitors and inductors (or can be modeled as such).