English
Language : 

C8051F52X Datasheet, PDF (25/220 Pages) Silicon Laboratories – 8/4/2 kB ISP Flash MCU Family
C8051F52x-53x
1.4. 12-Bit Analog to Digital Converter
The C8051F52x/F53x devices include an on-chip 12-bit SAR ADC with a maximum throughput of
200 ksps. The ADC system includes a configurable analog multiplexer that selects the positive ADC input,
which is measured with respect to GND. Ports 0 and 1 are available as ADC inputs; additionally, the ADC
includes an innovative half gain selection which allows for inputs up to twice the Vref voltage to be sam-
pled. The on-chip Temperature Sensor output and the core supply voltage (VDD) are also available as ADC
inputs. User firmware may shut down the ADC or use it in Burst Mode to save power.
Conversions can be initiated in three ways: a software command, an overflow of Timer 2 or an external
convert start signal. This flexibility allows the start of conversion to be triggered by software events, a peri-
odic signal (timer overflows), or external HW signals. Conversion completions are indicated by a status bit
and an interrupt (if enabled) and occur after 1, 4, 8, or 16 samples have been accumulated by a hardware
accumulator. The resulting 12-bit to 16-bit data word is latched into the ADC data SFRs upon completion of
a conversion. When the system clock is slow, Burst Mode allows ADC0 to automatically wake from a low
power shutdown state, acquire and accumulate samples, then re-enter the low power shutdown state with-
out CPU intervention.
Window compare registers for the ADC data can be configured to interrupt the controller when ADC data is
either within or outside of a specified range. The ADC can monitor a key voltage continuously in back-
ground mode, but not interrupt the controller unless the converted data is within/outside the specified
range.
Analog Multiplexer
P0.0
P0.6*
P0.7*
P1.0*
P1.7*
* Available in
‘F53x parts
19-to-1
AMUX
Temp
Sensor
VDD
GND
Configuration, Control, and Data Registers
Burst Mode
Logic
Start
Conversion
AD0BUSY (W)
CNVSTR Rising Edge
Timer 2 Overflow
12-Bit
SAR
ADC
End of
Conversion
Interrupt
ADC Data
16
Registers
Accumulator
Window Compare
Logic
Window
Compare
Interrupt
Figure 1.5. 12-Bit ADC Block Diagram
Rev. 0.3
25