st52f510 STMicroelectronics, st52f510 Datasheet - Page 65

no-image

st52f510

Manufacturer Part Number
st52f510
Description
8-bit Intelligent Controller Unit Icu Two Timer/pwms, Adc, I2c, Spi, Sci
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st52f510F3M
Manufacturer:
ST
0
Part Number:
st52f510F3M6
Manufacturer:
ST
0
Part Number:
st52f510G3M6
Manufacturer:
ST
0
10 10-BIT A/D CONVERTER
10.1 Introduction
ST52F510/F513/F514 A/D Converter is a 10-bit
analog to digital converter with up to 8 analog
inputs. The A/D converter offers a typical
conversion time of 10 s in fast mode and of 20 s
in slow mode. This period also includes the time of
the integral Sample and Hold circuitry, which
minimizes the need for external components and
allows quick sampling of the signal for the
minimum warping effect and integral conversion
error.
In addition the peripheral performs a calibration
procedure in order to get the maximum precision
allowed in the data of conversion. The calibration
procedure is performed in two phases: the pre-
charging phase and the tuning phase. The pre-
charging process can be executed, after the
peripheral start, to set-up the internal references
and to speed-up the tuning process. The tuning
process is carried-out during the channels
conversion.
Note: The user must be take in account both the
pre-charging time and some dummy conversion (at
least 20) for the tuning before starting the data
acquisition. It is recommended to repeat this
procedure at the start-up and after a long time
peripheral stop.
Figure 10.1 A/D Converter Structure
VREF
Ain0
Ain1
Ain2
Ain3
Ain4
Ain5
Ain6
Ain7
VDD
ANALOG
MUX
Oscillator
10 MHz
Internal
SAMPLE
REF
HOLD
&
CH0
V
REF
SUCCESSIVE APPROXIMATION A/D CONVERTER
CH1
CH2
: 6
: 12
AUTO-CALIBRATION
CONFIGURATION REGISTERS
COMPARATOR
SCK
AUTO-ZERO /
REFERENCE
RESISTIVE
LADDER
DAC
SEQ
CONT
clock
A/D
RESOL
The pre-charging process starts by starting the
peripheral by setting to 1 the STR bit of the AD_CR
Configuration
calibration procedure, the pre-charging phase can
be skipped when not necessary (for example when
consecutive single conversions are performed).
The user can disable the pre-charging by setting
the PRECH bit in the AD_CR Configuration
Register.
The A/D peripheral converts the input voltage with
a process of successive approximations using a
fixed clock frequency derived from the 10 MHz
internal oscillator, divided by a factor that depends
on the speed mode: about 1.6 MHz in Fast Mode
and 800 kHz in Slow Mode. The speed mode is
chosen by the SCK bit of the AD_CR Configuration
Register.
The conversion range is found between the analog
V
be either internal, derived from the V
by using the VREF pin. The external reference
voltage allows the application of more precise and
stable reference voltages. The two modes are
selected by using the REF bit of the AD_CR
Configuration Register.
Remark: the voltage applied to the VREF pin must
be in the range V
The external reference voltage V
the analog pin PB0. This pin shares the alternate
functions with the first analog channel Ain0: if the
INT0
SS
APPROXIMATION
INT1
SUCCESSIVE
and the A/D V
CONTROL
REGISTER
LOGIC
POW
PRECH
STR
Register.
SS
REF
- V
DD
references. The V
.
ST52F510/F513/F514
To
INPUT REGISTERS
MSB
MSB
MSB
MSB
MSB
MSB
MSB
MSB
STATUS REGISTER
REF
speed-up
DD
is applied to
, or external
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
REF
65/106
can
the

Related parts for st52f510