Hi Srini, The BCLK & LRCKL should meet your use case... in order to have a quality playback (output) on the codec. It's worth taking a look at davinci-mcasp.c file & play with the code if needed (if your use case is not met within the settings done there). Maybe try adding the mcasp_set_bits(mcasp, DAVINCI_MCASP_PDIR_REG, AHCLKX); mcasp_set_bits(mcasp, DAVINCI_MCASP_AHCLKXCTL_REG, AHCLKXE); lines in the appropriate case in the switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) in davinci_mcasp_set_dai_fmt() function. Also have a look at Section 22.2.5 Clock and Frame Sync Generators in AM335x TRM... it may give you some ideas for tuning your code. Best Regards, Yordan
↧