160
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
11.10 12-bit A/D Converter
11.10.1 Overview
The analog-to-digital converter (A/D) allows conversion of an analog input signal to a corresponding 12-bit digital value.
The A/D module has tenth analog inputs. The output of the multiplex is the input into the converter, which generates
the result via successive approximation. The A/D module has four registers which are the control register ADCM (A/D
Converter Mode Register), ADCM2 (A/D Converter Mode Register 2) and A/D result register ADCHR (A/D Converter
Result High Register) and ADCLR (A/D Converter Result Low Register). It is selected for the corresponding channel to
be converted by setting ADSEL[3:0]. To executing A/D conversion, ADST bit sets to ‘1’. The register ADCHR and
ADCLR contains the results of the A/D conversion. When the conversion is completed, the result is loaded into the
ADCHR and ADCLR, the A/D conversion status bit AFLAG is set to ‘1’, and the A/D interrupt is set. For processing A/D
conversion, AFLAG bit is read as ‘0’. If using STBY (power down) bit, the ADC is disabled. Also internal timer, external
generating event, comparator, the trigger of timer1pwm and etc. can start ADC regardless of interrupt occurrence.
ADC Conversion Time = ADCLK * 60 cycles
After STBY bit is reset (ADC power enable) and it is restarted, during some cycle, ADC conversion value may have an
inaccurate value.
11.10.2 Block Diagram
Figure 11.58
ADC Block Diagram
MUX
VDD18C
AN14
AN13
AN12
AN1
AN0
Successive
Approximation
Circuit
ADIF
ADCRH[7:0]
(8bit)
ADCRL[7:4]
(4bit)
AFLAG
Resistor Ladder
Circuit
ADST
AN0
12bit A/D Converter Data Register
ADS[3:0]
4
12
ADC
Interrupt
Pre
scaler
MUX
÷
2
÷
4
÷
8
÷
32
SCLK
CKSEL[1:0]
2
ADST
Clear
Comparator
[9B
H
]
[9C
H
]
ADCLK
Содержание MC95FG208 Series
Страница 14: ...14 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 32 Pin SOP Package...
Страница 15: ...15 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 2 32 Pin QFN Package...
Страница 16: ...16 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package...
Страница 17: ...17 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 18: ...18 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package continue...
Страница 19: ...19 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 6 28 Pin SOP Package...
Страница 20: ...20 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 7 28 Pin TSSOP Package...
Страница 21: ...21 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 8 20 Pin SOP Package...
Страница 22: ...22 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 9 20 Pin TSSOP Package...
Страница 23: ...23 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 10 16 Pin SOP Package...
Страница 24: ...24 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 11 16 Pin TSSOP Package...