st52f513 STMicroelectronics, st52f513 Datasheet - Page 69

no-image

st52f513

Manufacturer Part Number
st52f513
Description
8-bit Microcontrollers
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st52f5136G3M6
Manufacturer:
ST
0
Part Number:
st52f513F3M6TR
Manufacturer:
ON
Quantity:
2 835
Part Number:
st52f513G3M6
Manufacturer:
ST
0
Part Number:
st52f513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513G3M6TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513GM6
Manufacturer:
ST
0
Part Number:
st52f513Y3M6
Manufacturer:
ST
0
10.3.4
In this mode (CONT=1, SEQ=1) a continuous
conversion flow is entered by a start event on the
selected channel sequence. The CH2-0 bits
indicate the last channel of the sequence.
At the end of each conversion the relative Input
Registers are updated with the last conversion
results, while the former values are lost.
The conversion continues until a stop command is
executed by writing a ‘0’ in the apposite AD_CR
Configuration Register bit STR.
10.4 Power Down Mode
Before enabling any A/D operation modes, set the
Power On bit (POW) of the Configuration Register
AD_CR to ‘1’ and then start the A/D Converter by
setting the STR bit. It is suggested to execute the
pre-charging after the Power on to speed-up the
auto calibration process. Clearing the Power On bit
is useful when the A/D is not used, reducing the
total chip power consumption. This state is also the
reset configuration and it is forced by hardware
when the core is in HALT state (after a HALT
instruction execution).
10.5 A/D Converter Register Description
The following registers are related to the use of the
A/D Converter.
10.5.1 A/D Converter Configuration Registers.
A/D Converter Control Register 1 (AD_CR1)
Configuration Register 8 (08h) Read/Write
Reset Value: 0000 0000 (00h)
Bit 7-5: CH2-CH0 Channel Number
Bit 4: SCK A/D speed mode
CH2
7
0: Slow mode (800 kHz)
1: Fast mode (1600 kHz)
The number specified identifies the number
of channels to be converted (Multiple
Channel mode) or the channel to be
converted (One Channel mode)
CH1
Multiple Channels Continuous Mode.
CH0
SCK
SEQ
POW
CONT
STR
0
Bit 3: SEQ One/Multiple Channel Mode
Bit 2: POW A/D Converter Power Down/Up
Bit 1: CONT Single/Continuous Mode
Bit 0: STR A/D Converter Start bit
A/D Converter Control Register 2 (AD_CR2)
Configuration Register 47 (02Fh) Read/Write
Reset Value: 0000 0000 (00h)
Bit 7-5: not used
Bit 4: PRECH Pre-charging process on/off
Bit 3: REF Voltage Reference (VREF) source
Bit 2: RESOL 8/10 bits resolution
Bit 1: INT1 Overflow interrupt mask
Bit 0: INT0 End of Conversion interrupt mask
7
-
0: One Channel Mode
1: Multiple Channel Mode
0: Power down
1: Power up
0: Single Mode
1: Continuous Mode
0: A/D Converter stopped
1: A/D Converter started
0: Pre-charge on (default)
1: Pre-charge off
0: Internal from Vdd
1: External from VREF pin
0: 10 bits
1: 8 bits
0: interrupt disabled
1: interrupt enabled (if MSKAD=1)
0: interrupt disabled
1: interrupt enabled (if MSKAD=1)
-
-
PRECH
ST52510xx ST52513xx
REF
RESOL
INT1
69/136
INT0
0

Related parts for st52f513