SGTL5000 I2S Slave clock configuration

取消
显示结果 
搜索替代 
您的意思是: 
已解决

SGTL5000 I2S Slave clock configuration

跳至解决方案
741 次查看
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 解答
498 次查看
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 回复数
499 次查看
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 项奖励
498 次查看
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 项奖励
498 次查看
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Sumish

yes this can be changed with dcd header and memtool.

Best regards
igor

498 次查看
sumish_ks
Contributor II

Hi igor,

Thanks for your help.

Regards,

Sumish

0 项奖励