[Very Urgent Help] The STM32F042K4T6 integrated sometimes does not work. I'm restarting the system from the NRST pin. If I'm throwing resat 10 times, the system works in 8 and the microcontroller does not start in 2 of them.
Hello Everyone
I design oven timer (transformerless) with STM32F042K4T6. Although I tested everything separately there is a problem in the pcb. When the system first comes on, the system works but sometimes it doesn't. I tested it 10 times and the MCU didn't work twice...
Has anyone ever experienced anything like this before? Your advice is very important to me.
Schematic;

Clock Config;

Filter Capacitor, Crystal (8Mhz) and NRTS resistance locations;

