DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST7MC2N6 データシートの表示(PDF) - STMicroelectronics

部品番号
コンポーネント説明
メーカー
ST7MC2N6 Datasheet PDF : 309 Pages
First Prev 231 232 233 234 235 236 237 238 239 240 Next Last
ST7MC1xx/ST7MC2xx
10-BIT A/D CONVERTER (ADC) (Cont’d)
10.8.3.3 Digital A/D Conversion Result
The conversion is monotonic, meaning that the re-
sult never decreases if the analog input does not
and never increases if the analog input does not.
If the input voltage (VAIN) is greater than VREF+
(high-level voltage reference) then the conversion
result is FFh in the ADCDRMSB register and 03h
in the ADCDRLSB register (without overflow indi-
cation).
If the input voltage (VAIN) is lower than VREF- (low-
level voltage reference) then the conversion result
in the ADCDRMSB and ADCDRLSB registers is
00 00h.
The A/D converter is linear and the digital result of
the conversion is stored in the ADCDRMSB and
ADCDRLSB registers. The accuracy of the con-
version is described in the Electrical Characteris-
tics Section.
RAIN is the maximum recommended impedance
for an analog input signal. If the impedance is too
high, this will result in a loss of accuracy due to
leakage and sampling not being completed in the
alloted time.
RREF is the value of the resistive bridge imple-
mented in the device between VREF+ and VREF-.
10.8.3.4 A/D Conversion
The analog input ports must be configured as in-
put, no pull-up, no interrupt. Refer to the «I/O
ports» chapter. Using these pins as analog inputs
does not affect the ability of the port to be read as
a logic input. If the application used the high-im-
pedance analog inputs, then the sample time
should be stretched by setting the ADSTS bit in
the MCCBCR register.
In the ADCCSR register:
– Select the CS[3:0] bits to assign the analog
channel to convert.
ADC Conversion mode
In the ADCCSR register:
– Set the ADON bit to enable the A/D converter
and to start the conversion. From this time on,
the ADC performs a continuous conversion of
the selected channel.
– The EOC bit is kept low by hardware during the
conversion.
Note: Changing the A/D channel during conver-
sion will stop the current conversion and start con-
version of the newly selected channel.
237/309

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]