0
\$\begingroup\$

I am new to adding models to LTSpice. I have successfully added OPA350 from TI, but with MAX941 from Maxim Integrated I get some errors due to the LTSpice "opamp2" model does not have the same amount of pins as the MAX941.

I am not interested in simulation the MAX941 N/C, LATCH and SHUTDOWN pin, which then makes it compatible with the "opamp2" model. My question then is: Is it easy to remove the pins (N/C, LATCH, SHUTDOWN) by editing the .sub file? If so, how?

Here is a link to the MAX941 macro model file:

MAX941 macro model file

\$\endgroup\$
1
  • 1
    \$\begingroup\$ It sounds like you're trying to fit a square peg into a round hole. The MAX491 is a comparator, not an opamp. Nevertheless, you should be able to create a "wrapper" model that ties off the unused pins approprirately, rather than modifying the manufacturer's model directly. \$\endgroup\$
    – Dave Tweed
    Mar 6, 2014 at 20:41

1 Answer 1

0
\$\begingroup\$

What I basically did was use a DIP-8 symbol instead of the opamp2 and it worked.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.