Audio Codec - ES8316 porting problem

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

Audio Codec - ES8316 porting problem

4,467 次查看
wunlinglin
Contributor I

I'm porting ES8316 on imx6q now. Then I already porting driver done and use application to use audio codec, but I found I don't have MCLK signal on my scope.I already looked for information on internet and try to modify imx6qdl-sabresd.dtsi. But it still failed. Attachments are my used code. Please help me to solve this problem,thanks a lot.

pin connect

ES8316                 iMX6_IO
    I2C_DAT            CSI0_DAT8
    I2C_CLK             CSI0_DAT9
    MCLK                 GPIO_0
    SDI                     CSI0_DAT5
    SDO                   CSI0_DAT7
    BCLK                  CSI0_DAT4 
    WCLK                CSI0_DAT6  
标签 (2)
0 项奖励
回复
1 回复

889 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ling

one can check record MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x130b0

in dts file linux/arch/arm/boot/dts/imx6qdl-sabresd.dtsi

linux-imx.git - i.MX Linux Kernel 

and clko configuration in clk-imx6q.c

linux-imx.git - i.MX Linux Kernel 

in hardware check schematic for pad GPIO_0,  GPIO_0_CLKO
p.3 spf-27392 i.MX6Q Sabre SD schematic
Schematics (1)
i.MX6_SABRE_SDP_DESIGNFILES
http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/s...

Also one can attach jtag and check clko settings in register CCM_CCOSR.

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

0 项奖励
回复