2006-02-12 9:32 PM
2006-02-12 1:03 PM
I am using the ADC in STR710 chip. When P1.0 is 1.00V
I want to know the converted value stored in ADC_DATA[0]. The STR710 ADC is different to other MCU. I am not so clear to it's principle. How to calculate the converted value when AIN0 has voltage 0--2.5V. [ This message was edited by: dom on 13-02-2006 02:34 ]2006-02-12 9:32 PM
Hi dom,
While the analog modulator is critically important in determining accuracy of a sigma delta ADC, digital software calibration techniques are essential for reducing offset and gain errors, as well as improving linearity. The converted value stored in ADC_DATA[n] is a signed two’s complement. To calibrate the converter, it’s necessary to apply the minimum and maximum inputs supported 0V and 2.5V. The digital output for a 0V input is the offset. The offset and gain correction factors calculated by software can be stored digitally and applied to all outputs from the converter. Note: You can find with the STR71x software library package (available on the web) an example of how to use the STR71x ADC 12 converter in single channel mode. Regards, HichemWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.