I have designed a PCB based on the STM32L443VCT6 microcontroller.
I used an external 32.768 kHz crystal (CM200C32768HZFT) crystal with two 22pF capacitors. I can successfully program the code but the MCU won't run.
When debugging the program, it gives RTC error, and the code does not run. This does not happen to all circuits, sometimes it works with another PCB.
Why is it happening? Does anybody know the cause?