English
Language : 

S3C852B Datasheet, PDF (335/383 Pages) Samsung semiconductor – 8-BIT CMOS MICROCONTROLLERS
S3C852B/P852B (Preliminary Spec)
A/D CONVERTER
INTERNAL A/D CONVERSION PROCEDURE
1. Analog input must remain between the voltage range of AVSS and AVREF.
2. Configure P1.0–P1.3 for analog input before A/D conversions. To do this, you load the appropriate value to
the P1AFS.0–P1AFS.3 (for ADC0–ADC3) register.
3. Before the conversion operation starts, you must first select one of the four input pins (ADC0–ADC3) by
writing the appropriate value to the ADCON register.
4. When conversion has been completed, (50 clocks have elapsed), the EOC, ADCON.3 flag is set to "1", so
that a check can be made to verify that the conversion was successful.
5. The converted digital value is loaded to the output register, ADDATAH (8-bit) and ADDATAL (2-bit), than the
ADC module enters an idle state.
6. The digital conversion result can now be read from the ADDATAH and ADDATAL register.
Reference
Voltage
Input
Analog
Input Pin
VDD
R
VDD
AVREF
104
ADC0-ADC3
101
S3C852B
AVSS
VSS
NOTE: The symbol "R" signifies an offset resistor with a value of
from 50 to 100 Ω.
Figure 15-5. Recommended A/D Converter Circuit for Highest Absolute Accuracy
15-5