Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sigma-delta modulation driver #2370

Open
Tracked by #2492
katyo opened this issue Oct 19, 2024 · 0 comments · May be fixed by #2371
Open
Tracked by #2492

Sigma-delta modulation driver #2370

katyo opened this issue Oct 19, 2024 · 0 comments · May be fixed by #2371

Comments

@katyo
Copy link
Contributor

katyo commented Oct 19, 2024

Motivations

Almost all ESP SoCs has Sigma-delta modulation periphery which can be used as a DAC (multi-channel).

ESP32 SoC Number of SigmaDelta channels
ESP32 8
ESP32-S2 8
ESP32-S3 8
ESP32-C3 4
ESP32-C6 4
ESP32-H2 4

Solution

An SDM driver as a part of HAL.

Alternatives

LEDC PWM driver also can be used in such case but SDM typically has lower noise.

Links

Wikipedia Article
IDF API documentation
IDF HAL (C3)
IDF SDM interface
IDF SDM implementation
IDF SDM example

@katyo katyo added the status:needs-attention This should be prioritized label Oct 19, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
katyo added a commit to katyo/esp-hal that referenced this issue Oct 20, 2024
@SergioGasquez SergioGasquez linked a pull request Oct 21, 2024 that will close this issue
6 tasks
@SergioGasquez SergioGasquez removed the status:needs-attention This should be prioritized label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants