You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running the example usb_camera_mic_spk with a generic UAC adapter, I'm getting errors like HCD DWC: EP MPS (192) exceeds supported limit (128) and usb_stream/usb_host_helpers.c:355 (_usb_pipe_deinit):invalid args.
#defineENABLE_UVC_CAMERA_FUNCTION0/* enable uvc function */
#defineENABLE_UAC_MIC_SPK_FUNCTION1/* enable uac mic+spk function */
#if (ENABLE_UVC_CAMERA_FUNCTION)
#defineENABLE_UVC_FRAME_RESOLUTION_ANY1/* Using any resolution found from the camera */
#defineENABLE_UVC_WIFI_XFER0/* transfer uvc frame to wifi http */
#endif
#if (ENABLE_UAC_MIC_SPK_FUNCTION)
#defineENABLE_UAC_MIC_SPK_LOOPBACK0/* transfer mic data to speaker */
Debug Logs.
Logs
I (645) USB_STREAM: Audio control interface = 0
I (646) USB_STREAM: Speaker feature unit = 9
I (646) USB_STREAM: Support volume control, ch = 6
I (646) USB_STREAM: Support mute control, ch = 1
I (646) USB_STREAM: Mic feature unit = 10
I (647) USB_STREAM: Support volume control, ch = 1
I (647) USB_STREAM: Support mute control, ch = 1
I (647) USB_STREAM: Speaker Interface found, interface = 1
I (647) USB_STREAM: Endpoint(ISOC) Addr = 0x2, MPS = 192
I (648) USB_STREAM: Speaker frequency control Not Support
I (648) USB_STREAM: Mic Interface found interface = 2
I (648) USB_STREAM: Endpoint(ISOC) Addr = 0x82, MPS = 96
I (649) USB_STREAM: Mic frequency control Not Support
I (649) USB_STREAM: ENUM Stage CHECK_FULL_CONFIG_DESC, Succeed
I (650) USB_STREAM: ENUM Stage SET_CONFIG, Succeed
I (651) uvc_mic_spk_demo: UAC MIC: get frame list size = 1, current = 0
I (652) uvc_mic_spk_demo: [0] ch_num = 1, bit_resolution = 16, samples_frequence = 48000, samples_frequence_min = 0, samples_frequence_max = 0
I (652) uvc_mic_spk_demo: UAC MIC: use frame[0] ch_num = 1, bit_resolution = 16, samples_frequence = 48000
I (653) uvc_mic_spk_demo: UAC SPK: get frame list size = 1, current = 0
I (653) uvc_mic_spk_demo: [0] ch_num = 2, bit_resolution = 16, samples_frequence = 48000, samples_frequence_min = 0, samples_frequence_max = 0
W (654) uvc_mic_spk_demo: UAC SPK: only support 1 channel in this example
I (654) uvc_mic_spk_demo: UAC SPK: use frame[0] ch_num = 2, bit_resolution = 16, samples_frequence = 48000
I (655) uvc_mic_spk_demo: Device connected
E (655) HCD DWC: EP MPS (192) exceeds supported limit (128)
E (655) USB_STREAM: /projects/espressif/esp-iot-solution/components/usb/usb_stream/usb_host_helpers.c:306 (_usb_pipe_init):pipe alloc failed
E (656) USB_STREAM: /projects/espressif/esp-iot-solution/components/usb/usb_stream/usb_stream.c:2739 (_usb_stream_handle_task):pipe init failed
I (657) USB_STREAM: usb stream task wait reset
W (1657) USB_STREAM: usb stream task recover, reason: stream error
I (1657) USB_STREAM: Resetting SPK pipe
I (1657) USB_STREAM: Set Device Interface = 1, Alt = 0
E (1663) USB_STREAM: /projects/espressif/esp-iot-solution/components/usb/usb_stream/usb_host_helpers.c:355 (_usb_pipe_deinit):invalid args
I (1664) USB_STREAM: Resetting MIC pipe
I (1664) USB_STREAM: Set Device Interface = 2, Alt = 0
E (1674) USB_STREAM: /projects/espressif/esp-iot-solution/components/usb/usb_stream/usb_host_helpers.c:355 (_usb_pipe_deinit):invalid args
I (1674) uvc_mic_spk_demo: Device disconnected
The text was updated successfully, but these errors were encountered:
zry98
changed the title
HCD DWC: EP MPS (192) exceeds supported limit (128) and CONFIG_USB_HOST_HW_BUFFER_BIAS_* configs are not taken into account
Error HCD DWC: EP MPS (192) exceeds supported limit (128) and CONFIG_USB_HOST_HW_BUFFER_BIAS_* configs are not taken into account
Jan 22, 2025
github-actionsbot
changed the title
Error HCD DWC: EP MPS (192) exceeds supported limit (128) and CONFIG_USB_HOST_HW_BUFFER_BIAS_* configs are not taken into account
Error HCD DWC: EP MPS (192) exceeds supported limit (128) and CONFIG_USB_HOST_HW_BUFFER_BIAS_* configs are not taken into account (AEGHB-962)
Jan 22, 2025
Answers checklist.
IDF version.
v5.4
Espressif SoC revision.
ESP32-S3 (QFN56) (revision v0.2)
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-DevKitC-1
Power Supply used.
USB
What is the expected behavior?
I expected the example
usb_camera_mic_spk
to be working.What is the actual behavior?
While running the example
usb_camera_mic_spk
with a generic UAC adapter, I'm getting errors likeHCD DWC: EP MPS (192) exceeds supported limit (128)
andusb_stream/usb_host_helpers.c:355 (_usb_pipe_deinit):invalid args
.Looks like it's caused by the FIFO MPS limits, but seems they couldn't be changed by the one of the USB host hardware FIFO size biasing configs (I made a wrong issue on this in espressif/esp-idf).
Steps to reproduce.
configs set in the `usb_camera_mic_spk` example
Debug Logs.
Logs
UAC adapter descriptor
More Information.
No response
The text was updated successfully, but these errors were encountered: