Hi
Hi, I have just started working with LTSpice on a basic circuit. I need to use opa625 from TI but cannot see any opa type opamps in my LTspice library. I am working in LTSpice IV. Is there a way to update the library? i have tried to use the PSpice opamp model from TI but I got an error regarding different no. of pins etc. I see in your post you mention opa694 and I was wondering where did you get access to that?
There are different opinions on how to manage access to third party components. But one way that will work is to keep the component definition files in the same folder as the schematic file. I'm sure others will have different opinions about this.
Regarding the pins....
If you look at this line in the opa625.txt file:
---------------------1---2--- 3---4-----5-----6 <-----pin order
.SUBCKT OPA625 INP INN VCC VEE OUT MODE <-----pin names
The pin order follows the device name. The pin names can be arbitrary but the order, left to right, is important.
The pin order must map to the pin order in the symbol. Sometimes, with third party devices, the pin order doesn't map correctly.
Not that this is wrong, but it may have been designed for use with a another party's symbol. So you, as the user, need to check this before using the model.
You can look at the symbol pin order:
Place the opamp2 symbol on the schematic
rht-clk the symbl,
clk open symbol
On the menu bar, clk "view" -> pin table
This will show the pin name mapping and pin number. Again, the name is arbitrary, but the pin number is what is used to map the symbol pin to the subckt pin. The significance of the symbol pin name is identifying its function for the device (but is not always the case, sometimes just numbers are used).
Now...to answer your pin question. If the number of pins used in the symbol does not match the number of pins in the subckt definition, the symbol will produce an error regarding a pin mismatch. One thing I have found is that LTspice also complains if numbers have been skipped in the symbol pin numbering sequence.
Anyhow, if you look at the number of pins defined in the subckt, there are 6.
But if you look at the number of pins defined in the opamp2 symbol, there are only 5.
So, you will need to copy the opamp2 to your schematic folder, rename it, then edit it to add the "MODE" pin.