USB Host: number of endpoints limited to 8
Posted: Mon Aug 26, 2024 1:52 am
I'm trying to talk to a 4 port usb-serial chip, which needs 9 endpoints (control plus 2 each for each port, i.e. 4 interfaces.)
When I try to claim the fourth interface, it fails with NOT_SUPPORTED error, and I believe this is due to the number of channels available being only 8, as defined in components/hal/include/hal/usbh_hal.h:
Firstly, am I right in my assumption that this is the limiting factor?
Secondly, am I to right assume that the only work-around would be to use a custom version of the SDK?
When I try to claim the fourth interface, it fails with NOT_SUPPORTED error, and I believe this is due to the number of channels available being only 8, as defined in components/hal/include/hal/usbh_hal.h:
Code: Select all
#define USBH_HAL_NUM_CHAN 8
Secondly, am I to right assume that the only work-around would be to use a custom version of the SDK?