You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][mtl-002] alsa_conformance_test: test_rates failed for both accuracy and stability on I2S interfaces #6756
Describe the bug
Run alsa_conformance_test --test-suites test_rates to check whether all estimated rates are the same as what it set.
When --rate-criteria-diff-pct set to 0.05 (default is 0.01), tests pass consistently with CAVS_FW_ACE_RELEASE but failed for cSOF.
@yongzhi1 can you provide information on what MTL-RVP SOC revision it was reproduced (A0, A3, other) and whether it is correlated with any specific format (S16_LE, S24_LE, S32_LE)?
Hi, @mwasko Thanks for your attention, this was observed on A3 with 'S16_LE', 'S24_LE', 'S32_LE', and seems the i2s master link clock selection fix for #6727 also worked wonder here, now the test results are on-a par with ACE FW.
Activity
lgirdwood commentedon Dec 9, 2022
@mwasko @marcinszkudlinski @kv2019i fyi - could we be using the wrong clock frequency for the timer here ?
yongzhi1 commentedon Dec 11, 2022
Attached test outputs with debug option, we can see there is more irregularity shown in the DIFF column for cSOF:
ssp-rate-output-cSOF.txt
ssp0-rate-output-ACE.txt
mwasko commentedon Dec 12, 2022
@yongzhi1 can you provide information on what MTL-RVP SOC revision it was reproduced (A0, A3, other) and whether it is correlated with any specific format (S16_LE, S24_LE, S32_LE)?
yongzhi1 commentedon Dec 12, 2022
Hi, @mwasko Thanks for your attention, this was observed on A3 with 'S16_LE', 'S24_LE', 'S32_LE', and seems the i2s master link clock selection fix for #6727 also worked wonder here, now the test results are on-a par with ACE FW.
juimonen commentedon Dec 13, 2022
@yongzhi1 I've had this in my stash for a while: https://github.com/juimonen/sof/tree/ssp_aux_data , so is this what is needed?
If someone can elaborate on the "link clock selection", we can probably try it out (the proper way).
yongzhi1 commentedon Dec 14, 2022
Hi, @juimonen , probably "link_config" in your ssp_aux_data could be used to pass the clock source selection:
thesofproject/zephyr#66
juimonen commentedon Dec 14, 2022
@yongzhi1 ok thanks, I'll make some test/demo about this
yongzhi1 commentedon Jan 13, 2023
#6860 was merged, so close this issue.