Is brownout detection usable now?
Re: Is brownout detection usable now?
What is the maximum value can I get to trigger BOD? In menuconfig, maximum is ~2.7V (7<<bit) == (10000000), but whats happen if write (11111111)? I would like to get ~3V, this is possible?
Re: Is brownout detection usable now?
It is a 3 bit value so 7 is max
Re: Is brownout detection usable now?
Oh sorry, bodwait_reg is larger. My mistake. But if 7 is max, I should 3V is impossible... Thanks.WiFive wrote:It is a 3 bit value so 7 is max
I testing my own isr to write some data in flash in case BOD trigger, but I think that nvs API is little slow. What API can I use to write in flash with velocity focus?
Re: Is brownout detection usable now?
When brownout is detected, it is very likely that reliable flash writes are already impossible (unless you have a 1.8V capable part). In fact, in many cases it is the flash chip that browns out first.
Re: Is brownout detection usable now?
Can you say any "internal" method to write data to avoid lost data in ram?ESP_igrr wrote:When brownout is detected, it is very likely that reliable flash writes are already impossible (unless you have a 1.8V capable part). In fact, in many cases it is the flash chip that browns out first.
Re: Is brownout detection usable now?
Possibly RTC memory via RTC_NOINIT_ATTR, but it may be lost if the supply voltage drops below about 1V.
Re: Is brownout detection usable now?
Ya, this is my last ideia but with power off, all ram is lost. I will try tomorrow.ESP_igrr wrote:Possibly RTC memory via RTC_NOINIT_ATTR, but it may be lost if the supply voltage drops below about 1V.
Re: Is brownout detection usable now?
I testing velocity of BOD comparator but with ~2.7V +- 0.05V make little hard to find specific latency.
What's the latency of BOD since threshold AND isr? In some PIC's is ~500ns + 2 cycles + X cycles to handle isr... And in esp32?
What's the latency of BOD since threshold AND isr? In some PIC's is ~500ns + 2 cycles + X cycles to handle isr... And in esp32?
Who is online
Users browsing this forum: 453066021@qq.com and 78 guests