SAI1 MCLK Active State Query in i.MX8MM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SAI1 MCLK Active State Query in i.MX8MM

977 次查看
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

 

0 项奖励
3 回复数

965 次查看
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

951 次查看
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 项奖励

936 次查看
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 项奖励