Skip to content

Commit 855adb1

Browse files
kv2019icarlescufi
authored andcommitted
samples/subsys/audio/sof: fix sys-ticks-per-sec to 15000
The value of CONFIG_SYS_CLOCK_TICKS_PER_SEC has side-effects that are not expected with tickless kernel mode. In bug #46378, application code is shown to run slower with higher sys clock tick value. In SOF bug #5921, audio quality issues were root-caused to k_timer inaccuracy with 50000 sys clock tick. Set the the value to 15000 for all SOF applications. All existing test cases pass with this value. BugLink: #46378 BugLink: thesofproject/sof#5921 Signed-off-by: Kai Vehmanen <[email protected]>
1 parent b970c4d commit 855adb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samples/subsys/audio/sof/prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ CONFIG_COMPILER_OPT="-fstrict-overflow"
1717
CONFIG_SCHED_DEADLINE=y
1818
CONFIG_SCHED_CPU_MASK=y
1919
CONFIG_SMP_BOOT_DELAY=y
20+
21+
# Fix the sys ticks value until following bugs are solved:
22+
# - https://github.com/zephyrproject-rtos/zephyr/issues/46378
23+
CONFIG_SYS_CLOCK_TICKS_PER_SEC=15000

0 commit comments

Comments
 (0)