SGTL5000 I2S Slave clock configuration

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

SGTL5000 I2S Slave clock configuration

ソリューションへジャンプ
749件の閲覧回数
sumish_ks
Contributor II

Hello,

I am working on a custom board based on imx6qsabresd where I am using sgtl5000 audio codec as slave . I have configured SSI1 as i2s-master and getting approx. 24 Mhz clock on I2s_sclk pin of codec.

I want to divide this clock and for that I have to configure some registers according to IMX6DQRM manual.

Where should I configure these registers ? I have seen some files in old kernel but these are not present in our freescale 3.14.1.1 linux kernel.

Thanks & Regards,

Sumish

ラベル(3)
タグ(2)
0 件の賞賛
1 解決策
506件の閲覧回数
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Sumish

on i.MX6 Sabre SD schematic spf-27392 AUD_MCLK signal is produced from

pad GPIO_0 signal (CCM_CLKO1) GPIO_0_CLKO

Schematics (1)
Design files, including hardware schematics, Gerbers, and OrCAD files

SABRE Platform for Smart Devices|NXP 

Settings for "cko" selection can be found in linux/arch/arm/mach-imx/clk-imx6q.c

linux-2.6-imx.git - Freescale i.MX Linux Tree 

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

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
507件の閲覧回数
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Sumish

on i.MX6 Sabre SD schematic spf-27392 AUD_MCLK signal is produced from

pad GPIO_0 signal (CCM_CLKO1) GPIO_0_CLKO

Schematics (1)
Design files, including hardware schematics, Gerbers, and OrCAD files

SABRE Platform for Smart Devices|NXP 

Settings for "cko" selection can be found in linux/arch/arm/mach-imx/clk-imx6q.c

linux-2.6-imx.git - Freescale i.MX Linux Tree 

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

0 件の賞賛
506件の閲覧回数
sumish_ks
Contributor II

Hi igor,

Thanks for your answer. If I want to modify CCM registers according to our need, can I modify it using .cfg (DCD settings) file or Using memtool directly ?

Regards,

Sumish

0 件の賞賛
506件の閲覧回数
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Sumish

yes this can be changed with dcd header and memtool.

Best regards
igor

506件の閲覧回数
sumish_ks
Contributor II

Hi igor,

Thanks for your help.

Regards,

Sumish

0 件の賞賛