Skip to content

I2S (RPI as a slave) audio stuttering on RPI 3 since 4.4.6 #1517

@gtrainavicius

Description

@gtrainavicius

Hello,

We are developing an audio card for RPI with one stereo input and one stereo output, and we've hit a stuttering issue with playing audio while at the same time recording. If audio is just being played without recording at the same time it is played alright.

On our board we use the following configuration: the ADC is the I2S master, DAC is a slave and RPI is a slave.

Furthermore, the same card with the same module code works just fine on RPI 2, even on the 4.4.x kernel, and RPI 3 itself works fine on 4.1.x kernel, with the same code apart from .dtb instead of .dtbo for the overlay and one argument less for GPIOD family of functions.

Please see the screenshot below, it was produced by loopbacking the input and output of the card with a cable, generating a 440Hz 30 second sine wave using audacity, then recording it using different sampling rates. As you can see, the 96000 sampling rate doesn't even record anything.

2016-06-05-121311_1824x984_scrot

Thank you,
Giedrius.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions