SGTL5000 I2S Slave clock configuration

cancel
Showing results for 
Search instead for 
Did you mean: 

SGTL5000 I2S Slave clock configuration

Jump to solution
721 Views
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

Labels (3)
Tags (2)
0 Kudos
1 Solution
478 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
479 Views
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 Kudos
478 Views
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 Kudos
478 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Sumish

yes this can be changed with dcd header and memtool.

Best regards
igor

478 Views
sumish_ks
Contributor II

Hi igor,

Thanks for your help.

Regards,

Sumish

0 Kudos