Author Topic: Pins in real position or grouped by function in schematic symbol?  (Read 7058 times)

0 Members and 1 Guest are viewing this topic.

Offline ElektroQuarkTopic starter

  • Supporter
  • ****
  • Posts: 1245
  • Country: es
    • ElektroQuark
Designing a schematic symbol of a microcontroller with many pins.
How to draw pins? Like real IC or grouped by function, port, etc?
Or doesn't matter at all?

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8550
  • Country: us
    • SiliconValleyGarage
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #1 on: March 11, 2014, 08:24:39 pm »
in such an order that your schematic has the least amount of crossing possible
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 29349
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #2 on: March 11, 2014, 08:25:41 pm »
I like to do a symbol with an in/out flow. That is inputs grouped, outputs grouped.
Often in comes down to what will make you schematic look nice and easy to connect.
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 

Offline 8086

  • Super Contributor
  • ***
  • Posts: 1085
  • Country: gb
    • Circuitology - Electronics Assembly
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #3 on: March 11, 2014, 08:31:31 pm »
in such an order that your schematic has the least amount of crossing possible

This is how I go about it usually. Group by function and keep functional groups logical and separate.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22362
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #4 on: March 11, 2014, 08:42:16 pm »
I usually do MCUs by pinout, but bigger devices (large MCUs, CPLDs, and most any FPGAs) are not only better to draw symbolically, but the larger ones are impossible to draw by pinout on a single page.

Small functions (e.g., regulators, op-amps, controllers, etc.) I usually draw symbolically, while MSI functions (bus latches, decoders, etc.) I draw about as often symbolically as physically (by pinout).  Multipart components (op-amps, logic gates, etc.) always by symbolic parts.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #5 on: March 11, 2014, 08:44:07 pm »
in such an order that your schematic has the least amount of crossing possible

This.


It's a schematic, not a PCB layout.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7903
  • Country: nl
  • Current job: ATEX product design
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #6 on: March 11, 2014, 10:14:10 pm »
in such an order that your schematic has the least amount of crossing possible

This.


It's a schematic, not a PCB layout.

I think it really depends on the MCU. If you are using a nice (say) 48 pin cortex M3 the pins are usually nicely grouped anyway, and you can go with the order. If you are using ie an old infineon, where they used the roulette table and dices to decide the order of the pins, you are better off using multiple symbols and order the pins, since the manufacturer was unable to do so.
 

Offline ElektroQuarkTopic starter

  • Supporter
  • ****
  • Posts: 1245
  • Country: es
    • ElektroQuark
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #7 on: March 12, 2014, 07:19:12 am »
in such an order that your schematic has the least amount of crossing possible

So you have to modify the schematic symbol for each project.

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4278
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #8 on: March 12, 2014, 07:56:57 am »
On larger devices, I tend to group them together by function. With smaller devices I might start out with the pins arranged as per the physical pinout, but I'll happily move them around if it's likely to make the resulting schematic easier to read.

With few exceptions, power and ground pins get separated out into another symbol. This keeps them well out of the way and keeps the signal flow uncluttered. They're *always* made visible and *always* explicitly connected to the correct power rail.

Many years ago I was working as a design engineer for a major networking company. They had a parts library which was centrally managed, and it was the job of a small team of component librarians to actually draw up symbols for any new parts the engineers wanted to use.

We had to submit the component's data sheet, get commercial approval to use the part (please allow several weeks), then wait for the symbol to be drawn up for us. Only then could it go on the schematic.

They had a rule for symbols: inputs go on the left, and outputs on the right. Just like we were taught at school, when the most complex device has about four pins.

So, you want to use a device with a crystal oscillator in it? Fine, XI is on the left, and XO on the right. Hmm, yes, that's clear and uncluttered. :palm:

An FPGA? No problem. The JTAG input pins are on the left, TDO is on the right, and all the bidirectional I/O pins are top or bottom.  |O

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27839
  • Country: nl
    • NCT Developments
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #9 on: March 13, 2014, 09:11:02 pm »
Designing a schematic symbol of a microcontroller with many pins.
How to draw pins? Like real IC or grouped by function, port, etc?
Or doesn't matter at all?
I prefer to have the pins as they are on the physical device if the pins are accessible for probing. If the schematic symbol is the same as the physical package it is much easier to find the right pin to probe. Ground and power traces are usually easy to recognise so probing a pin 4 pins from 'that' power pin is easier than having to count from the beginning or end of a side of a chip.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline gxti

  • Frequent Contributor
  • **
  • Posts: 507
  • Country: us
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #10 on: March 13, 2014, 11:39:13 pm »
in such an order that your schematic has the least amount of crossing possible

This.


It's a schematic, not a PCB layout.
Wouldn't that be an argument in favor of making it a physical mapping? If your schematic wires don't cross then neither would the physical wires, after all. This is why I've switched to keeping the pins on MCUs in physical order other than power pins, because it's easy to see at a glance where I can connect something without needing to jump over 6 wires.

As for everything else, I'll stick to the physical pin order if it's convenient, otherwise move things around.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22362
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #11 on: March 13, 2014, 11:44:59 pm »
A schematic with PCB mapping would also allow wires to cross over components, and have multiple layers.

I've seen it before  :scared: :scared:
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Niklas

  • Frequent Contributor
  • **
  • Posts: 397
  • Country: se
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #12 on: March 15, 2014, 10:05:39 am »
It depends on the type of device and your preferences about how to draw a schematic. Put everything on a single sheet and draw all the wires or split it up into several sheets and use net name tags.

Usually I tend to make voltage regulators and switching regulators with inputs to the left, outputs to the right and GND down. That kind of device is usually connected with wires but for more complex devices, like microcontrollers, I use flags with net names. Microcontrollers will get their ports and functions (supply, oscillators etc) grouped by function on the left or right side. Power supply on top or bottom.
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2861
  • Country: au
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #13 on: March 15, 2014, 12:22:38 pm »
I almost never leave the pins in their "real" positions, especially for micros.
 

Offline HackedFridgeMagnet

  • Super Contributor
  • ***
  • Posts: 2034
  • Country: au
Re: Pins in real position or grouped by function in schematic symbol?
« Reply #14 on: March 15, 2014, 12:49:23 pm »
Obviously talking about MCUs here.
I was grouping by function until recently and now I have changed approaches and am now using physical mapping.
Assuming a flexible MCU, one where I can assign pins to lots of things, when assigning gpios into functional groups I can choose nearby pins, and when it comes to laying out the board as gxti said if you can minimise crossover on the schematic then you can do it on the pcb.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf