cop8ccr9 National Semiconductor Corporation, cop8ccr9 Datasheet - Page 55

no-image

cop8ccr9

Manufacturer Part Number
cop8ccr9
Description
8-bit Cmos Flash Microcontroller With 32k Memory, Virtual Eeprom, 10-bit A/d And Brownout
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cop8ccr9HLQ8
Manufacturer:
ST
Quantity:
12 000
Part Number:
cop8ccr9HVA8
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8ccr9HVA8/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8ccr9IMT7/NOPB
Manufacturer:
NS/TI
Quantity:
8
Part Number:
cop8ccr9LVA7
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8ccr9LVA7/63SN
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8ccr9LVA7/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
15.0 A/D Converter
15.2 A/D OPERATION
The A/D conversion is completed within fifteen A/D converter
clocks. The A/D Converter interface works as follows. Setting
the ADBSY bit in the A/D control register ENAD initiates an
A/D conversion. The conversion sequence starts at the be-
ginning of the write to ENAD operation which sets ADBSY,
thus powering up the A/D. At the first edge of the Converter
clock following the write operation, the sample signal turns
on for three clock cycles. At the end of the conversion, the
internal conversion complete signal will clear the ADBSY bit
and power down the A/D. The A/D 10-bit result is immedi-
ately loaded into the A/D result registers (ADRSTH and
ADRSTL) upon completion.
Inadvertent changes to the ENAD register during conversion
are prevented by the control logic of the A/D. Any attempt to
write any bit of the ENAD Register except ADBSY, while
ADBSY is a one, is ignored. ADBSY must be cleared either
by completion of an A/D conversion or by the user before the
prescaler, conversion mode or channel select values can be
changed. After stopping the current conversion, the user can
load different values for the prescaler, conversion mode or
channel select and start a new conversion in one instruction.
15.2.1 Prescaler
The A/D Converter (A/D) contains a prescaler option that
allows two different clock speed selections as shown in
Table 23. The A/D clock frequency is equal to MCLK divided
by the prescaler value. Note that the prescaler value must be
chosen such that the A/D clock falls within the specified
range. The maximum A/D frequency is 1.25 MHz. This
equates to a 800 ns A/D clock cycle.
The A/D Converter takes 15 A/D clock cycles to complete a
conversion. Thus the minimum A/D conversion time is 12.0
µs when a prescaler of 16 has been selected with
MCLK = 20 MHz. The 15 A/D clock cycles needed for
conversion consist of 3 cycles for sampling, 1 cycle for
*The analog switch is closed only during the sample time.
(Continued)
FIGURE 28. A/D Pin Model (Single Ended Mode)
55
auto-zeroing the comparator, 10 cycles for converting, 1
cycle for loading the result into the result registers, for stop-
ping and for re-initializing. The ADBSY flag provides an A/D
clock inhibit function, which saves power by powering down
the A/D when it is not in use.
Note: The A/D Converter is also powered down when the
device is in either the HALT or IDLE modes. If the A/D is
running when the device enters the HALT or IDLE modes,
the A/D powers down and then restarts the conversion from
the beginning with a corrupted sampled voltage (and thus an
invalid result) when the device comes out of the HALT or
IDLE modes.
15.3 ANALOG INPUT AND SOURCE RESISTANCE
CONSIDERATIONS
Figure 28 shows the A/D pin model in single ended mode.
The differential mode has a similar A/D pin model. The leads
to the analog inputs should be kept as short as possible.
Both noise and digital clock coupling to an A/D input can
cause conversion errors. The clock lead should be kept
away from the analog input line to reduce coupling.
Source impedances greater than 3 kΩ on the analog input
lines will adversely affect the internal RC charging time
during input sampling. As shown in Figure 28, the analog
switch to the DAC array is closed only during the 3 A/D cycle
sample time. Large source impedances on the analog inputs
may result in the DAC array not being charged to the correct
voltage levels, causing scale errors.
If large source resistance is necessary, the recommended
solution is to slow down the A/D clock speed in proportion to
the source resistance. The A/D Converter may be operated
at the maximum speed for R
than 3 kΩ, A/D clock speed needs to be reduced. For ex-
ample, with R
at half the maximum speed. A/D Converter clock speed may
be slowed down by either increasing the A/D prescaler
divide-by or decreasing the CKI clock frequency. The A/D
minimum clock speed is 65.536 kHz.
S
= 6 kΩ, the A/D Converter may be operated
S
less than 3 kΩ. For R
10137453
www.national.com
S
greater

Related parts for cop8ccr9