What is the Best Practice for MCLK and Audio Clocking?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the Best Practice for MCLK and Audio Clocking?

317 Views
5angxr
Contributor III

Hi,
I'm currently designing a system based on an NXP RT1062 MCU and an ADSP, connected via I²S/TDM to an external audio codec.
I have a few questions regarding the optimal audio clock architecture to ensure best sound quality (lowest jitter, highest stability):

MCLK generation:

  • Should I use a dedicated external crystal oscillator (e.g., 24.576 MHz) directly connected to the codec?
  • Or is it acceptable (and recommended) to generate MCLK using the MCU (RT1062 SAI module) and feed it into the codec?
  • Will using the MCU-generated MCLK significantly impact audio performance (e.g., jitter, phase noise) compared to a crystal?

BCLK and LRCLK generation:

In best practice, should the codec be configured as the BCLK/LRCLK master, outputting clock signals to the DSP and MCU?

Or is it acceptable for the MCU or DSP to act as master, generating BCLK/LRCLK for the codec?

Practical examples:

In professional or industrial designs, what is the common recommendation?

Are there any notable product examples that use MCU-generated MCLK successfully without compromising audio quality?

My priority is to minimize jitter and achieve reliable audio performance while keeping hardware design relatively simple.

Any advice, recommendations, or official guidelines would be highly appreciated!

Thanks a lot!

Tags (2)
0 Kudos
Reply
1 Reply

257 Views
Habib_MS
NXP Employee
NXP Employee

Hello @5angxr,

The recommendation is to use an external crystal for greater precision, but the specifications depend on your application's design. For PLL electrical characteristics, refer to chapter 4.2.3, "PLL’s Electrical Characteristics," in the datasheet. For XTAL considerations, see chapter 3.1, "Special Signal Considerations," in the datasheet.

With this in mind, you can use this external signal to provide the MCU clock and simultaneously use the MCU as a master to provide the MCLK for the DSP and codec.

For more information, refer to the Hardware Development Guide for the MIMXRT1050/MIMXRT1060 Processor or the design of the RT1060-EVKC. Additionally, the SDK (version 25.03) offers examples where the MCLK is generated in the MCU and provided to the codec:

Habib_MS_0-1747087143975.png

I hope that helps.
BR
Habib

0 Kudos
Reply