Skip to content

[ESP32-S2] DAC channels sometimes swap in DAC_CHANNEL_MODE_ALTER mode (IDFGH-10154) #11425

@ghost

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.

  1. Configure 2 DAC channels in DAC_CHANNEL_MODE_ALTER mode
  2. Start DAC output by dac_continuous_write -> channels are not swapped
  3. Reboot CPU several times till swapping occur.

Debug Logs.

ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019

More Information.

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy