Hello,
I’m currently giving KiCad a try, and ran into a problem with the simulation. In short, I’m trying to simulate a MCP1501 voltage reference with a model that I got from
here
with the zip-archive being directly available
here
I’m using one of the .txt files that I got from this archive, but so far I’ve been unable to get that simulation running. I suspect, that it may have something to do with the fact, that the physical part has six legs, three of which are GND, whereas the SPICE model having only four “pins”, if that’s how it’s called.
The header of the spice-model is:
* source MCP1501
.SUBCKT MCP1501 GND nSHDN OUT VDD
* | | | |
* | | | Power supply input
* | | Buffered VREF Output
* | Shutdown Pin
* System Ground
Meanwhile the pins of the physical part are enumerated as:
1: OUT
2: GND
2: GND
4: SHDN
5: GND
6: VDD
I’ve tried to set a alternative node-order in the dialog where the spice-file is being imported, and did try the following two lines:
3 1 1 2 1 4
OUT GND GND nSHDN GND VDD
I’ve also tried to switch the pins in this alternative pin settings dialog, which however appeared to not work at all with another part, i.e. seems broken in my version, whereas specifying the line with the new ordering worked.
I always get the following error-message from the simulator:
Too many parameters for subcircuit type "mcp1501" (instance: xxu2)
So what am I doing wrong? I’m using version 6.0.11 with ngspice-34, and would have to install another OS to run the newer versions, which I’d be hesitant to do without knowing if it would fix this issue.