logo elektroda
logo elektroda
X
logo elektroda

[Solved] ESP32 chip time splitting work into two cores and power saving

RobRobi 549 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20347933
    RobRobi
    Level 5  
    Hi,

    I am working on a photobucket on an ESP32. A few puzzles have arisen.

    First:
    How do I boot the ESP32 as quickly as possible? Right now it takes 1.2s from reset or exit from sedation. Is it possible to go faster? How do you do this?

    Drugo:
    I managed to split the tasks into two cores. I want one to work all the time and the other temporarily. How do I sedate just one core to keep the other working? Do they have separate clocks and power supply? At the moment, they both shut down

    Third:
    I am interested in the power management and shutdown capabilities of individual components

    Please help
    Robert
  • ADVERTISEMENT
  • Helpful post
    #2 20348126
    khoam
    Level 42  
    RobRobi wrote:
    How do I boot the ESP32 as quickly as possible? Right now it takes 1.2s from reset or exit from sedation. Is it possible to do it faster? How do you do this?
    .
    Are you using Arduino Core? If so, it will be difficult. If you are programming directly from ESP-IDF, then: Link .

    RobRobi wrote:
    How do I sedate just one core to make the other work? Do they have separate clocks and power supply? So far they both shut down
    .
    Putting only one to sleep is not an option. You can stop/enable a specific core with the functions esp_cpu_stall () and esp_cpu_unstall (). Link .
    I know from practice that these are quite risky operations if you are not in control of the WTD.

    RobRobi wrote:
    I am interested in the power management and shutdown capabilities of individual components
    .
    In addition to sleep, the frequency can still be configured: Link

    Added after 3 [minutes]:

    RobRobi wrote:
    I managed to split the tasks into two cores.
    .
    And how about the other so-called "system" tasks? ;)
  • ADVERTISEMENT
  • #3 20354315
    RobRobi
    Level 5  
    Thank you very much for your reply. It was useful
  • #4 20354325
    RobRobi
    Level 5  
    I used the Espressif IDE environment
ADVERTISEMENT