AnsweredAssumed Answered

IMX6 SSI I2S and Slave mode BCLK  clock issue regarding the playback time

Question asked by Venkatesh P on Jul 10, 2014
Latest reply on Aug 1, 2014 by Venkatesh P

Hi ALL,

 

  I have checked 8000 sample rate files not playing to PC properly.Let me know CODEC will sipport 8khz or not with master mode.

 

Codec as master mode and following clock settings configured in driver side

MCLk=24Mhz

SYSCLK=11.2896MhZ

ADLRC as GPIO mode.

 

44khz WORKING BOTH PC AND Target good:

Mono:

BCLK=705.6Khz

DACLRC=22.050Khz

Bit=16 bit

2(byte)x22050(rates)x16= 705.6Khz

This above 705.6Khz BCLK support is available in CODEC settings (sysclk/16)

 

Stereo:

BCLK=1.4112MHz

DACLRC=44.1khz

Bit=16 bit

2(byte)x44100(rates)x16= 1.4112MHz

This above 1.4112MHz BCLK support is available in CODEC settings (sysclk/8)

 

8khz target Recorded wav files its not properly playing with PC /PC Recorded wav filesits not properly playing with Target:

 

Present 8Khz settings in my driver settings:

BCLK=1.4112MHz ( I was tried sysclk diver by 4,6,8,12,16,32)

DACLRC=8Khz

Bit=16 bit

2(byte)x8000(rates)x16= 256Khz

This above 256Khz BCLK support is not available in CODEC settings.

 

 

  Actually this above 8000 samples i am getting so much trouble with PC and Target,Please suggewst this codec will support 8khz sample or not in Master mode .PC recorded 8khz sample file playing very fast in our Target.Target recorded 8khz sample file playing very slowly to PC.

 

  44.1khz sample files playing both PC and Target Normally.

 

HOW TO ENABLE SSI AS MASTER MODE AND bclK=256KHZ AND frame rate=8000khz.\\

 

 

 

 

Thanks by,

Venkat.

Outcomes