AnsweredAssumed Answered

I2S with external oscillator

Question asked by Henrik Frilund on Oct 8, 2013
Latest reply on Mar 3, 2014 by Yixing Kong

Hello

Has anyone tried to use the sgtl5000 codec with the iMX53 so that it is clocked by an external oscillator instead of the cpu?

I have this scenario on a custom board where the CODEC is connected to the same port as in the imx53-loco. The changes ive done are

that sgtl5000_init is just:

 

static int mxc_sgtl5000_init(void)
{
sgtl5000_data.sysclk = 14000000;

return 0;
}

 

Since the oscillator is 14 MHz. By default the CODEC is the master so there are no changes there.

 

But when I try to play an audio file it seems that the SSI goes to trigger but no data is clocked out and ALSA times out.

 

I can measure both bit and word clock on the I2S pins but no data.

 

Has anybody encountered this problem before?

 

Thanks

 

//Henrik

Outcomes