2020-07-15 02:45 PM
Hello, we have made a 2 layer board for a STM32f103, and apparently it works fine but we get a random resets now and then. When that occurs there is a 1 in the Bit 27 PORRSTF: POR/PDR reset flag and Bit 26 PINRSTF: PIN reset flag of the Control/status register (RCC_CSR). I think it might be some kind of noise on that trace? Attached is a picture of that portion of the PCB and SCH, with the RESET trace highlighted.
Any ideas of what could be the error?
2020-07-15 03:36 PM
All reference designs have NRST bypassed to GND with a 0.1uF capacitor to prevent spurious resets. Yours doesn't have a cap at all. I would suggest adding that to see if it fixes the problem.