RMT with Power Management and Dynamic Frequency Scaling enabled screws up data transfer (IDFGH-11122) #12292
Closed
3 tasks done
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
master 5.2.2
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-PICO-1
Power Supply used.
External 3.3V
What is the expected behavior?
I'm working with the standard example/peripherals/rmt/led-stript
My goal is to have power management and dynamic frequency scaling enabled and still have a correct RMT data transfer.
What is the actual behavior?
But when I enable PM and DFS, the example does not work anymore.
I mean, the lights are flickering, but in a bad way and not intended. Addressing single LEDs is no longer correct.
It looks to me that the bits are mangled, even trying to address a single LED shows up at two LEDs.
I know that RMT is dependent on the frequency when using the APB as a clock source.
I added power management locks to the code:
Even changed the APB to the XTAL as clock source. No change.
When both PM and DFS is enabled, RMT does no longer work correctly.
Steps to reproduce.
1: create a file sdkconfig.defaults with the following content:
2: change clock source
Or put some power management locks around the code.
3: observe
Debug Logs.
More Information.
switching off DFS makes it work correctly
The text was updated successfully, but these errors were encountered: