-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
No free Interrupt Inputs for Matter OTA (IDFGH-14334) #15124
Comments
@emesamwong The interrupt inputs on Core 0 are indeed fully utilized. When a task on Core 0 attempts to initialize the RSA driver, it encounters this issue. You can refer to: troubleshooting-interrupt-allocation for possible solutions. A quick way to try out: use |
@chshu Thank you for your suggestion. esp_intr_dump() function only list out the interrupt instead of interrupt inputs (troubleshooting-interrupt-allocation) |
Matter itself doesn't use RSA, please check if any other tasks are using RSA.
I'm not entirely sure I understand the question. The |
I would try to find the task that installed the RSA interrupt. I am confused about the Error Message "No free interrupt inputs for "X" interrupt" and there are free interrupts in the interrupt list. It means the interrupt list could not represent interrupt inputs. Hence, I would like to keep checking the interrupt sources (instead of the interrupt list) usage which leads to the Error Message occurring. For this statement, Any configuration should I set to enable it?
|
As mentioned in my initial comment: #15124 (comment), there are no free interrupts on Core 0, which caused the failure to allocate an additional interrupt on Core 0. Therefore, we recommended switching some tasks to Core 1. Interrupts are allocated on the core where the task is running. Refer to a similar issue: #13610 (comment) |
@chshu Thank you for your support. I disabled the CONFIG_MBEDTLS_HARDWARE_MPI config, and tested 20 times OTA, no more Errors occurred. |
Answers checklist.
General issue report
When trying to execute the Matter OTA test, the DUT would reset due to 'No free interrupt inputs for RSA interrupt (flags 0xE)"
I found the Error Log message location and printed the list of interrupts. When the error occurred, there were still 9 interrupts available.
Here is the Debug Log:
What is the "interrupt input" representing?
Any Solution for the unstable interrupt resource?
Manually using Interrupt:
UART*2 with Shared
I2C with Shared
I2C with ESP_INTR_FLAG_LOWMED
GPIO
Timer0
LEDC & LCD_CAM (seem installed by the esp _lcd driver, i80_Control example)
Environment:
MCU: ESP32-S3-WROOM-1 (MCN16R8)
Development OS: Linux
Development Environment: VS Code
ESP-IDF version: Tag v5.2.2 (commit hash #3b8741b)
ESP-Matter: release/v1.3 (commit hash #b5a23374)
connectedhomeip: commit hash #82748b9f
LVGL version: v8.3.11 (ESP Component Registry)
LCM: ST7789P3 (240*240 pixels)
Touch: CST816D
The text was updated successfully, but these errors were encountered: