¿ªÔÆÌåÓý

Re: integrate components from Texas Instruments


 

¿ªÔÆÌåÓý

On 26/04/2025 12:32, patrick.kasten22 via groups.io wrote:
Hi, I'm new to the group and also still a beginner with LTspice. I'm currently using LTspice 24.0.12 ¡ª should I rather download the newer version?
My actual problem is that I want to integrate components from Texas Instruments. I followed this video: .
One thing that's different for me: when I click "Create a Symbol," I have to manually save it. I've always saved it in the lib/sym folder. Otherwise, I¡¯m doing everything the same.
It sometimes works with simple components, but with ICs I often get error codes.
Is there a new method for this?
It would be simpler if you just said which component you're trying to make a symbol for. You're getting errors? What errors? We usually don't advise trying to follow Youtube videos, because they're often wrong, and the advice often poor. The first place to look is LTspice's Help manual. It's not an easy read, but contains most of what you need to know.

Anyhow...

There's basically a choice of two ways you can make a symbol for a model that you have.
  1. Draw the symbol outline manually. Add the pins. Save the symbol.
  2. Use LTspice to "Autogenerate" a symbol.
It sounds like you're using the first method. That's good, because at you have control over what the symbol looks like. For method (2), LTspice simply generates a rectangular symbol with the and arbitrary pin layout. It also automatically saves it in the \lib\sym\AutoGenerated folder. Unfortunately, it also hard-codes the ModelFile attribute to that folder on your computer, so nobody else can use it unless you (or they) edit the symbol.

You can, of course, combine the methods: let LTspice autogenerate the symbol, but then you can manually edit the symbol and move the pins where they makes sense, or to match the package, or whatever other criterion you choose. Then, you can re-save the edited symbol (manually) wherever it makes sense, which can be in the same folder as the schematic? schematic that uses it, together with the model. But you could save it anywhere you choose, but preferably not in the same place as LTspice's own symbols. It is suggested to define a separate folder where you keep your own symbols. You can tell LTspice where that is in Control Panel > Search Paths.

The main issue with making your own symbol is getting the pin order correct. Then it appears to simulate, but gives the wrong answers. Another common error, is having a mismatch between the number of pins in the symbol and the number defined in the model.

--
Regards,
Tony

Join [email protected] to automatically receive all group messages.