EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #373 background imageLoading...
Page #373 background image
Chapter 2. API Reference
Convert to analog signal (Optional)
Typically, if the sigma-delta signal is connected to an LED, you dont have to add any filter between them (because
our eyes are a low pass filter naturally). However, if you want to check the real voltage or watch the analog waveform,
you need to design an analog low pass filter. Also, it is recommended to use an active filter instead of a passive filter
to gain better isolation and not lose too much voltage.
For example, you can take the following Sallen-Key topology Low Pass Filter as a reference.
Fig. 11: Sallen-Key Low Pass Filter
Application Example
Sigma-delta Modulation example: peripherals/sigmadelta.
API Reference
Header File
components/driver/include/driver/sigmadelta.h
Functions
esp_err_t sigmadelta_config(const sigmadelta_config_t *config)
Configure Sigma-delta channel.
Return
ESP_OK Success
ESP_ERR_INVALID_STATE sigmadelta driver already initialized
ESP_ERR_INVALID_ARG Parameter error
Parameters
config: Pointer of Sigma-delta channel configuration struct
esp_err_t sigmadelta_set_duty(sigmadelta_channel_t channel, int8_t duty)
Set Sigma-delta channel duty.
Espressif Systems 362
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish