mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-02 21:48:13 +00:00 
			
		
		
		
	ESP32 lets the user choose from using Vref, Lookup Table, and Two-Point Calibration. In ESP32S2 only two-point calibration is supported. This commit support these changes in idf. Closes https://github.com/espressif/esp-idf/issues/5455
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
menu "ADC-Calibration"
 | 
						|
 | 
						|
    config ADC_CAL_EFUSE_TP_ENABLE
 | 
						|
        depends on IDF_TARGET_ESP32
 | 
						|
        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_CAL_EFUSE_VREF_ENABLE
 | 
						|
        depends on IDF_TARGET_ESP32
 | 
						|
        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_CAL_LUT_ENABLE
 | 
						|
        depends on IDF_TARGET_ESP32
 | 
						|
        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  # ADC-Calibration
 |