2022-07-15 00:52:44 -04:00
|
|
|
menu "ADC and ADC Calibration"
|
|
|
|
|
|
|
|
config ADC_ONESHOT_CTRL_FUNC_IN_IRAM
|
|
|
|
bool "Place ISR version ADC oneshot mode read function into IRAM"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Place ISR version ADC oneshot mode read function into IRAM.
|
|
|
|
|
|
|
|
config ADC_CONTINUOUS_ISR_IRAM_SAFE
|
|
|
|
depends on SOC_ADC_DMA_SUPPORTED
|
|
|
|
bool "ADC continuous mode driver ISR IRAM-Safe"
|
|
|
|
default n
|
|
|
|
select GDMA_ISR_IRAM_SAFE if SOC_ADC_DMA_SUPPORTED && SOC_GDMA_SUPPORTED
|
|
|
|
help
|
|
|
|
Ensure the ADC continuous mode ISR is IRAM-Safe. When enabled, the ISR handler
|
|
|
|
will be available when the cache is disabled.
|
|
|
|
|
|
|
|
menu "ADC Calibration Configurations"
|
|
|
|
depends on IDF_TARGET_ESP32
|
|
|
|
|
|
|
|
config ADC_CALI_EFUSE_TP_ENABLE
|
|
|
|
bool "Use Two Point Values"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Some ESP32s have Two Point calibration values burned into eFuse BLOCK3.
|
|
|
|
This option will allow the ADC calibration component to characterize the
|
|
|
|
ADC-Voltage curve using Two Point values if they are available.
|
|
|
|
|
|
|
|
config ADC_CALI_EFUSE_VREF_ENABLE
|
|
|
|
bool "Use eFuse Vref"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Some ESP32s have Vref burned into eFuse BLOCK0. This option will allow
|
|
|
|
the ADC calibration component to characterize the ADC-Voltage curve using
|
|
|
|
eFuse Vref if it is available.
|
|
|
|
|
|
|
|
config ADC_CALI_LUT_ENABLE
|
|
|
|
bool "Use Lookup Tables"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
This option will allow the ADC calibration component to use Lookup Tables
|
|
|
|
to correct for non-linear behavior in 11db attenuation. Other attenuations
|
|
|
|
do not exhibit non-linear behavior hence will not be affected by this option.
|
|
|
|
endmenu
|
|
|
|
|
2022-08-21 23:17:08 -04:00
|
|
|
config ADC_DISABLE_DAC_OUTPUT
|
|
|
|
depends on SOC_DAC_SUPPORTED
|
|
|
|
bool "Disable DAC when ADC2 is in use"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
By default, this is set. The ADC oneshot driver will disable the output of the
|
|
|
|
corresponding DAC channels:
|
|
|
|
ESP32: IO25 and IO26
|
|
|
|
ESP32S2: IO17 and IO18
|
|
|
|
|
|
|
|
Disable this option so as to measure the output of DAC by internal ADC, for test usage.
|
|
|
|
|
|
|
|
|
2022-07-15 00:52:44 -04:00
|
|
|
endmenu
|