KiCad FreeRoute – Why Does KiCad Connect IC’s Input Pin with Ground?

autorouterkicad

After uploading my PCB design for manufacture, I got an error message about an input pin (#14) of one of the ICs (U4; a TDA7560 amp) being connected to GND and GNDA:

Result  Source net  Source pad  Destination net Destination pad R [Ω]
  Short GND         D1 / 2      NET-(C22-PAD1)  C22 / 1         0
  Short GND         D1 / 2      GNDA            D4 / 2          0
  Short GNDA        D4 / 2      NET-(C22-PAD1)  C22 / 1         0

But: I have never defined such a connection in the KiCad schema I had drawn:

schema

There is just one connection to one of the outputs of the mixer chip on the left via coupling cap and nothing more.

Nevertheless, after generating the net file, constructing the PCB layout, and making FreeRoute do all the routings, I got a conductor path (Net–(C22–Pad1)) crossing the net tie (!) between GND and GNDA. See the path highlighted in pink, which should only connect the C22 cap with pin #14 of U4:

faulty path

It collides both with GND, and with GNDA where the net tie connecting GND and GNDA lies. Is this a bug in KiCad's Pcbnew or FreeRoute?

UPDATE: When correcting the PCB layout, I found out that the net tie was in fact connected to the NET-(C22-PAD1) path with a narrow white line. See the screenshot below. Does this mean that the wrong connection was already in the net list? Then it becomes somehow mysterious why the DRC didn't warn me.

PCB detail with white lines

Best Answer

Hover/select D1, press M, move it out of the way, then D4 and C22. Check for suspicious wiring; delete and redo them, but they are probably fine. In my experience, KiCAD will complain if you violate design rules, both at schematic stage and PCB stage. Problem is, you loaded the netlist into an external tool and autorouted it; KiCAD was then unaware of the changes. Perhaps it should be, but a DRC check is not done automatically.

Looks to me like the highlighted track was erroneously ran overtop the GNDA track or vice-versa by the auto-router. If so, FreeRoute lived up to it's cost (free.) Always do a DRC (design rule check) before fab.

As a bodge, cut that skinny track right near GNDA on both sides. Just touching it with a dremel cut-off disc is very fast. Then run a wire from U4.14 to C22. 30ga Kynar wire works great for this; use an x-acto blade to cut the insulation by rolling the wire under it gently.

Related Topic