AnsweredAssumed Answered

SGTL5000 LINEOUT Issue

Question asked by Anand Meharwade on Nov 26, 2016
Latest reply on Dec 2, 2016 by Anand Meharwade

Hi,

I am using the SGTL5000 in my design with i.MX6Q custom platform. The codec probing is successful and the device shows up in the alsa device list. When I run the 1kHz sine wave .wav file using aplay command, I am observing the signals on LINE OUT_L only and no signals at LINE OUT_R. Also the signal at LINE OUT_L is not as expected. The sine wave freq is ~520 Hz on the LINE OUT_L pin instead of 1KHz.

I have master clock of 12.2880MHz on the the board. I am also attaching the schematic for your reference.

I am using the driver available on the below link.

linux-imx6/sgtl5000.c at boundary-imx_4.1.15_1.0.0_ga · boundarydevices/linux-imx6 · GitHub

linux-imx6/imx-sgtl5000.c at boundary-imx_4.1.15_1.0.0_ga · boundarydevices/linux-imx6 · GitHub 

 

Please let me know where I could be going wrong.

 

Regards

Anand M

Attachments

Outcomes