Hi, lijiandong:
The AP32 is a 5 volt part, and the Vrefl and Vrefh pins need to be at the same voltage as the rest of the chip (don't ask me why; it just does).
The good news is that the ADC has 10 bits of resolution, rather then the 8 bits of many HC08 ADCs. If your reference voltage is precisely at 5 volts, 1 volt will convert to 205 and 2 volts will convert to 410, giving you 205 steps. You will have just under 5 millivolts (actually 4.88 millivolts) per step.
If that isn't enough resolution, you will need to use an external ADC.
Message Edited by rocco on 04-12-200611:00 PM