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


Download the latest in PCB design and EDA software

  • Altium Designer

    Complete Environment for Schematic + Layout

  • CircuitStudio

    Entry Level, Professional PCB Design Tool

  • CircuitMaker

    Community Based PCB Design Tool


    Agile PCB Design For Teams

  • Altium 365

    Connecting PCB Design to the Manufacturing Floor

  • Altium Concord Pro

    Complete Solution for Library Management

  • Octopart

    Extensive, Easy-to-Use Component Database

  • PDN Analyzer

    Natural and Effortless Power Distribution Network Analysis

  • See All Extensions

    World-Renowned Technology for Embedded Systems Development

  • Live Courses

    Learn best practices with instructional training available worldwide

  • On-Demand Courses

    Gain comprehensive knowledge without leaving your home or office

  • 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


    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


    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

    How a Single Ground Connection Messed up 100 Units of MP3 Players

    July 24, 2017

    MP3 Player


    Technology is pretty great and it has definitely made certain things in life easier. However, when you’re juggling parenting, coding, electronics design and occasionally writing an article like this. Sometimes even the coolest apps can’t mitigate the stress we experience in a day. For example, this morning I accidentally mistook salt for sugar and mixed it into my child’s favorite porridge. One small mistake on my part and suddenly my 5-year-old has enough sass to give Gordon Ramsey a run for his money.


    Likewise, sometimes the slightest mistake could mean the undoing of a great design. If you’re very lucky, this mistake could be the equivalent of spending ten minutes dealing with your child’s tantrum. Unfortunately, in the PCB design world, this usually means dealing with hundreds of faulty designs. I experienced the latter scenario five years ago. A small design error left me with exactly 100 units of customized MP3 players with faulty audio on the left channel. This mistake was such a pain that I can still remember every detail of it.


    When grounds are the same but different

    Before you start designing MP3 players or any audio-based PCB projects you need to focus on what is important, and sometimes that isn’t quite clear. This morning I thought that getting my kid his porridge was the goal, but really the key was to put the right kind of sugar in it. Likewise, you might be completely focused on what sort of specialized integrated chips (IC) you’re going to use, but knowing the importance of the various grounds in your electronics circuit will seal the deal. In college, we learn about power ground, digital ground, analog ground in circuits design.


    Grounding Symbol

    Not all grounds are the same.


    When you are designing audio players you have to deal with analog and digital ground. These grounds appeared on the schematics with different symbols, yet they appear to be connected to one another in a PCB layout. When you refer to some of the best practices in ground placement, you’ll notice that most would advise that they are connected to a single point, for example, a star ground.


    To ignore this advice is unforgivable, but the worst thing you could do is have a single ground plane for your whole audio design. When you are connecting the audio ground and the digital ground with a single point and you are getting interference in your audio channel, then you’ll start to wonder why.


    As for me, I came close to losing tens of thousands of dollars and a major revision before I found out that the interference was caused by Serial Peripheral Interface (SPI) signals that were connecting the audio IC to a microcontroller (MCU). However, that didn’t save my team countless hours of manually fixing the issues that were affecting hundreds of units of MP3 players.


    Why where you connect the grounds matter  

    I learned two of my biggest lessons in electronics design from this fiasco. First, always study a technical user guide completely. Second, where you connect the various ground planes matters. I would have avoided this catastrophe have I obeyed the first lesson. This is what I did wrong in the original design:


    High tech PCB

    Messing up the ground plane can be catastrophic.


    The MP3 player that I designed consists of an MCU and an audio IC. The MCU connects to the audio IC via SPI. It needs to stream MP3 data continuously for the audio IC to decode the data into audio signals. The mistake I made was placing an analog ground plane under the whole audio IC, and connecting the analog ground and the digital ground of the MCU between the two components.


    This caused the digital SPI signals to run closely, and in parallel, to part of the analog ground and caused the SPI coupling to the audio channel to have interference. Now, we often treat signals and ground as two different entities in design. however, in basic physics, the pulses of zeros and ones are made up of a complete current loop. In this case, the return path for SPI signals crossed the analog ground that was supposed to be free from digital noise.


    How shifting the digital and audio ground boundary eliminate the noise interference

    I didn’t take any chances on the second revision and went through the technical guide of the audio IC three times. Some ICs will have an analog and digital ground coming out of the package. These terms are misleading, because they often refer to the inner workings of the chip, and should be tied together immediately on the outside of the package. The connection of these two grounds should then become the single point where the analog and digital grounds connect. Then the return current paths for the two planes will not cross each other and interfere with any signals.


    With the SPI signals having its return path clearly on the digital ground, I said a quick prayer and produced my second batch of revised MP3 players. Thankfully, there were no rude shocks in these new production units.


    Confused over the various ground planes in your design? Experts at Altium are here to help you out. To avoid repeating my mistakes, speak to an expert at Altium. Want to design excellent audio circuits? CircuitStudio might be the professional design software you need to get started.

    most recent articles

    Back to Home