How to keep Mclk from Sai1 always on?

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

How to keep Mclk from Sai1 always on?

618 次查看
lucas_tanure
Contributor I

Hi, 

I need MCLK from SAI1 to be output and always, even without use of SAI1 bus.

Because the Codec needs the clock to boot and if SAI1 only enables MCLK just before the use of SAI1 the codec doesn't boot.

During boot the kernel also needs to read the ID of the codec by regmap, which needs to boot the device, which needs MCLK. 

How can I configure MCLK1 to be always on since boot? 

Thanks

Lucas

0 项奖励
回复
1 回复

570 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Lucas

I am afraid there is no way to have SAI MCLK to be always on without loading

driver. One can try to use for such purpose CCM CLKO1,2 signals

described in sect.18.6.21 CCM Clock Output Source Register (CCM_CCOSR)

i.MX 6UltraLite Applications Processor Reference Manual

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复