I found the problem causing static. The MCLK was not programmed properly when both channels are active.
How do you do sync stop? or do you do sync stop? I'm getting this error when stopping the streams. The streams have been sync started.
ALSA sound/core/pcm_native.c:1499: playback drain error (DMA or IRQ trouble?)
root@phyCORE:~ aplay -D quad2 startup.wav mpc5200-psc-i2s f0002000.i2s: psc_dma_open(substream=c3862c00) dspeak01_fabric_startup asoc: pcm1690 <-> i2s-0 info: asoc: rate mask 0x1ee0 asoc: min ch 2 max ch 2 asoc: min rate 32000 max rate 192000 mpc5200-psc-i2s f0002200.i2s: psc_dma_open(substream=c3862d00) dspeak01_fabric_startup asoc: pcm1690 <-> i2s-1 info: asoc: rate mask 0x1ee0 asoc: min ch 2 max ch 2 asoc: min rate 32000 max rate 192000 Playing WAVE 'startup.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo dspeak01_fabric_hw_params mpc5200-psc-i2s f0002000.i2s: psc_i2s_set_sysclk(cpu_dai=c390d540, freq=22579200, dir=1, mclk=0) JDS - clock enable 1 23 pcm1690 0-004c: pcm1690_hw_params(substream=c3862c00, params=c396c400) pcm1690 0-004c: rate=44100 format=11 mpc5200-psc-i2s f0002000.i2s: psc_i2s_hw_params(substream=c3862c00) p_size=5513 p_bytes=44104 periods=4 buffer_size=22052 buffer_bytes=176416 mpc5200-psc-i2s f0002000.i2s: psc_i2s_hw_params(substream=c3862c00) rate=44100 sysclk=22579200 framesync=64 bitclk=8 reg=3F070000 mpc5200-psc-i2s f0002000.i2s: psc_i2s_hw_params exit dspeak01_fabric_prepare subdevice #0 soc-audio soc-audio.1: Setting bias prepare DAPM pcm1690 snd_soc_dapm_stream_event pcm1690 0-004c: pcm1690_mute(dai=c0403230, mute=0) dspeak01_fabric_hw_params mpc5200-psc-i2s f0002200.i2s: psc_i2s_set_sysclk(cpu_dai=c390dc00, freq=22579200, dir=1, mclk=1) pcm1690 0-004c: pcm1690_hw_params(substream=c3862d00, params=c396c400) pcm1690 0-004c: rate=44100 format=11 mpc5200-psc-i2s f0002200.i2s: psc_i2s_hw_params(substream=c3862d00) p_size=5513 p_bytes=44104 periods=4 buffer_size=22052 buffer_bytes=176416 mpc5200-psc-i2s f0002200.i2s: psc_i2s_hw_params(substream=c3862d00) rate=44100 sysclk=22579200 framesync=64 bitclk=8 reg=3F070000 mpc5200-psc-i2s f0002200.i2s: psc_i2s_hw_params exit dspeak01_fabric_prepare subdevice #0 soc-audio soc-audio.1: Setting bias prepare DAPM pcm1690 snd_soc_dapm_stream_event pcm1690 0-004c: pcm1690_mute(dai=c0403230, mute=0) dspeak01_fabric_prepare subdevice #0 soc-audio soc-audio.1: Setting bias prepare DAPM pcm1690 snd_soc_dapm_stream_event pcm1690 0-004c: pcm1690_mute(dai=c0403230, mute=0) dspeak01_fabric_prepare subdevice #0 soc-audio soc-audio.1: Setting bias prepare DAPM pcm1690 snd_soc_dapm_stream_event pcm1690 0-004c: pcm1690_mute(dai=c0403230, mute=0) dspeak01_fabric_prepare subdevice #0 soc-audio soc-audio.1: Setting bias prepare DAPM pcm1690 snd_soc_dapm_stream_event pcm1690 0-004c: pcm1690_mute(dai=c0403230, mute=0) dspeak01_fabric_prepare subdevice #0 soc-audio soc-audio.1: Setting bias prepare DAPM pcm1690 snd_soc_dapm_stream_event pcm1690 0-004c: pcm1690_mute(dai=c0403230, mute=0) mpc5200-psc-i2s f0002000.i2s: psc_dma_trigger(substream=c3862c00, cmd=1) stream_id=0 mpc5200-psc-i2s f0002200.i2s: psc_dma_trigger(substream=c3862c00, cmd=1) stream_id=0 mpc5200-psc-i2s f0002000.i2s: psc_dma_trigger(substream=c3862c00, cmd=0) stream_id=0 mpc5200-psc-i2s f0002200.i2s: psc_dma_trigger(substream=c3862c00, cmd=0) stream_id=0 ALSA sound/core/pcm_native.c:1499: playback drain error (DMA or IRQ trouble?) mpc5200-psc-i2s f0002000.i2s: psc_dma_trigger(substream=c3862d00, cmd=0) stream_id=0 mpc5200-psc-i2s f0002200.i2s: psc_dma_trigger(substream=c3862d00, cmd=0) stream_id=0 dspeak01_fabric_hw_free dspeak01_fabric_hw_free dspeak01_fabric_hw_free pcm1690 0-004c: pcm1690_mute(dai=c0403230, mute=1) dspeak01_fabric_shutdown mpc5200-psc-i2s f0002000.i2s: psc_dma_close(substream=c3862c00) dspeak01_fabric_hw_free pcm1690 0-004c: pcm1690_mute(dai=c0403230, mute=1) dspeak01_fabric_shutdown mpc5200-psc-i2s f0002200.i2s: psc_dma_close(substream=c3862d00) root@phyCORE:~ pop wq checking: Playback status: inactive waiting: yes soc-audio soc-audio.1: Setting bias prepare DAPM pcm1690 snd_soc_dapm_stream_event