Skip to content

Stops detecting movement when dynamically changing CPU clock #48

Description

@jmcazaux

Hi,
first things first, this library is great and as a beginner in the world of ESP32 / embedded / etc., I really appreciate the simplicity.

I am probably in a fairly niche use case, but for my project I need to dynamically change the CPU speed in a pretty extreme way.
Without going too much into details, this is an audio system with a DAB shield and Bluetooth. The DAB shield needs low frequency as the controller is too "radio-magnetically loud" at high frequency and jams signal reception when the bluetooth can only work above 80Mhz.

I am able to switch between 240 and 80MHz, but when trying to go to 10Mhz, the ror-tary encoder stops changing value.
The code can be seen here.

Do you see any obvious reason whey it fails?
Is there a sort of updateCpuClock a little bit like Serial.upodateBaudRate()?

Many thanks in advance if you have any tip!
🙏

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions