ST52F513G3M6 STMicroelectronics, ST52F513G3M6 Datasheet - Page 67

ST52F513G3M6

Manufacturer Part Number
ST52F513G3M6
Description
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST52F513G3M6

Cpu Family
ST52
Device Core Size
8b
Frequency (max)
20MHz
Interface Type
I2C/SCI/SPI
Program Memory Type
Flash
Program Memory Size
8KB
Total Internal Ram Size
256Byte
# I/os (max)
22
Number Of Timers - General Purpose
2
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
8-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
28
Package Type
SO
Lead Free Status / Rohs Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST52F513G3M6
Manufacturer:
ST
0
Part Number:
ST52F513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST52F513G3M6TR
Manufacturer:
ST
Quantity:
20 000
10 10-BIT A/D CONVERTER
10.1 Introduction
ST52F510/F513 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
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
s in fast mode and of 20 s in slow mode. This
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 2.7V - 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.
REF
ST52510xx ST52513xx
references. The V
DD
.
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
67/136
can
the

Related parts for ST52F513G3M6