Free Trials

Download a free trial to find out which Altium software best suits your needs

How to Buy

Contact your local sales office to get started on improving your design environment

Downloads

Download the latest in PCB design and EDA software

  • PCB DESIGN SOFTWARE
  • Altium Designer

    Complete Environment for Schematic + Layout

  • CircuitStudio

    Entry Level, Professional PCB Design Tool

  • CircuitMaker

    Community Based PCB Design Tool

  • NEXUS

    Agile PCB Design For Teams

  • CLOUD PLATFORM
  • Altium 365

    Connecting PCB Design to the Manufacturing Floor

  • COMPONENT MANAGEMENT
  • Altium Concord Pro

    Complete Solution for Library Management

  • Octopart

    Extensive, Easy-to-Use Component Database

  • PRODUCT EXTENSIONS
  • PDN Analyzer

    Natural and Effortless Power Distribution Network Analysis

  • See All Extensions
  • EMBEDDED
  • TASKING

    World-Renowned Technology for Embedded Systems Development

  • TRAININGS
  • Live Courses

    Learn best practices with instructional training available worldwide

  • On-Demand Courses

    Gain comprehensive knowledge without leaving your home or office

  • ONLINE VIEWER
  • Altium 365 Viewer

    View & Share electronic designs in your browser

  • Altium Designer 20

    The most powerful, modern and easy-to-use PCB design tool for professional use

    ALTIUMLIVE

    Annual PCB Design Summit

    • Forum

      Where Altium users and enthusiasts can interact with each other

    • Blog

      Our blog about things that interest us and hopefully you too

    • Ideas

      Submit ideas and vote for new features you want in Altium tools

    • Bug Crunch

      Help make the software better by submitting bugs and voting on what's important

    • Wall

      A stream of events on AltiumLive you follow by participating in or subscribing to

    • Beta Program

      Information about participating in our Beta program and getting early access to Altium tools

    All Resources

    Explore the latest content from blog posts to social media and technical white papers gathered together for your convenience

    Downloads

    Take a look at what download options are available to best suit your needs

    How to Buy

    Contact your local sales office to get started improving your design environment

    • Documentation

      The documentation area is where you can find extensive, versioned information about our software online, for free.

    • Training & Events

      View the schedule and register for training events all around the world and online

    • Design Content

      Browse our vast library of free design content including components, templates and reference designs

    • Webinars

      Attend a live webinar online or get instant access to our on demand series of webinars

    • Support

      Get your questions answered with our variety of direct support and self-service options

    • Technical Papers

      Stay up to date with the latest technology and industry trends with our complete collection of technical white papers.

    • Video Library

      Quick and to-the-point video tutorials to get you started with Altium Designer

    What to do With Unused Pins on a Microcontroller

    Altium Designer
    |  October 24, 2018

    Utilizing unused junk

    I must admit that I’m not exactly the right person to turn to for cleaning tips. I dread the annual spring cleaning as there are always surprises in the storerooms to deal with. Occasionally, I stumble upon items that I barely even recognize but eventually decide to hold on to.

    While my indecisiveness with unused items results in some nagging from my wife and loss of additional space, failing to deal with unused pins on a microcontroller can have larger consequences. It may result in issues that go undetected during the prototyping stage and comes back to haunt you when hundreds of microcontroller are deployed on-site.

    What Happens When You Leave Unused Pins Unconnected

    In a typical microcontroller design, it’s normal to end up with some unused pins. These may be general purpose inputs and outputs or pins that are merely labeled as “NC” in the datasheet. The quick and easy solution is to leave these pins unconnected as this means less routing for the hardware as well as less space occupied on the PCB.

    However, the consequences of doing so can include the unstable operation of the microcontroller in an actual application or, on a serious note, outright damage to the component itself. The effect of unused pins varies as it depends on the types of pins and the potential risks they pose when left unconnected.

    One of the most significant concerns is presented by unused input pins. These pins are usually tied to internal pull-up or pull-down resistors; leaving them floating usually does not affect the algorithm of the microcontroller. However, keeping the input pins floating makes them a perfect magnet for attracting electrostatic discharges (ESD) or electromagnetic interference (EMI).

    Output pins seldom have issues when left unconnected, but there are some cases where oscillation may occur on an unconnected output pin and affect the stability of internal logic. The only pins that you should leave unconnected are pins noted to contain internal circuitry for factory testing. They are usually denoted by “IC” and highlighted explicitly on the datasheet.

    How to Connect Unused Pins in a Microcontroller

    This is a question that often troubles novice hardware designers. Electronics experts have varying opinions on the right way to manage the unused pins. Generally, I have followed a certain set of principles throughout my design career.

    Hardware resistor

    Connect unused input pins to pull-up or pull-down resistors.

    Some would claim that connecting the unused pins to ground or Vcc would be the best way to eliminate the risk of EMI interference. However, doing so poses a threat of its own while reducing the flexibility of the design. The pin would suffer damage when the firmware developer accidentally turns the pin to an output, and it draws or sinks excessive current beyond its limit.

    Instead, the input pins should be connected to a pull-up or pull-down resistor. This will provide a balance between flexibility and EMI reduction on the design.

    Output pins are generally safe when unconnected, but it’s a good practice to connect them to pull-up instead of pull-down resistors to minimize idle currents. Having external resistors also means that heat dissipation is evenly distributed instead of concentrated on the microcontroller itself.

    Not connected

    Some pins are best left unconnected.

    As for pins that are labeled ‘NC,’ the lack of standardization from the manufacturers means that you should always read the datasheet thoroughly before deciding if they are best left unconnected, or a resistor tied to ground or Vcc is required. Some of these ‘NC’ pins may be physically unconnected to the rest of the internal circuitry while some are meant for factory usage.

    If space is not a significant issue on your PCB, it’s also a great idea to route all of the unused pins to a single connector. This allows the pins to be tested and used in the future, should any need to do so arise.

    With comprehensive PCB design software like Altium Designer®, terminating the unused pins with resistors is convenient. Altium’s offers all the necessary components and includes additional resources to help optimize your PCB design. If you have more concerns about unused pins, talk to an Altium expert for more tips.

    About Author

    About Author

    PCB Design Tools for Electronics Design and DFM. Information for EDA Leaders.

    most recent articles

    Back to Home