SAI1 MCLK Active State Query in i.MX8MM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SAI1 MCLK Active State Query in i.MX8MM

991件の閲覧回数
sreedhar_appala
Contributor IV

Hi,

I am working with i.MX8MM EVK and 4.14 imx-sumo yocto distribution.

SAI1 is designed as Master, Audio System Clock (MCLK) is generated by SAI1 and send to codec we interfaced.

what we observe is during aplay or arecord functionality MCLK is active and alive.

Is it possible to keep SAI1 MCLK alive(running) always once enabled?

Please let me know your suggestions.

Thank you, Sreedhar

 

ラベル(3)
0 件の賞賛
3 返答(返信)

979件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

 

one can try to comment "clk_disable_unprepare(sai->mclk_clk...)" in fsl_sai.c

https://source.codeaurora.org/external/imx/linux-imx/tree/sound/soc/fsl/fsl_sai.c?h=imx_4.14.98_2.3....

 

Best regards
igor

965件の閲覧回数
sreedhar_appala
Contributor IV

Hi Igor,

Thank you, I have tested this weekend.

Just by commenting out clk_disable_unprepare(sai->mclk_clk....) is not solving my problem.

The MCLK is seen on CRO only during aplay is executing and dies down when it stops.

Could you please let me know any other code changes are needed.

Thank you, Sreedhar

 

 

0 件の賞賛

950件の閲覧回数
sreedhar_appala
Contributor IV

Hi Igor,

Thank you very much for sending the reply separately with required technical support details.

Our system design is mostly similar to the one which is described in the document specified.

Thank you once again,

Sreedhar

@Igor 

0 件の賞賛