AnsweredAssumed Answered

IMX6al audio only one channel has sound

Question asked by aguang wang on Oct 21, 2019
Latest reply on Oct 22, 2019 by aguang wang

Hi all

      CPU:      IMX6ul

      audio:     ES8388

      Linux:      4.1.15

      IMX6al audio only one channel has sound. MCLK is 11.2896 MHz, SCLK is 2.82 MHz, and LRCLK is 44.1KHZ.

Normal playback is left channel sound, right channel no sound,If I change register 23 of ES8388, the left and right data exchange bits, there will be no sound in the left channel and sound in the right channel. It has been proved that the hardware should be ok.I measured LRCLK and DSDIN through oscilloscope, and found that there was data transmission only when LRCLK was low level, but there was no high level.I have set up the route in es8388, I don't know what else need to set up in imx6ul.

LRCLK and DSDIN

LRCLK and DSDIN

LRCLK and SCLK

LRCLK and SCLK

schematic diagram

ES8388 register 23

linux boot

play music

Outcomes