I’ve been looking into running a watchdog on the Notecard as insurance in case my host processor (ESP32-s2) locks up. I have connected the Notecard’s ATTN pin to the ESP32’s RST pin and have communication between the two via I2C. In the setup() function in the ESP, I am sending a card.attn request to the Notecard to switch the ATTN pin into watchdog mode and am passing a 4200 seconds wait interval.
I started to notice that the ESP was often starting to run for 30-60 seconds before it reset itself. This reset would only occur once on start up. After much testing, I did find that this only occurred when I would send the card.attn request to the Notecard and that the reset wire would be pulled low for 1 to 2 seconds at the time of the ESP reset. Would anyone know why this reset is occurring? I have multiple other requests to the Notecard occurring, so there shouldn’t be any reason for the Notecard to trigger the watchdog.
Would appreciate your assistance. Thanks