X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sun, 21 Oct 2012 23:54:42 +0200 From: Jan Kasprzak To: geda-user AT delorie DOT com Subject: Re: [geda-user] Pin labeling: best practices? Message-ID: <20121021215442.GB24620@fi.muni.cz> References: <20121021202359 DOT GA24620 AT fi DOT muni DOT cz> <201210212130 DOT q9LLUHwt025462 AT envy DOT delorie DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201210212130.q9LLUHwt025462@envy.delorie.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-Muni-Spam-TestIP: 147.251.48.3 X-Muni-Envelope-From: kas AT fi DOT muni DOT cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (tirith.ics.muni.cz [147.251.4.35]); Sun, 21 Oct 2012 23:54:44 +0200 (CEST) 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 DJ Delorie wrote: : : What I do is split MCUs up into functional blocks - one block for all : the power/gnd pins, one for ISP, one for external memory bus, etc. : Then you can fiddle with block variants on a per-project basis. : : As for design-specific pin functions, what I do is leave the symbol's : pin named according to what the mcu's documentation uses, so that I : can remember what pin it "is" according to the mcu. Then I label the : net coming out of that pin right at the pin, with its design-specific : purpose. : : So, a pin that's GPIO port 9 bit 4, that's TxD3, that I happen to be : using for the console, might be named P94/TxD3 with the net named : CONSOLE_TX. Naming nets instead of pins seems reasonable, thanks! There is a problem wrt. my design with this approach, though: some pins of the MCU are used for programming as well as for other purposes. For example, one pin is used as clock input when downloading the firmware, and as a PWM output in normal operation. So I want the programming connector pin to be labeled "clock", but the whole net (maybe including the MCU pin) should be labeled "PWM 1" or something like that. IOW, I want the "clock" label to be visible somewhere near the connector pin (both in the schematics and in the PCB silk layer), and the label "PWM 1" visible near the CPU pin. How do you suggest to handle multi-purpose nets/pins? -Yenya -- | Jan "Yenya" Kasprzak | | GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E | | http://www.fi.muni.cz/~kas/ Journal: http://www.fi.muni.cz/~kas/blog/ | Please don't top post and in particular don't attach entire digests to your mail or we'll all soon be using bittorrent to read the list. --Alan Cox