arduino-CAN icon indicating copy to clipboard operation
arduino-CAN copied to clipboard

Guru Meditation Error: using SN65HVD230 on ESP32 with callback

Open MirkoUgoliniDev opened this issue 3 years ago • 2 comments

Hello all,

I'm using a ESP32 with external SN65HVD230 and the code with callback, but I got this error:

Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1).

Someone enconterd the same problem?

regards

Mirko

MirkoUgoliniDev avatar Sep 29 '22 16:09 MirkoUgoliniDev

Yes , I also encountered the same problem while using ESP32 with external SN65HVD230 and code with callback function. Regards RSM

RSM123456 avatar Feb 07 '23 07:02 RSM123456

Hey guys, I had the issue as well. I think the reason being that the sketch runs entirely inside an ISR, and the main loop is empty. ESP32's watchdog timer is trigger happy so since the ISR has so many serial prints it throws a watchdog timer error. Simple fix, have the callback set a boolean flag and then do all the Serial prints inside the main loop. Works for me!

ZephyrCloudNine avatar Mar 02 '23 10:03 ZephyrCloudNine