How use ssi_ext2_clk for sgtl5000

cancel
Showing results for 
Search instead for 
Did you mean: 

How use ssi_ext2_clk for sgtl5000

164 Views
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

Labels (2)
0 Kudos
1 Reply

66 Views
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 Kudos