Skip to content

Is it possible to set the frequency of CPU of ESP32 lower than 10MHz? #4785

@floatAsNeeded

Description

@floatAsNeeded

Hi!

As per title, I'm actually using my esp32 when the WiFi is off at frequency of 10MHz in order to save power, because I can't use the sleep mode in my case. I was wondering: Is it possible to lower the frequency at 2MHz to bring the consumption lower?

At the moment I'm using this line of code for doing that:

setCpuFrequencyMhz(10);

Of course I also tried to change the value to 2 instead of 10 but without effect.

And also another question. Is millis() will affect the timing when lowering the frequency so much?

Thank you in advance if someone has some ideas!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions