Re: i.MX8MN: SAI: First playback failure, second succeeds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 25, 2023 at 5:29 AM Fabio Estevam <festevam@xxxxxxxxx> wrote:
>
> Hi,
>
> I am trying to get audio playback to work on i.MX8MN board with an
> ES9080 DAC (with a not yet upstreamed driver).
>
> The first playback after a POR fails most of the time (about 70%):
>
> speaker-test -t sine -f  2000 -c 4 -F S32_LE -D hw:3
>
> speaker-test 1.2.6
>
> Playback device is hw:3
> Stream parameters are 48000Hz, S32_LE, 4 channels
> Sine wave rate is 2000.0000Hz
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 6 to 32768
> Period size range from 3 to 4095
> Using max buffer size 32768
> Periods = 4
> was set period_size = 2048
> was set buffer_size = 32768
>  0 - Front Left
> Write error: -5,Input/output error
> xrun_recovery failed: -5,Input/output error
> Transfer failed: Input/output error
>
> However, the second attempt always succeeds.
>
> I dumped the E9080 registers and they match the good and failure cases.

Hi,

Can you also dump SAI registers ?



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux