参数资料
型号: ST6210CN6/XXX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
封装: ROHS COMPLIANT, PLASTIC, SSOP-20
文件页数: 55/104页
文件大小: 1661K
代理商: ST6210CN6/XXX
ST6208C/ST6209C/ST6210C/ST6220C
54/104
A/D CONVERTER (Cont’d)
8.3.4 Recommendations
The following six notes provide additional informa-
tion on using the A/D converter.
1.The A/D converter does not feature a sample
and hold circuit. The analog voltage to be meas-
ured should therefore be stable during the entire
conversion cycle. Voltage variation should not ex-
ceed ±1/2 LSB for optimum conversion accuracy.
A low pass filter may be used at the analog input
pins to reduce input voltage variation during con-
version.
2. When selected as an analog channel, the input
pin is internally connected to a capacitor Cad of
typically 9pF. For maximum accuracy, this capaci-
tor must be fully charged at the beginning of con-
version. In the worst case, conversion starts one
instruction (6.5 s) after the channel has been se-
lected. The impedance of the analog voltage
source (ASI) in worst case conditions, is calculat-
ed using the following formula:
6.5s = 9 x Cad x ASI
(capacitor charged to over 99.9%), i.e. 30 k
Ω in-
cluding a 50% guardband.
The ASI can be higher if Cad has been charged for
a longer period by adding instructions before the
start of conversion (adding more than 26 CPU cy-
cles is pointless).
3. Since the ADC is on the same chip as the micro-
processor, the user should not switch heavily load-
ed output signals during conversion, if high preci-
sion is required. Such switching will affect the sup-
ply voltages used as analog references.
4. Conversion accuracy depends on the quality of
the power supplies (VDD and VSS). The user must
take special care to ensure a well regulated refer-
ence voltage is present on the VDD and VSS pins
(power supply voltage variations must be less than
0.1V/ms). This implies, in particular, that a suitable
decoupling capacitor is used at the VDD pin.
The converter resolution is given by:
The Input voltage (Ain) which is to be converted
must be constant for 1s before conversion and
remain constant during conversion.
5. Conversion resolution can be improved if the
power supply voltage (VDD) to the microcontroller
is lowered.
6. In order to optimize the conversion resolution,
the user can configure the microcontroller in WAIT
mode, because this mode minimises noise distur-
bances and power supply variations due to output
switching. Nevertheless, the WAIT instruction
should be executed as soon as possible after the
beginning of the conversion, because execution of
the WAIT instruction may cause a small variation
of the VDD voltage. The negative effect of this var-
iation is minimized at the beginning of the conver-
sion when the converter is less sensitive, rather
than at the end of conversion, when the least sig-
nificant bits are determined.
The best configuration, from an accuracy stand-
point, is WAIT mode with the Timer stopped. In
this case only the ADC peripheral and the oscilla-
tor are then still working. The MCU must be woken
up from WAIT mode by the ADC interrupt at the
end of the conversion. The microcontroller can
also be woken up by the Timer interrupt, but this
means the Timer must be running and the result-
ing noise could affect conversion accuracy.
Caution: When an I/O pin is used as an analog in-
put, A/D conversion accuracy will be impaired if
negative current injections (VINJ < VSS) occur from
adjacent I/O pins with analog input capability. Re-
fer to Figure 35. To avoid this:
– Use another I/O port located further away from
the analog pin, preferably not multiplexed on the
A/D converter
– Increase the input resistance RIN J (to reduce the
current injections) and reduce RADC (to preserve
conversion accuracy).
Figure 35. Leakage from Digital Inputs
V
DD
V
SS
256
--------------------------------
PBy/AINy
PBx/AINx
RADC
Leakage Current
if VINJ < VSS
A/D
I/O Port
(Digital I/O)
RINJ
Converter
Digital
Input
Analog
Input
VAIN
VINJ
1
相关PDF资料
PDF描述
ST6220CM1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
ST6220CN6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
ST6209CM1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
ST6209CN1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
ST6209CN6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
相关代理商/技术参数
参数描述
ST6210L 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:LOW VOLTAGE 8-BIT ROM MCUs WITH A/D CONVERTER AND 20 PINS
ST6210LB1 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:LOW VOLTAGE 8-BIT ROM MCUs WITH A/D CONVERTER AND 20 PINS
ST6210LB1/OTP 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT MCUs WITH A/D CONVERTER, TWO TIMERS, OSCILLATOR SAFEGUARD & SAFE RESET
ST6210LB1/XXX 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST6210LB3/OTP 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT MCUs WITH A/D CONVERTER, TWO TIMERS, OSCILLATOR SAFEGUARD & SAFE RESET