Skip to main content
Andreas1
Associate
February 5, 2019
Question

Brown Out Reset does not work

  • February 5, 2019
  • 1 reply
  • 2225 views

Hello,

we have a pcb with an STM32F765VIT6 on it. Everything works nicely except that there are unfrequent bit flips in the flash after disconnect and connecting the power supply..

We tried to activate the brown out reset in software but after measuring the NRST pin, it only resets at ~1,7V and not above 2V as wanted.

We tried the code from the following website:

https://stm32f4-discovery.net/2015/08/hal-library-22-bor-for-stm32fxxx/

Is there anything we are forgetting? (Maybe for the STM32F7 there are other things to consider?)

This topic has been closed for replies.

1 reply

AvaTar
Senior III
February 5, 2019

> Everything works nicely except that there are unfrequent bit flips in the flash after disconnect and connecting the power supply..

I suppose you have a problem with your power supply. Flash bits don't use to faint.

Are these critical Flash areas programmed at runtime ?

Andreas1
Andreas1Author
Associate
February 5, 2019

No they are not programmed at runtime. But I have to mention that we are connecting and disconnecting the power supply using two relais. So there is enough noise. After reading out the flash and comparing it to the original one, there are differences. So is there any guide on how to activate the Brown Out Reset on the STM32F7? Thank you.

AvaTar
Senior III
February 5, 2019

> But I have to mention that we are connecting and disconnecting the power supply using two relais. ... After reading out the flash and comparing it to the original one, there are differences

This doesn't sound good. I suspect you violate the specs somewhere, and a coordinated brown-out reaction will not help you.

I'm no hardware guy, though.