Skip to content

[BUG] SSP TX starts with a ~4.2ms delay #4194

@plbossart

Description

@plbossart

Describe the bug

While capturing the SSP output on an Up2 board, I can see with a Logic Pro grab that the data is delayed by 4.2ms

That's a rather large undocumented delta which didn't exist in the past.

To Reproduce

use the nocodec mode on Up2
aplay -Dhw:0,5 -c2 -r48000 -f SLE_16 aa_left.pcm

Reproduction Rate

100%

Expected behavior

No delay or small delay.

Impact

This may impact latency requirements on e.g. Google platforms

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: 0e1e5072818cfd37c80010d2889f629ccb74c7ca
    • SOF: 8ed7888
  2. Name of the topology file
    • Topology: sof-apl-nocodec.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: APL Up2

Screenshots or console output
Up2-nocodec-original2

Metadata

Metadata

Assignees

No one assigned

    Labels

    APLApplies to Apollolake platformI2SApplies to I2S bus for codec connectionbugSomething isn't working as expectedstaleIssue/PR marked as stale and will be closed after 14 days if there is no activity.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions