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
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.