Describe the bug
When playing samples that are incremented by one from a sample to the other, the output shows discontinuities of 96 samples, see
baytrail.xlsx
. With regular sine waves this has the net effect of adding noise.
This clearly points to bad buffer/pointer management or scheduling issues.
To Reproduce
Configure Minnowboard, use kernel topic/sof-dev and firmware v1.3-rc
connect LogicPro on SSP pins (bclk, fs, dac)
unzip and play file
cnt_1024_left.pcm.gz
aplay -Dhw:1,0 -c2 -r48000 -f dat cnt_1024_left.pcm
grab results with LogicPro and check the decoded values (should be similar to excel sheet provided above)
Expected behavior
samples are expected to be played in order, with wrap-around at 1024
Impact
showstopper
Environment
- Branch name and commit hash of 3 repositories: sof (firmware), linux (kernel driver) and soft (tools & topology).
kernel f3adfd6
firmware eac4a73
2) Name of the topology file
sof-byt-nocodec.tplg (or any byt topology, doesn't matter)
- Name of the platform(s) on which the bug is observed.
All Baytrail and cherrytrail platforms. The measurements are only seen when the connector is exposed, e.g. on Minnowboard.
- Reproducibility Rate. 100%
Describe the bug
When playing samples that are incremented by one from a sample to the other, the output shows discontinuities of 96 samples, see
baytrail.xlsx
. With regular sine waves this has the net effect of adding noise.
This clearly points to bad buffer/pointer management or scheduling issues.
To Reproduce
Configure Minnowboard, use kernel topic/sof-dev and firmware v1.3-rc
connect LogicPro on SSP pins (bclk, fs, dac)
unzip and play file
cnt_1024_left.pcm.gz
aplay -Dhw:1,0 -c2 -r48000 -f dat cnt_1024_left.pcm
grab results with LogicPro and check the decoded values (should be similar to excel sheet provided above)
Expected behavior
samples are expected to be played in order, with wrap-around at 1024
Impact
showstopper
Environment
kernel f3adfd6
firmware eac4a73
2) Name of the topology file
sof-byt-nocodec.tplg (or any byt topology, doesn't matter)
All Baytrail and cherrytrail platforms. The measurements are only seen when the connector is exposed, e.g. on Minnowboard.