Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

看门狗复位以及AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!的问题 (AIS-1368) #115

Closed
Liuyuehuixue opened this issue Sep 27, 2023 · 2 comments

Comments

@Liuyuehuixue
Copy link

开发板:esp32s3eye
在examples\cn_speech_commands_recognition中detect_Task添加一些代码后,出现以下错误:

W (5929) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

W (5939) AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!

E (5949) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (5949) task_wdt: - IDLE (CPU 0)
E (5949) task_wdt: Tasks currently running:
E (5949) task_wdt: CPU 0: detect
E (5949) task_wdt: CPU 1: IDLE
E (5949) task_wdt: Print CPU 0 (current core) backtrace

Backtrace: 0x4205A0A6:0x3FC99CA0 0x4037AEF1:0x3FC99CC0 0x4200C0A3:0x3FCEE090 0x42014F7A:0x3FCEE390 0x420086B3:0x3FCEE3C0 0x42006725:0x3FCEE3E0 0x420064A0:0x3FCEE400 0x40382375:0x3FCEE450
0x4205a0a6: task_wdt_isr at D:/Espressif/frameworks/esp-idf-v4.4.4/components/esp_system/task_wdt.c:183 (discriminator 3)
请问如何解决?

@github-actions github-actions bot changed the title 看门狗复位以及AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!的问题 看门狗复位以及AFE_SR: ERROR! afe_feed_aec_init_false, rb_out slow!!!的问题 (AIS-1368) Sep 27, 2023
@feizi
Copy link
Collaborator

feizi commented Sep 27, 2023

esp-sr的任务负载比较重,添加多个task的时候,要注意两点:

  1. CPU 负载比较重的任务,尽可能错开执行,比如启用multinet识别离线语音命令的时候,可以disable wakenet或其他task
  2. 必须同时执行的task, 分配到不同的cpu core

@Liuyuehuixue
Copy link
Author

好的,谢谢回复,添加新功能可以新建一个xTaskCreatePinnedToCore是吧

@feizi feizi closed this as completed Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants