Skip to main content
Umesh Shinde
Associate
July 28, 2020
Question

Hello all, I would like to know how to design low voltage detection reset functionality in stm8afxx controller Regards, Shinde Umesh

  • July 28, 2020
  • 3 replies
  • 3635 views

I want to design low voltage detect functionality like if voltage goes to xx volts mcu should reset

This topic has been closed for replies.

3 replies

Cristian Gyorgy
Associate II
July 28, 2020

Hi!

the good news is that you don't have to do much, just set your wanted threshold in BOR_TH bits and enable the BOR (BrownOut Reset) functionality. It's all implemented inside the chips already.

Umesh Shinde
Associate
July 29, 2020

Hello Mr. Cristian,

I am not able to find these BOR_TH bits and enable/disable functonality of BOR.

Can you please tell me from where it need to set.

Thanks and regards,

Shinde Umesh

Cristian Gyorgy
Associate II
July 29, 2020

Ah, now I see you talk about STM8AFxxx MCU, and these chips don't have an option byte to set the BOR level. It is fixed to 2.65V.

Yeah, different family, but BOR is still there and reliable, but not adjustable.

Cristian Gyorgy
Associate II
July 28, 2020

Ah, and you do that from the option bytes, in case it was not clear - see datasheet.

Tesla DeLorean
Guru
July 28, 2020

Microchip, and other, make cheap laser trimmed ICs that do this. Good solid predictable reset, save you a lot of support calls/costs on designs containing synchronous logic.

MCP120 http://ww1.microchip.com/downloads/en/devicedoc/11184d.pdf

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..