* Still having noise issues when recording sound on i.MX28
@ 2017-01-25 12:54 Jörg Krause
2017-01-31 13:17 ` Fabio Estevam
0 siblings, 1 reply; 2+ messages in thread
From: Jörg Krause @ 2017-01-25 12:54 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
I am working on a custom i.MX28 based board using mainline Linux 4.9.
The hardware design is based on the i.MX28-EVK: SAIF0 is used for
playback, SAIF1 for record, and SAIF0 is the master of SAIF1:
&saif0 {
????????pinctrl-names = "default";
????????pinctrl-0 = <&saif0_pins_a>;
????????status = "okay";
};
&saif1 {
????????pinctrl-names = "default";
????????pinctrl-0 = <&saif1_pins_a>;
????????fsl,saif-master = <&saif0>;
????????status = "okay";
};
The test application is to start recording after boot-up with arecord,
and playback the recorded sound with aplay. Mostly, the result is
pretty good, but occasionally, the result contains noise. Furthermore,
the noise varies, sometimes I still can hear some samples of the
original sound, sometimes it's all garbage.
I verified that the codec, a WM8731, works properly, by connecting the
I2S interface to a seperate codec, where the DATA OUT pin of the WM8731
is connected to the second codecs DATA IN pin. The output of the second
codec does not contain any noise. So, it is not a codec problem, but
most probably a syncing issue with SAIF0 and SAIF1.
I have noticed the thread "noise issues when recording sound on i.MX28"
[1] opened by Uwe Kleine-K?nig, but it seems the problem was not
resolved, right?
Is anyone facing the same problem? Has anyone found a solution for this
using the mainline kernel?
[1] https://www.spinics.net/lists/arm-kernel/msg477349.html
Best regards,
J?rg Krause
^ permalink raw reply [flat|nested] 2+ messages in thread
* Still having noise issues when recording sound on i.MX28
2017-01-25 12:54 Still having noise issues when recording sound on i.MX28 Jörg Krause
@ 2017-01-31 13:17 ` Fabio Estevam
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2017-01-31 13:17 UTC (permalink / raw)
To: linux-arm-kernel
Hi J?rg,
On Wed, Jan 25, 2017 at 10:54 AM, J?rg Krause
<joerg.krause@embedded.rocks> wrote:
> Is anyone facing the same problem? Has anyone found a solution for this
> using the mainline kernel?
Mainline still has this issue.
It has been fixed on the vendor's kernel tree:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_2.6.35_maintain
See the last 4 commits.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-31 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25 12:54 Still having noise issues when recording sound on i.MX28 Jörg Krause
2017-01-31 13:17 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox