Hi Rene, that’s how it was set up in the data base. I had already corrected the GND PIN definition to Power Input (see original post) but then got the error, that the GND pin wasn’t being driven. How about that?
Cheers,
Goz
Hi Rene, that’s how it was set up in the data base. I had already corrected the GND PIN definition to Power Input (see original post) but then got the error, that the GND pin wasn’t being driven. How about that?
Cheers,
Goz
Hi Rene,
Thanks. But as you’ll see.from the schematic, the GND pin is attached to, well…ground. So I can’t add a power flag. What’s also strange ist that as the two modules of the 556 both have the Vcc and GND pins they have to be connected together as they are the same. But this is what Kicad is complaining about!?*
HELP
Thanks.
Martin
the power flag is different to the power symbols like ground. Read the FAQ post i linked above for more details but the short version is:
power symbols are global labels (hidden power input pins)
power flags are power output pins intended to mark the place where power comes from
So here’s the resulting error when specifying the GND pin as Power Input:
Why is the first module’s GND pin driven yet the second isn’t? They’re a common pin between modules and both are connected to the GND net.
Martin
U1 seems to be a multi part symbol. You have pins 7 and 14 on both units. Do not connect both of them!
I would suggest not to have the power pins on both units. Put them on a separate power only unit. More details on that see my tutorial for creating symbols: Tutorial: How to make a symbol (KiCad v5.1.x) (one of the tutorials shows how to make a proper multi unit symbol with power pins on a separate unit)
This should probably be a bug report against the standard libraries if the repository hasn’t been fixed since the release of 5.0.2.
I just checked my 5.0.2 install (using the libraries that were in the installer package) and in the timer library is the LM556 (with several aliases) and it is comprised of only 2 units, both have both pins 7 and 14. Both pins are power inputs, so I don’t know how the OP got them as power outputs unless he made that change to try to fix the not driven error. (The OP did state in the original post that he was using the standard symbol libraries.)
I hope this is not a golden rule. There are a benefits having power input pins on every units of a symbols.
I do connect all of them. It actually easily detected if 2 defined net short by this way in ERC too (if it implemented).
Had you try add PWR_FLAG for the GND net? It may just because the ERC stop there since Pin 7 are actually the identical event it draw on two location.
Hi!
As the OP I can confirm that I used the standard library. I can also confirm that in desperation, I tried the pin definitions in all flavours (power input and output) to try to find a solution (and in fact ended up defining the pins as “passive” to prevent the error - I know, not the intention, but it was a clunky solution to an annoying problem). I also changed the layout of the pins to be (for me) schematic friendly).
Goz
Also, I never/rare use Power Output pin for symbol, event with regulator output IC. ERC will not understand the circuitry that well. So any 2 or more power output pins get on same net it will yell. Event the power symbol. This is why, it very hard to find the reason for using this Power Output type.
I thought GND was a PWR_FLAG by definition? No?
Goz
I don’t think so. No exception for any power symbol including GND. Sofware treat all the same kind of symbol.
No it is different as explained above.
I simply think the benefits of having power pins on a separate unit outweigh the downsides. If you design such a part properly then you can overlay the power pins with your normal unit and get the same result as if you have it on a single unit. But you gain the massive advantage of being able to have all of your power stuff consolidated in a particular place.
The main downside is that kicad does not check if you have all units of a multi unit symbol placed.
Hopefully the new file format will be more flexible in this regard.
Oh dear, now I’m confused. From your “above” Rene, I’m assuming you mean the link you sent. Well there it states the following:
So the GND flag is actually a “power input” meaning it could be able to be connected to a “power output” OR a “power input”, which makes sense. As such, I think my problem lies with the fact that EEschema can’t deal with two modules having the same power input and ground pins for both modules, as both you and SembazuruCDE have both commented.
However not connecting the power and ground of one module, brings yet more problems:
Goz
Got it. Thanks. I’m using a duff schematic from the standard library
Kann mal passieren.
Thanks again.
Goz
I would say depend. I had try both styles, I end up that conclusion. It help my coworker review schematic much easier. When I have about 10+ such part on the schematic, I very hard to not make a dump mistake (not connect power to the part). So I like to have power pins on every units (there are always exception to this).
@Rene - so I’ve now included a third unit for power only and superimposed it over the first unit and connected it all up and now have the following:
So I connected the grounds together and defined the GND pin as a Power Output and got the following:
Success! So the GND Pin needs to be a Power Output, right?
Goz
which gnd did you define as power out? I hope not the one of U1!
Place a power flag near on the gound net near where you connect ground to your external power source. (Most likely a connector)
Do it this way to ensure that ERC can detect if you have connected the ground pins of your symbol to where you get power into the PCB