This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCM3060: CODEC or ADC/DAC for Guitar Pedal Senior Design Project

Part Number: PCM3060
Other Parts Discussed in Thread: PCM4220, TLV320ADC6140

Greetings,

I am currently working on my senior design project. We are building a guitar pedal and we wanted to know which would fit best for our design.

We currently think that the PCM3060 would be a good choice to pair up with our MCU (STM32F446RC). We thought about using an external clock as reference for both the MCU and the CODEC. We considered using I2S interface of the PCM3060.

Upon further investigation we are now considering using the SAI (serial audio interface) interface provided by the MCU. The SAI interface is able to support different standards: I2S, PCM, TDM, SPDIF, and AC97.

I wanted to know a couple of things:

1) Is the SAI interface the right choice for our project? Obviously this depends on which CODEC or ADC/DAC we will be using. But I will like to know if we should take advantage of the SAI interface in case this will increase the overall performance.

2) We thought about using an external clock as reference for both the MCU and the CODEC. I would like to know if this is necessary. I would also like to know a little more about why is this used so often in similar projects.

3) Will the quality/performance change if we decide to use a CODEC instead of a ADC/DAC?

Thank you in advance,

D.C.

  • Hello,

    Sounds like a neat project.

    1.)  Most Audio ADC/DACs accept common audio serial interface inputs like (I2S, LJ, RJ, and TDM).  More specialized devices will have USB, HDAudio, S/PDIF, AC97, and other PCM encoded formatting.  To directly answer your question, yes the SAI peripheral is the correct interface and you can choose the formatting based on the mode you configure the PCM3060 to operate in.

    2.)  The output FSYNC signal of the PCM3060 is directly divided down from the main MCLK input and therefore jitter and noise on the main input will impact the final sampling rate and can impact performance.  If the internal clock is not a reliable, clean, and stable clock source, then an external clock source is recommended.

    3.)  The final Audio quality is largely dependent on the Dynamic Range (SNR), and THD+N specs of the ADC and DAC.  Much like discrete ADCs and DACs, integrated ADC/DAC parts (CODECs) have varying performance levels depending on the device.  At the time of this posting, the highest quality system would be configured from independent ADCs (PCM4220, TLV320ADC6140), and DACs (PCM5xxx) from the TI portfolio. 

  • Thank you! This certainly helps a lot.