gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 74

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
6.2.7.2 Conversion Timing
6.2.7.3 Internal A/D Conversion Procedure
Table 6-10 Example of Conversion Timing versus Frequency
The A/D conversion process requires total 96 clocks.
Conversion timing for each frequency is presented in
Following sequences is the way to run ADC conversion as described in
20 MHz @5V
10 MHz @5V
10 MHz @5V
5 MHz @5V
1. Analog input must remain between the range of V
2. Configure the analog input pins to analog input mode by setting the bits of ADCSEL[7:4] and
3. Turn off pull-up resistors by setting P0SEL[7:1] and P2SEL[2:6] to “1”.
4. Before the conversion operation starts, you must first select one of the twelve input pins
5. To enable ADC conversion, set ADCON[7] to “1”.
6. To start ADC conversion, set ADCON[6] to “1’.
7. When conversion has been completed, the AD_END will be set to “0” and ADCF flag to “1”..
8. Check AD_END or ADCF flag to verify that the conversion was finished.
9. The converted digital value is loaded to the output register, ADCR[7:0] and ADCON[1:0], then
10. The digital conversion result can now be read from the ADCR and ADCON register.
F
OSC
Setup time : 8 clocks
Conversion time : 10 bits x 8 clocks = 80 clocks
Hold time : 8 clocks
AV
ADCSELH[7:9] to “1”.
(ADC0–ADC11) by writing the appropriate value to the ADCSEL[3:0].
the ADC module enters an idle state.
REF
)
.
(ADIV = 0)
F
F
F
F
Divide
OSC
OSC
OSC
OSC
/ 2
/ 2
/ 2
/ 2
10 MHz
2.5MHz
5 MHz
5 MHz
Page 74 of 211
F
ADC
Table
(1/F
100 ns
200 ns
200 ns
400 ns
T
6-10.
ADC
SS
ADC
and reference voltage level (V
)
1 Sample Conversion Time
Figure
Functional Description
6-16.
19.2 us
19.2 us
38.4 us
9.6 us
DD
or

Related parts for gc80c510