IMX8MM - how to set audio_pll1_out frequency for SAI

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

IMX8MM - how to set audio_pll1_out frequency for SAI

1,358 Views
moranmoran
Contributor III

Hello,

 

My audio hardware : SAI (CPU) is the master for audio ADC and audio dac.

Is it possible to set audio_pll1_out frequency so we could play\record in all common audio sampling frequencies in the bands of 8 kHz, 16 kHz, (32 kHz - 44.1 kHz - 48 kHz), (88.2kHz - 96kHz), (176.4 kHz - 192 kHz).

With 16bit/24bit/32bit ? 

 

Currently I found it impossible to set audio_pll1_out to such a frequency that support all.

 

for example if I set audio_pll1_out (in dts) to  24576000 I can :

- record/play with all 48K multiply/dividers (8/16/32/48/96/192) on 16bits and 32bits .

   But for 48K/96K/192 I can't run at 24bits.

You can find attached clk tree & The error I get while trying for example 48K --> 24 bits

 

--> Why it should be fix frequency and not PLL that can set the request rate sample on the fly ?

 

Appreciate your help,

Moran.

 

 

0 Kudos
Reply
0 Replies