Skip to content

Commit

Permalink
speech-recognition: Increase the block time for DSP task
Browse files Browse the repository at this point in the history
The block time for the DSP task in speech-recognition application
is increased from `120` ms to `140` ms as it seems to be overusing
the CPU which result in incorrect inference with Software inference
engine configuration.

Signed-off-by: Ahmed Ismail <Ahmed.Ismail@arm.com>
  • Loading branch information
AhmedIsmail02 authored and urutva committed May 23, 2024
1 parent c635dd8 commit 8a7ac0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion applications/speech_recognition/dsp/src/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ uint32_t ulScheduler(

// Add delay to allow some time for the connectivity task
// to send and receive messages to and from the cloud.
vTaskDelay(120);
vTaskDelay(140);
}
*error=sdfError;
return(nbSchedule);
Expand Down
1 change: 1 addition & 0 deletions release_changes/202405161554.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
speech-recognition: Increase the block time for DSP task.

0 comments on commit 8a7ac0f

Please sign in to comment.