Page 1 of 1

Brownout: register content wrong?

Posted: Fri Apr 20, 2018 2:20 pm
by timm_f
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

Re: Brownout: register content wrong?

Posted: Fri Apr 20, 2018 3:42 pm
by ESP_igrr
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?

Posted: Wed Apr 25, 2018 9:44 am
by timm_f
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.

Re: Brownout: register content wrong?

Posted: Thu Apr 26, 2018 2:31 am
by ESP_Sprite
Good catch, I've asked our documentation team to look into those register addresses.