-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
[v5.1][USB Host] usb_host_install returns ESP_ERR_NOT_FOUND (IDFGH-10194) #11462
Comments
The error happens here:
I've tried using |
These are the debug logs when using
|
According to the log, you have
You can use ESP_INTR_FLAG_LOWMED for one or more of the drivers, allowing them to use these level 2 and 3 interrupts. If you are using ESP32-S3, you can initialize one or more of the drivers from the task running on the other CPU, this way you will also have more interrupt sources available. Additionally, you can use ESP_INTR_FLAG_SHARED for two of the interrupts which aren't timing critical, for example for gpio_install_isr_service and for I2C. This will also make more interrupts available. |
Thanks for all the suggestions Ivan. I gave them all a try.
None of those worked for whatever reason, usbh still could not find sufficient interrupts. 🎉🎉 However, what did work, was moving my usb init to CPU1 using Thanks for the help and the suggestion! It's nice to be on v5.1! |
Related to espressif#6709 Related to espressif#7767 Related to espressif#9880 Related to espressif#11462
Related to espressif#6709 Related to espressif#7767 Related to espressif#9880 Related to espressif#11462
IDF version.
release/v5.1
Device
ESP32-S3
What is the expected behavior?
This used to work on v4.4.4 without error.
What is the actual behavior?
usb_host_install() returns ESP_ERR_NOT_FOUND. We are running out of interrupts.
Build or installation Logs.
The text was updated successfully, but these errors were encountered: