Open spaceMan00 opened 3 years ago
Hi @spaceMan00
I recommend that you use this branch bugfix/stack_on_psram_v3.3 instead of v4.1.1. The current branch fixes some problems.
At the same time, this branch allows tasks run on PSRAM, It is recommended to use WROVER-E (eco3) module, please check the module on your development board.
Any questions, please feedback here.
Thank you @HengYongChao for your response.
I did as you said and reverted back IDF to branch "audio/stack_on_psram_v3.3" and kept ADF on master. After flashing the example pipeline_hfp_stream the Lyrat board kept resetting (I believe due to WDT). Check the logs here. Clearly the example didn't work. I checked the module on my Lyrat and it is indeed the ESP32-WROVER-E
I have a few questions as a follow up: 1- Does the branch "audio/stack_on_psram_v3.3" work with ADF master? or do I have to checkout an old version of ADF? 2- It seems that "audio/stack_on_psram_v3.3" branch is much older than 4.1. It will be a shame that I have to revert to such an old version of IDF to be able to make the example work! (if it works). Any other alternatives? Any plans to include this work in newer IDF versions?
Hi @spaceMan00
About TG1WDT_SYS_RESET
rst issue, please check the menuconfig (Top) → Component config → ESP32-specific → Minimum Supported ESP32 Revision → Rev 3
.
Hello @HengYongChao Thank you for following up but moving to IDF v4.2.1 did not help.
We still have the lag problem.
To repeat the issue: I am facing this problem when using the pipeline_hfp_stream example. I connect to HFP through my iPhone and I use the Voice Memo app to record from the Lyrat. First time I start a recording everything is fine. If I stop and start a recording on iPhone a second time we start noticing a lag. If I do it for the 3rd time the lag becomes unbearable. And then Lyrat crashes and resets.
These are the steps we followed:
You can check the log file here
Hello, I am facing this problem when using the pipeline_hfp_stream example. ADF version master (latest) IDF version: v4.1.1-250-ga9218526 Hardware: Lyrat-v4.3
I connect to HFP through my iphone and I use the Voice Memo app to record from the Lyrat. First time I start a recording everything is fine. If I stop and start a recording a second time I notice there is a lag. If I do it for the 3rd time the lag becomes unbearable and Lyrat throws the
BT_BTM: SCO xmit Q overflow, pkt dropped
warning.You can check my log file here.
After investigating I noticed that
fixed_queue_length(p_ccb->xmit_data_q)
in BTM_WriteScoData function inside btm_sco.c remains zero when I do the first recording but increases in the second recording and reaches the 30 threshold when I start the third recording which is triggering the overflow warning.Please help!