COP8CDR9IMT8 National Semiconductor, COP8CDR9IMT8 Datasheet - Page 55
![IC MCU CMOS 8BIT 48-TSSOP](/photos/6/64/66474/14-48-tssop_sml.jpg)
COP8CDR9IMT8
Manufacturer Part Number
COP8CDR9IMT8
Description
IC MCU CMOS 8BIT 48-TSSOP
Manufacturer
National Semiconductor
Series
COP8™ 8Cr
Datasheet
1.COP8CDR9HVA8NOPB.pdf
(84 pages)
Specifications of COP8CDR9IMT8
Core Processor
COP8
Core Size
8-Bit
Speed
20MHz
Connectivity
Microwire/Plus (SPI), UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
39
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
48-TSSOP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Other names
*COP8CDR9IMT8
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