-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels

Description
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
v5.1-dev-4784-g6cfc6f53be
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32-S2
Power Supply used.
USB
What is the expected behavior?
- The DAC channels should not be swapped in DAC_CHANNEL_MODE_ALTER mode when using dac_continuous_write.
What is the actual behavior?
Sometimes if i reset CPU during DAC DMA processing the DAC channels are swapped. Rebooting the CPU one or several times resolve the problem.
Steps to reproduce.
- Configure 2 DAC channels in DAC_CHANNEL_MODE_ALTER mode
- Start DAC output by dac_continuous_write -> channels are not swapped
- Reboot CPU several times till swapping occur.
Debug Logs.
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
More Information.
No response