Status of digital to analog converter (DAC) in IDF > 5.0
Posted: Thu Feb 23, 2023 5:28 pm
I wanted to write a test-app for the DAC converter in the esp32, however the examples in the doc are not available on the esp-idf 5.0 branch and it seems that there is no "driver/dac_oneshot.h"... Is the component being discontinued or excluded for the moment?
EDIT: Legacy dac.h is available for esp32 in driver/esp32/include, but it only declares dac over i2s:
No dac_oneshot_new_channel / dac_oneshot_output_voltage which I need.
EDIT: Legacy dac.h is available for esp32 in driver/esp32/include, but it only declares dac over i2s:
Code: Select all
esp_err_t dac_i2s_enable(void);
esp_err_t dac_i2s_disable(void);