Page 1 of 1

Add an ADC_Init command?

Posted: 11 Dec 2006 17:28
by Bob Shannon
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.

Re: Add an ADC_Init command?

Posted: 12 Dec 2006 09:01
by zristic
Great idea, we will probably implement it.

Posted: 02 Jan 2008 19:49
by GVHecke
Any news on how to read analog valueswith the ADC that use different reference voltages than Vcc?

Posted: 02 Jan 2008 22:43
by berni8k
If you really need it you can always do it manually with registers,its not really that hard