If dynamic frequency scaling is active, the RTC runs too fast. An external oscillator is not available, so only the internal ones can be used.
Internal 150 kHz RC oscillator
Internal 8.5 MHz oscillator, divided by 256 (~33 kHz)
In both configurations the clock runs too fast.
No sleep functions are used.
Expected Behavior
DFS should not affect RTC.
Actual Behavior
If DFS is active and CPU + APB clock are reduced, the RTC becomes faster.
If the APB clock is locked via power-management 'ESP_PM_APB_FREQ_MAX', the accuracy of the RTC remains within limits.
Environment
Problem Description
If dynamic frequency scaling is active, the RTC runs too fast. An external oscillator is not available, so only the internal ones can be used.
In both configurations the clock runs too fast.
No sleep functions are used.
Expected Behavior
DFS should not affect RTC.
Actual Behavior
If DFS is active and CPU + APB clock are reduced, the RTC becomes faster. If the APB clock is locked via power-management 'ESP_PM_APB_FREQ_MAX', the accuracy of the RTC remains within limits.
Steps to reproduce
Code snippets
DFS setup:
Lock APB clock: