X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=6XnH0fZFWWplaHkhWDsnPgW0nxHkQpZ+PYFpTOE00ro=; b=INGpiON4+TN70frSR5DysFileKlsEnlvJOJzhJz8Ccm/z/eLuxHf95/h+eNmk6XClF 8eBS+LM+StBun7A7ym7Q+MhqtxxGfgeeAuwdx2WaNdSDItpUC2lim0SgOsOWDhKHv/Sr TvIwkPmX17iPrAWJ3H6jBwhlvIb98W8LSe5NecTXtFjQE56MNa6dUHs7BSTUkrfdorwS pkvG1j75gbaje4dte/zez75CmEzMHiD62L326972rFINCWA9dnSNcpeMUzBCMNjeTAPV a9wTWBxLgr6ufAW2AFXJplW2E8QsHYKge364cyFMU96P9CUBwH+vawDgp4j+SqbIhVCf g0LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=6XnH0fZFWWplaHkhWDsnPgW0nxHkQpZ+PYFpTOE00ro=; b=Uc1sdYE2pqBTpaLuc/rErcjWBHYbMznTb4ZZzf3I1LMEN3HjrVEQMbjicL1cg5yHiE jH8HMVcFCH8NGF+q6MueP8CuFdIVHnNR0C+U10j1Jy4/8/hmnTxaZQcxzNy3EJ4yyo7N VC/PXr+Vh4Ix/G6zOlLOqgMH8bfGKQ1Qd92GeuwqIySkEFrpCW5oEMIbgnnkpEFTJWkn xynSq1lbkP1nqEjX1O8QMq8qywhAby+T/OzLfwf2YXqASADGclQLt9jVSXAzQ6RrF0NC noMSR7FeM49fbFKIgjv2vPAIcscHb3vUbg+otsNW/eI0yLKRfl/AyEQTR6onZ7/xt2Iv +psw== X-Gm-Message-State: APt69E2u1FYZIQ6KU2t2UCU3BrVQylvtlG4quTOUt88Yv6uz7E7i3xrX MMTvUsbyoHI0FJd9aZj03IK8HVsz2hDMfKR+o3AGSQ== X-Google-Smtp-Source: AAOMgpfCLKRBUJSBlsPTU/OwxQ1Bbm19zGGcQJUwSGpmFZzNIM0J2WyE0spdn2DtMSrtE7dGt+VzQlATNHQe7UC9p6o= X-Received: by 2002:a1f:298b:: with SMTP id p133-v6mr16370671vkp.39.1531318275637; Wed, 11 Jul 2018 07:11:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <910e5ecd-24a2-fdb6-432a-0fa913cf3559 AT neurotica DOT com> <0dd0f101-93ae-1126-ab61-7d9d16886f78 AT ecosensory DOT com> From: "Rob Butts (r DOT butts2 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Wed, 11 Jul 2018 10:11:15 -0400 Message-ID: Subject: Re: [geda-user] How to define for an exposed pad to connect to 3 pins/pads To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000db87fe0570b9d13d" Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --000000000000db87fe0570b9d13d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have a circuit board with a L6474 stepper motor driver. Nicklas, I don't see a difference between the L6470 and the L6474 (aside from price). What made you go with the L6474? On Wed, Jul 11, 2018 at 10:06 AM, Rob Butts wrote: > Thanks, now I understand the pi number after the net name. > > On Wed, Jul 11, 2018 at 9:39 AM, Stephan B=C3=B6ttcher wr= ote: > >> "Rob Butts (r DOT butts2 AT gmail DOT com) [via geda-user AT delorie DOT com]" >> writes: >> >> > I believe Stephan's solution is what I'm looking for. My only >> confusion is >> > the "3" in net =3D GND:3 How does that tie into the net=3D GND:1? >> >> The '3' is the pin number. >> >> A symbol instance in a schematic can have any number of net=3D attribute= s >> of the form: >> >> net=3D=C2=ABNETNAME=C2=BB:=C2=ABPIN=C2=BB >> >> This is typically used for power pins. I try to avouid that. I use >> expicit, visible net=3D attributes for grounded mounting holes a lot. >> >> Here we talk about a symbol with pins 1 and 2 where nets are drawn, and >> the footprint has an additinal pin 3, where you need to attach a net to. >> >> You can construct a complete netlist in gschem format with pin-less >> symbols, with refdes=3D and net=3D attributes attached. >> >> NB, I was wondering about corner cases. Say, a symbol has atttributes >> >> net=3DGND:7 >> net=3DVCC:14 >> >> In the schematic I promote one of them, and add a third >> >> net=3DV33:14 >> net=3DnOE:1 >> >> Is there a formal rule that ensures that the net=3DGND:7 in the symbol i= s >> accepted, but the net=3DVCC:14 is not? Or do I need to always promote a= ll >> net=3D attibutes if I attache any to the symbol instance? >> >> Stephan >> >> > >> > On Wed, Jul 11, 2018 at 8:55 AM, Rob Butts wrote: >> > >> >> Yes, I believe so. >> >> >> >> On Tue, Jul 10, 2018 at 6:52 PM, John Griessen (john AT ecosensory DOT com) >> [via >> >> geda-user AT delorie DOT com] wrote: >> >> >> >>> On 07/10/2018 05:06 PM, Dave McGuire (mcguire AT neurotica DOT com) [via >> >>> geda-user AT delorie DOT com] wrote: >> >>> >> >>>> In the >> >>>> schematic, I use a standard resistor, which has two pins, 1 and 2. >> The >> >>>> DPAK PCB footprint has pin 3, which is what gave me trouble. >> >>>> >> >>> >> >>> >> >>> I say, "There is no on-the-fly way to do that in the GUI." [John >> folds >> >>> arms resolutely] >> >>> >> >>> "It's handled like DJ said:" >> >>> >> >>> "treat the exposed pad like any other pin/pad, give it a >> >>> pinnumber (make one up) and expose it in the schematic symbol." >> >>> >> >>> Then connect in gschem and output a new netlist, or import from >> gschem. >> >>> >> >>> And now Stephan comes up with this! >> >>> >> >>> "On 07/10/2018 05:33 PM, Stephan B=C3=B6ttcher wrote: >> >>> > The footprint has three pins, the schematic symbol only two. Add = a >> net=3D >> >>> > attribute to the symbol instance to tell where the third pin shall >> >>> > connect to >> >>> > >> >>> > net=3DGND:3" >> >>> >> >>> Sounds like what you were wanting. >> >>> >> >>> >> >>> >> >> >> >> -- >> Stephan >> >> > --000000000000db87fe0570b9d13d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a circuit board with a L= 6474 stepper motor driver.=C2=A0

Nicklas, I don&#= 39;t see a difference between the L6470 and the L6474 (aside from price).= =C2=A0 What made you go with the L6474?

On Wed, Jul 11, 2018 at 10:= 06 AM, Rob Butts <r DOT butts2 AT gmail DOT com> wrote:
Thanks, now I understand the pi number= after the net name.

On Wed, Jul 11, 2018 at 9:= 39 AM, Stephan B=C3=B6ttcher <geda AT psjt DOT org> wrote:
"Rob Butts (r DOT butts2 AT gmail DOT com) [via geda-user AT delorie DOT com]"
<geda-user AT delorie DOT com> writes:

> I believe Stephan's solution is what I'm looking for.=C2=A0 My= only confusion is
> the "3" in net =3D GND:3=C2=A0 How does that tie into the ne= t=3D GND:1?

The '3' is the pin number.

A symbol instance in a schematic can have any number of net=3D attributes of the form:

=C2=A0 net=3D=C2=ABNETNAME=C2=BB:=C2=ABPIN=C2=BB

This is typically used for power pins.=C2=A0 I try to avouid that.=C2=A0 I = use
expicit, visible net=3D attributes for grounded mounting holes a lot.

Here we talk about a symbol with pins 1 and 2 where nets are drawn, and
the footprint has an additinal pin 3, where you need to attach a net to.
You can construct a complete netlist in gschem format with pin-less
symbols, with refdes=3D and net=3D attributes attached.

NB, I was wondering about corner cases.=C2=A0 Say, a symbol has atttributes=

=C2=A0net=3DGND:7
=C2=A0net=3DVCC:14

In the schematic I promote one of them, and add a third

=C2=A0net=3DV33:14
=C2=A0net=3DnOE:1

Is there a formal rule that ensures that the net=3DGND:7 in the symbol is accepted, but the net=3DVCC:14 is not?=C2=A0 Or do I need to always promote= all
net=3D attibutes if I attache any to the symbol instance?

Stephan

>
> On Wed, Jul 11, 2018 at 8:55 AM, Rob Butts <r DOT butts2 AT gmail DOT com> wrote:
>
>> Yes, I believe so.
>>
>> On Tue, Jul 10, 2018 at 6:52 PM, John Griessen (john AT ecosensory DOT com) [via
>> geda-us= er AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
>>
>>> On 07/10/2018 05:06 PM, Dave McGuire (mcguire AT neurotica DOT com) [via
>>> ged= a-user AT delorie DOT com] wrote:
>>>
>>>>=C2=A0 =C2=A0In the
>>>> schematic, I use a standard resistor, which has two pins, = 1 and 2.=C2=A0 The
>>>> DPAK PCB footprint has pin 3, which is what gave me troubl= e.
>>>>
>>>
>>>
>>> I say, "There is no on-the-fly way to do that in the GUI.= "=C2=A0 [John folds
>>> arms resolutely]
>>>
>>> "It's handled like DJ said:"
>>>
>>> "treat the exposed pad like any other pin/pad, give it a<= br> >>> pinnumber (make one up) and expose it in the schematic symbol.= "
>>>
>>> Then connect in gschem and output a new netlist, or import fro= m gschem.
>>>
>>> And now Stephan comes up with this!
>>>
>>> "On 07/10/2018 05:33 PM, Stephan B=C3=B6ttcher wrote:
>>> > The footprint has three pins, the schematic symbol only t= wo.=C2=A0 Add a net=3D
>>> > attribute to the symbol instance to tell where the third = pin shall
>>> > connect to
>>> >
>>> >=C2=A0 =C2=A0 net=3DGND:3"
>>>
>>> Sounds like what you were wanting.
>>>
>>>
>>>
>>

--
Stephan



--000000000000db87fe0570b9d13d--