-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Labels
Description
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
V5.5.1
Espressif SoC revision.
ESP32 chip revision: v3.1
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32-Wroom-32D
Power Supply used.
USB
What is the expected behavior?
Running both peripheral with clean sound over HFP mSBC.
What is the actual behavior?
I see regular spikes inside sound when I run other tasks. Especially with ble coex, when I send notification, more spikes are generated.
When I change sound frequency with ISR of a button, it runs without problem. But when I change over uart or running ble task, I recognize spikes inside sound.
Steps to reproduce.
- Step : Use HFP_AG example with HCI configuration. And generate sine wave frames by using math library.
- Step : Activate UART to change frequency of outgoing sound. It can be ran on CPU APP or CPU PRO. Read rx line with 10 ms interval.
- Step : Enable BLE with dual bluetooth mode. Update a notification with 50 ms interval.
Debug Logs.
I (14828) BT_APP_HF: speed(11.342931s ~ 14.347360s): 251.788269 kbit/s<CR><LF><CR><LF>I (17838) BT_APP_HF: speed(14.347360s ~ 17.355049s): 255.983902 kbit/s<CR><LF><CR><LF>W (19028) BT_HCI: hci cmd send: sniff: hdl 0x80, intv(50 150)<CR><LF>W (19028) BT_HCI: hcif mode change: hdl 0x80, mode 0, intv 0, status 0x24<CR><LF>E (19028) BT_APPL: bta_dm_pm_btm_status hci_status=36<CR><LF><CR><LF>I (20848) BT_APP_HF: speed(17.355049s ~ 20.362842s): 255.975067 kbit/s<CR><LF><CR><LF>I (23848) BT_APP_HF: speed(20.362842s ~ 23.370780s): 255.962738 kbit/s<CR><LF><CR><LF>I (26858) BT_APP_HF: speed(23.370780s ~ 26.377359s): 256.078430 kbit/s<CR><LF><CR><LF>I (29858) BT_APP_HF: speed(26.377359s ~ 29.377381s): 255.998123 kbit/s<CR><LF><CR><LF>I (32868) BT_APP_HF: speed(29.377381s ~ 32.384925s): 255.996246 kbit/s<CR><LF><CR><LF>����������������������������������������������������������������4925s ~ 35.384931s): 255.999481 kbit/s<CR><LF>I (36268) BT_BLE_COEX_TAG: Create ble_gatts_notify_task<CR><LF><CR><LF>I (38868) BT_APP_HF: speed(35.384931s ~ 38.385048s): 255.990021 kbit/s<CR><LF><CR><LF>I (41868) BT_APP_HF: speed(38.385048s ~ 41.385048s): 256.000000 kbit/s<CR><LF><CR><LF>
Diagnostic report archive.
No response
More Information.
No response