Problems setting CPU speed

Seeker
Posts: 7
Joined: Fri Nov 12, 2021 5:32 pm

Problems setting CPU speed

Postby Seeker » Fri Nov 12, 2021 5:40 pm

Trying some power reduced things out and ran into an issue, ESP32 WROOM using cmd setCpuFrequencyMhz(240); & getCpuFrequencyMhz(); . Worked a few times trying 10, 40, 80, 240. Then stopped and anytime I execute setCpuFrequencyMhz(240); with any value other than 240 ( ie setCpuFrequencyMhz(80); ) the instruction never returns & program locks. I have looked at a variety of tutorials on this subject without explanation. You comments appreciated.

Al

Who is online

Users browsing this forum: No registered users and 106 guests