The idea is to build a high quality audio module together with libraries and example projects, using the external DAC (TLV320AIC23B - http://focus.ti.com/docs/prod/folders/print/tlv320aic23b.html) from Texas Instruments. The chip is designed for audio applications with an internal 30mW per channel headphone amplifier (driving 32Ohm speakers).
Here are the DACs features borrowed from the datasheet:
We are going to use the SOIC package for our experiments (the DAC is also available in QFN and BGA packages), mainly because is it a solder friendly package and the exposed pins will help us at the debugging process (easier to probe the exposed pins compared to no leaded packages like the QFNs).
The chip uses two communication protocols. The I2S protocol (http://www.nxp.com/acrobat_download2/various/I2SBUS.pdf) for the audio data and the I2C for control of the internal DAC registers (the alternative is the SPI but we don’t have feedback after every command so it is not the preferred way).
Now it is time to move from the datasheets and the free schematic drawings to something more professional. The design of the schematic and PCB with an appropriate editor. I know that one of the preferred choices here is the Eagle and I know that we have already published a few projects and libraries using this tool. But it was time to try and something new! The Design Spark PCB from RS (http://www.designspark.com/).
It takes only a few hours to get used to this program even if you don’t have lot of experience with acronyms and tool chain processes of PCB creation and PCB software’s in general. It is simple but without the loss of the functionality needed to build professionally circuits. Of course you can import really easily your already made libraries and projects from Eagle (link). But if you want to create a new library then you should defiantly try the footprint wizard! It works perfect and it is one of my favourites out there!
So, after the library creations (audio in/out sockets and DAC) and the connection of a few lines the schematic is ready. It looks simple and it is! Just the DAC together with his basic peripheral components (100nF ceramic capacitors) and an external clock source.
After the design of the schematic it was time to move to the PCB. From the menu bar of the Design Spark we select “Tools” and then “Translate to PCB”. The software will automatically load the layout editor with all of our components and the associated connections between those (the net-list in other words).
And the final result looks like this:
For the first experiments we’ve used the etch method. For those of you that haven’t try this method of PCB fabrication then it is time to try it. It is simple and creates good results. The only drawback is that you have to deal with chemicals and precise timings (depending on how concentrate are your fluids). After a few tries and errors you will have results defiantly better that the next one!

I will blame the aggressive chemicals for this one and possibly the old photo resist board! As the board is only one layer, we solder the audio in and out sockets upside down and then we wire everything for our first test board...
No tags
|
5 comments
Please login to post comments.
Hello Daniel,
great to see the community expanding the Mbed platform more and more. I am planning on doing a project with the same audio codec myself. I already aquired one of these chips and am ready for some software development. If needed I am willing to assist in testing and debugging of the library and example project. I have done quite a lot of projects with the mbed. I wrote a couple of libraries, an I am planning on releasing them to the public soon. In everyday life I am working as a electronics hardware engineer.
regards,
Laurens