Add an ADC_Init command?
Posted: 11 Dec 2006 17:28
I think it would be helpful to have some form of ADC_Init command.
In many applications the ADC is given an external Vref, for example 4.096 volts. Using the VDD / VSS supplies can add noise to the measurments so you cannot get the full resolution of the ADC.
Also using an external Vref can expand the range of the ADC when measuring small voltages.
The ADC_Read command overwites the control registers, and resets the settings that control Vref, and other features.
If ADC_Read were to use values set by a ADC_Init command, we could use many of the advanced features the ADC offers.
In many applications the ADC is given an external Vref, for example 4.096 volts. Using the VDD / VSS supplies can add noise to the measurments so you cannot get the full resolution of the ADC.
Also using an external Vref can expand the range of the ADC when measuring small voltages.
The ADC_Read command overwites the control registers, and resets the settings that control Vref, and other features.
If ADC_Read were to use values set by a ADC_Init command, we could use many of the advanced features the ADC offers.