2
\$\begingroup\$

After repeatedly reading through the datasheet of the CS4344, I am having trouble fully understanding the purpose of the MCLK pin in serial operation.

In my research I have found that MCLK pins are typically mentioned in I2S operation of audio DACs like this one, however I am trying to use this DAC with serial (referred to as 'left justified' in the datasheet) operation. I get that MCLK is used as the main clock for the internals of the DAC. Do I need to apply a signal to this MCLK pin or is it not needed in serial mode?

enter image description here

The datasheet also mentions external SCLK mode, I understand this as slave mode essentially. In external mode, can I just send data to it using DIN and SCLK? Will MCLK be generated internally or must I generate this as well?

\$\endgroup\$
7
  • \$\begingroup\$ Page 4 : pin descriptions : "MCLK : Clock source for the DSM and digital filters". So the serial interface might work without it but nothing else will. \$\endgroup\$
    – user16324
    Commented Dec 1, 2015 at 22:58
  • \$\begingroup\$ @BrianDrummond nothing else as in other interface options? or the rest of the device wont work? \$\endgroup\$
    – BBales
    Commented Dec 1, 2015 at 23:03
  • 1
    \$\begingroup\$ Well I'm sure you won't get audio out without MCLK. In a delta-sigma, low jitter clock is critical to audio quality, even in a fairly low end DAC like this, so they won't internally generate one in the absence of an input on MCLK. \$\endgroup\$
    – user16324
    Commented Dec 1, 2015 at 23:05
  • \$\begingroup\$ @BrianDrummond so does it matter what frequency clock I use on MCLK if im using external SCLK mode? \$\endgroup\$
    – BBales
    Commented Dec 1, 2015 at 23:08
  • \$\begingroup\$ Datasheet gives you a choice of frequencies. It must be one of those. \$\endgroup\$
    – user16324
    Commented Dec 1, 2015 at 23:12

1 Answer 1

2
\$\begingroup\$

Depends of the audio sample frequency. 44.1 KHz or 48Khz (or multiples of these). mclk is usually connected to ocillators with digital output (or clocking circuit). Example: 22.5792 MHz for 44.1kHz /16bit I2S data (New DACs uses the the higher frequency for upsampling of dac data and applying filtering- depending of the inner workings of the Sigma Delta DAC - single bit/multiple bit decimation) and 24.576 MHz for 48kHz / 16bit I2S data. 192 kHz 32 bit I2S data (or even 384kHz data) can be used for modern DAC chip like AK4495 etc. To be able to support both 44.1 and 48kHz data (and multiples of these) both ocilators should be present and connected to the DAC mclk input depending on the audio data that you want to play (CD, DAT, SACD etc). If you use a pc/linux/raspberry pi - the output aduio mode is selected, e.g. 48kHz 24bit - if any other audio file is played the sample frequency and the output data is usually adjusted (resampled and/or zerofilled/truncated data)

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.