2019-11-12 11:03 PM
2019-11-12 11:40 PM
The 'F1 family is relatively old and I don't use it. Does it have a brownout detection option in the Option Bytes? If yes, switch it on. If not, you might need an external voltage supervisor/reset chip; or move to a more modern STM32 which does have brownout detection.
JW
PS. Please change your username to a normal nick
2019-11-12 11:47 PM
Use better POR circuit that doesn't use capacitors, but rather a laser tried thresholding device which will clamp NRST low for a 100 ms, or more, after VDD hits 3V or whatever.
2019-11-13 12:36 AM
Thank you for the comment, if ı misunderstood, F1 family doesn't have brownout detection.
2019-11-13 12:49 AM
Thank you for the comment, Could you explain why I don't have to use capacitors.
2019-11-13 01:40 AM
> why I don't have to use capacitors.
RC resets fail to produce a clean reset signal unless VDD rises and falls fast enough and falls low enough.
This is an older writep on the topic, 8051-specific so it talks about positive reset (which is a 8051-specific quirk and does not apply on STM32, which has the usual negative reset). There may be similar or better writeups out there on the issue of reset, brownout, etc.
JW
PS. Oh, 8052.com is now 8052mcu.com, although it's mostly dead, but some of the old content is still there.