ESP32 stops working and restarts after some time

Dear all,

I am using an ESP32 for some data processing application. The device is powered using a 12V power source brought down to 5V using a Buck converter.

The problem I have here is that the device stops working after some time and restarts again after sometime.

I did connect the device to the computer to check the serial output for errors but there was none found.

The point of stopping in the code and time until stop is random.

Is there any reason for this behaviour?

Thank you for going through this long problem description

Any leads would be helpful.

Regards,

Ajay