Hold on, did you also define the SUBCKT for OPA164x???? I presume you did since this is what TI provides.? But I want to make sure.
Basically, what you've done is to "call" two versions of the OPA164x subcircuit.? I used the word "call" in quotes since it's not a true procedure call.
Further, do you know that this model works in Gnu SPICE?? (I am presuming that's what KiCAD uses).
On Wed, Feb 5, 2025 at 8:42?PM matthew via <matthew=[email protected]> wrote:
I'm having fun with variations on the OPA Alice circuit and would like to be able to model using SPICE in KiCAD. I found the model on TI's website but it doesn't have the correct subcircuit for a 1642, which has 8 pins. I modified that lib with the following:
?
``` * Added by matthew to model the 8-pin OPA1642AID .SUBCKT OPA1642AID OUT_A IN-_A IN+_A VEE IN+_B IN-_B OUT_B VCC XU1 IN+_A IN-_A VCC VEE OUT_A OPA164x XU2 IN+_B IN-_B VCC VEE OUT_B OPA164x .ENDS OPA1642AID ``` I then made sure that the pins match the symbol in my schematic, but when I tried to run an OP test, I got a bunch of warning and errors. Before I go down the path of trying to trouble-shoot all of this, does anyone have any experience with this who can offer any advice for modeling the OPA Alice circuit??
PS. I'm very new to electronics. I am a software engineer and have worked adjacent to and have even manage electrical engineers but this is not my area of expertise.