How use ssi_ext2_clk for sgtl5000

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

How use ssi_ext2_clk for sgtl5000

1,007 次查看
cyrilcrocquesel
Contributor II

Hi,

For a custom evk board, we use SSI_EXT2 for the sys_mclk of the sgtl5000 codec.

For the moment I just change in mx53_evk.c the mxc_sgtl5000_init(void) function replacing :

- ssi_ext1 = clk_get(NULL,"ssi_ext1_clk");

+ ssi_ext1 = clk_get(NULL,"ssi_ext2_clk");

I also add the following pin declaration :

MX53_PAD_GPIO_1__SSI_EXT2_CLK,

I get the following error : sgtl5000 mclk freq 0 out of range

Any idea about the cause of this message?

Cordially

标签 (2)
0 项奖励
回复
1 回复

909 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Please check the i.MX53 Reference manual. Figure 18-4. Root Clock Generation. Please double check all the clock settings for SSI_EXT2_CLK are proper.

0 项奖励
回复