STPM32 Reset in Operation with no external factors
Following this issue, and the advice from
For context, the firmware first pulses SYN 3 times, then SCK, and configures the STPM32 UART to 115200 baud. This runs fine for a few minutes, and then we detect a failure because the chip resets to 9600 baud for no reason, leading to a timeout on the microcontroller.
The voltage supply to this device is perfectly stable at 3.3V.
We have followed all advice regarding isolation and ground planes, as you can see in the attached PCB design.
I desperately require assistance with this problem. My only solution now is to re-configure the STPM32 every time it resets, but this will definitely lead to inaccuracies as some energy measurements will be lost during configuration and timeout detection.
The only common thread I can piece together is a hint from one Mark Germagian, who claims to have only found this on chips with a 2025 date code.
I am experiencing this on chips with the marking “CHN313”, but did not see this on chips marked “CHN331”, which leads me to believe this is a manufacturing defect.


