Quentin Santos

Obsessed with computers since 2002

My first PCB: AIC3204 eval board

I had some fun with the Adafruit TLV320DAC3100. This is a small board built around the (TLV320)DAC3100 audio chip. “DAC” stands for “Digital-to-Analog Conversion”; that is, it takes some audio signal (here, I²S) and converts it to the analog equivalent (differential for speakers, single-ended for headphones).

Adafruit’s breakout board for the DAC3100 chip, clearly visible in the middle of the board

Microcontrollers typically don’t have analog output, and getting analog circuitry right can be tricky. With something like the DAC3100 board, you can just tell the chip what sound you want to produce, without worrying about interference, and the chip will do the rest.

The other side would be “ADC”, or “Analog-to-Digital Conversion”. Most microcontrollers do have built-in ADC pins, and that’s often good enough.

But I wanted a challenge.

The AIC3204, the DAC3100’s sibling, does both DAC and ADC (it’s a codec), but there are no cheap eval boards out there1. Or, at least, there weren’t. Besides (and the actual reason), it would be a good way to practice designing a non-trivial PCB without much at stake.

Before committing to anything in hardware, I made a prototype using a breadboard:

Then made the schematic in KiCad:

Placed the components and wired them:

This is a 4-layer SIG-GND-GND-SIG stack-up (which seems to be a better default than SIG-GND-POWER-SIG). I tried to keep analog signals on layer 1 and digital signals on layer 4. I also went a bit overkill with differential-pair routing and phase matching, but it was an interesting exercise.

Took a look at the 3D render:

It is surprisingly hard to get 3D models for all the components

And finally2 placed an order with JLCPCB on July 25th. I received them in my mailbox on August 6th. The minimum order was 5 boards, so I received 5:

For a closer look:

In the end, I was able to replace this whole breadboard:

With just this (I didn’t have a spare screw terminal lying around, so I just soldered the speaker):

  1. If you drop the “cheap” qualifier, you can buy the TLV320AIC3204EVM-K for $261.45. ↩︎
  2. The previous steps actually took me a combined 49h. Granted, I was learning component picking, PCB stack-up, PCB layout and KiCad too. ↩︎

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

About me

I have always been fascinated with computers. Nowadays, I mostly use Rust, but I started out with a QuickBASIC book from the local library when I was in elementary school. I also got a Master in computer science from ENSL and a PhD in cryptography from ENS.

qsantos@qsantos.fr

All articles