I am using AM3354 in my design. In that mcasp0 interface of AM3354 is connected with I2S of TAS2521 audio amplifier.
My application is to generate the analog audio at the Speaker output (TAS2521) for the digital audio input from MCASP0 of AM3354.
1..MCASP is configured in I2s mode with word length of 16bits.
2.AHCLKX is not used.MCLK (11.2896MHZ) to TAS2521 is given from external source.
2.ACLKX(1.4112MHZ) and AFSX (44.1KHZ) are configured as input to MCASP.Both the signals are generated from internal PLL of TAS2521.
Then TAS2521 is configured.I connected a 8 Ohms speaker at speaker terminal.While playing music file with the following format "Singned 16 bit little Endian,Rate 41100HZ,mono".The output audio from speaker is playing the music file with noise.
Also I play the 1KHZ sine tone with same format.The output wave form monitored from Headphone (Pin No-5) output is not proper.
I think I2S synchronization is not proper between MCASP and TAS2521.Please suggest the solution for this.
Regards,
R.Mahendra kumar