Good afternoon, I'm facing a strange problem with the arduino nano.
I have an arduino nano, connected by SPI with a module MAX31865 (reader of PT100) and connected by I2C with an oled display.
Everything is mounted on an appropriate pcb, and I also use timer1 to generate a 10-bit PWM signal on pin 9.
It happens that when feeding with a 24VDC source, (I have a 7812 in the input before the Arduino Vin) it turns on normally, after some on and off, it hangs, and does nothing else.
The only way to make it work again is to upload the firmware. after charging the firmware, it returns to normal operation until I turn it on and off a few times and it hangs again.
Has anyone ever come across this?
Thank you very much in advance.