Skip to main content
Visitor II
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
  • 2359 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

    Visitor 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.

    Visitor II
    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

    Visitor 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.

    Visitor II
    July 28, 2020

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

    Graduate II
    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