COP8CBR9 National Semiconductor, COP8CBR9 Datasheet - Page 52
![no-image](/images/manufacturer_photos/0/4/469/national_semiconductor_sml.jpg)
COP8CBR9
Manufacturer Part Number
COP8CBR9
Description
8-Bit CMOS Flash Microcontroller with 32k Memory/ Virtual EEPROM/ 10-Bit A/D and Brownout
Manufacturer
National Semiconductor
Datasheet
1.COP8CBR9.pdf
(84 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
COP8CBR91MT8
Manufacturer:
NS/国半
Quantity:
20 000
Company:
Part Number:
COP8CBR9HVA8
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
COP8CBR9HVA8/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
COP8CBR9LVA8
Manufacturer:
Texas Instruments
Quantity:
10 000
www.national.com
15.0 A/D Converter
15.1 OPERATING MODES
It supports both Single Ended and Differential modes of
operation.
Two specific analog channel selection modes are supported.
These are as follows:
1. Allow any specific channel to be selected at one time.
2. Allow any differential channel pair to be selected at one
In both Single Ended and Differential modes, there is the
capability to connect the analog multiplexor output and A/D
converter input to external pins. This provides the ability to
externally connect a common filter/signal conditioning circuit
for the A/D Converter.
The A/D Converter is supported by three memory mapped
registers: two result registers and the control register. When
the device is reset, the mode control register (ENAD) is
cleared, the A/D is powered down and the A/D result regis-
ters have unknown data.
15.1.1 A/D Control Register
The control register, ENAD, contains 4 bits for channel se-
lection, 1 bit for mode selection, 1 bit for the multiplexor
output selection, 1 bit for prescaler selection, and a Busy bit.
ADCH3
The A/D Converter performs the specific conversion re-
quested and stops.
time. The A/D Converter performs the specific differen-
tial conversion requested and stops.
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
TABLE 20. A/D Converter Channel Selection when the Multiplexor Output is Disabled
ADCH2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Select Bits
(Continued)
ADCH1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
ADCH0
52
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
An A/D conversion is initiated by setting the ADBSY bit in the
ENAD control register. The result of the conversion is avail-
able to the user in the A/D result registers, ADRSTH and
ADRSTL, when ADBSY is cleared by the hardware on
completion of the conversion.
15.1.1.1 Channel Select
This 4-bit field selects one of sixteen channels to be the V
The mode selection and the mux output determine the V
input. When MUX = 0, all sixteen channels are available, as
shown in Table 20. When MUX = 1, only fourteen channels
are available, as shown in Table 21.
All port pins which are used, in the application, in A/D opera-
tions must be configured as high-impedance inputs. If the
ports are configured as outputs or inputs with weak pull-up
there will be a conflict between the analog signal and the
digitally driven output.
ADCH3 ADCH2 ADCH1 ADCH0
Bit 7
Channel Select
Single Ended
Mode Select
Channel No.
ADMOD = 0
Mode
10
11
12
13
14
15
0
1
2
3
4
5
6
7
8
9
TABLE 19. ENAD
Channel Pairs
Mode Select
Mode Select Mux/Out Prescale
ADMOD = 1
Differential
ADMOD
12, 13
13, 12
14, 15
15, 14
10, 11
11, 10
Mode
(+, −)
0, 1
1, 0
2, 3
3, 2
4, 5
5, 4
6, 7
7, 6
8, 9
9, 8
MUX
Mux Output
PSC
Disabled
MUX
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
ADBSY
Busy
Bit 0
IN+
IN-
.