logo elektroda
logo elektroda
X
logo elektroda

Does a low state pin disable power to the RTC module in the EPS32?

TvWidget 612 7
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20082643
    TvWidget
    Level 38  
    Does the low state of the EN pin internally disable the power supply to the RTC module in the EPS32 ?
  • ADVERTISEMENT
  • #2 20082891
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #3 20082908
    TvWidget
    Level 38  
    Is it possible to somehow preserve the time between resets triggered by the low state of the EN pin ?
  • #4 20082915
    Anonymous
    Level 1  
  • #5 20082939
    TvWidget
    Level 38  
    On the device I have a hardware watchdog connected to the EN pin. If for some reason it triggers then I lose the timing information completely. I wonder if I should go along with this. Frequent NVS memory writes are unlikely to be a good solution
  • ADVERTISEMENT
  • #6 20082945
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #7 20083206
    TvWidget
    Level 38  
    One more solution came to my mind but probably too risky.
    I am using an ESP32-V3-02 with an internal PSRAM. The memory is powered from the ESP pin. It is, admittedly, labelled "Output power supply". However, I think this is a regular IO pin. It is externally accessible. So potentially VDD could be connected to it. In this situation, a low state on EN will not disable the PSRAM power supply and the data in memory will remain
  • #8 20083929
    Anonymous
    Level 1  

Topic summary

When the EN (CHIP_PU) pin of the ESP32 is set to a low state, it disables the internal low voltage regulator that powers the RTC module, resulting in a loss of timekeeping. To preserve time between resets, users can store data in flash memory (NVS), although frequent writes may not be ideal due to limited write cycles (100,000 to 1 million). Some users consider alternative solutions, such as connecting external power to the PSRAM, but this risks disabling sleep functions and may not maintain data integrity during power loss.
Summary generated by the language model.
ADVERTISEMENT