Hello everybody,
our board did some brown out resets. A message "brown out..." appeared on the serial debug console, and the device did a reset.
I looked at the configuration of the brown out detection in register RTC_CNTL_BROWN_OUT_REG and read 0x00000033.
Which, according to the datasheet indicates that the enable bits are 0.
Now, my question: why did the brownout message/reset occurr, when the whole mechanism is disabled?
P.S. I read from address 0x3FF48035 and 0x60008035, both resulting 0x00000033.
These are the addresses of RTC_CNTL_BROWN_OUT_REG when accessing via DPORT or AHP.
Thanks in advance for any information.
Best regards, Timm
Brownout: register content wrong?
Re: Brownout: register content wrong?
Hardware "reset on brownout" feature is disabled, but RTC ISR handler is installed, and brownout interrupt is enabled. Interrupt handler prints the message and perfoms software reset.
Re: Brownout: register content wrong?
The problem is that the adress of RTC_CNTL_BROWN_OUT_REG in the reference manual is wrong.
In "ESP32 Technical Reference Manual Version 3.1", page 629, the address is 0x3FF48035. In ESP_IDF V3.0 it is defined as 0x3ff480d4, which is the correct value.
In "ESP32 Technical Reference Manual Version 3.1", page 629, the address is 0x3FF48035. In ESP_IDF V3.0 it is defined as 0x3ff480d4, which is the correct value.
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Brownout: register content wrong?
Good catch, I've asked our documentation team to look into those register addresses.
Who is online
Users browsing this forum: tahseenabbas52 and 71 guests