Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Hey guys while developing a CAN bus monitoring system using the ESP32-S3, ESP-IDF, and RTOS, I encountered a WDT (Watchdog Timer) panic within my CAN interrupt service routine (ISR) when interfacing with the MCP25625 CAN controller. The error message is as follows:
Interrupt WDT panic: isr: 0x40000000, exc: 0, cpu: 0, task: , sp: 0x3ffbc1c0
E (134) interrupt: PANIC: Interrupt wdt timeout on CPU0 (ISR)
I suspect that reading the MCP25625 registers within the ISR is causing the issue. How can I optimize my CAN ISR to avoid WDT panics? Are there specific techniques for handling CAN interrupts efficiently within ESP-IDF RTOS?
CONTRIBUTE TO THIS THREAD