Daniel kalu
DIIDevHeads IoT Integration Server
•Created by Daniel kalu on 9/27/2024 in #firmware-and-baremetal
Optimizing CAN ISR to Prevent WDT Panics on ESP32-S3 with MCP25625
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:
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?
1 replies