Override pin type

Bug #1526213 reported by Per Jakobsen
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

Example:
uC is measuring the current on the low-side of an H-bridge. The H-bridge is connected to GND rail through a shunt resistor, and the uC is meauring voltage across the resistor (single-ended A/D). Without any flags I get "Pin connected to some other pins but no pin to drive it". Placing a flag on the high-side of the shunt resistor removes this DRC-warning, but introduces another one: "Conflict problem between pins" as the uC-pin is a configurable I/O (bi-directional).

Changing the type of the uC pin is not a good option, removing the check is not ideal, and allowing the warning is not good practice either.

It would be nice if one could override specific pins of a component, e.g. a bi-directional pin could be overridden as pure input or pure output if the specific schematic requires. This will remove the warnings, and also provide information on how the uC should be hardware-configured in this context.

I'm sure boards with FPGA's could benefit from this feature as well.

Tags: eeschema erc
Changed in kicad:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Steven Slupsky (sslupsky) wrote :

This request has been around for a few years. I have run into this issue several times. The ability to override an ERC check on a specific pin would be helpful to avoid unnecessarily having to make a new part from an existing library part.

tags: added: erc
tags: added: eeschema
Revision history for this message
Aaron Michael Williams (aaronw2) wrote :

This could be especially useful for connectors so that pins on connectors can be configured.

Revision history for this message
Paul van der hoeven (paulvdh) wrote :

On 2019-05-04 this popped up again in:
https://forum.kicad.info/t/pin-connected-to-other-pins-but-not-driven-by-any-pin/16788

Cause was a NPN transistor (ULN2003) switching the GND pin of a 556 timer.
As a hack / workaround I suggested to add the PWR_FLAG to the GND pin and add a net-tie to resolve the conflict with the other pin.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Configurable pin types will most likely make into v6. It requires the new file formats so there is a reasonable probability that we will get this done for v6.

Changed in kicad:
milestone: none → 6.0.0-rc1
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2002

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Wishlist → Unknown
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.