cop8ame9 National Semiconductor Corporation, cop8ame9 Datasheet - Page 49

no-image

cop8ame9

Manufacturer Part Number
cop8ame9
Description
8-bit Cmos Flash Microcontroller With 8k Memory, Dual Op Amps, Virtual Eeprom, Temperature Sensor, 10-bit A/d And Brownout Reset
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cop8ame9EMW8/NOPB
Manufacturer:
National
Quantity:
172
15.0 A/D Converter
This device contains a 7-channel, multiplexed input, succes-
sive approximation, 10-bit Analog-to-Digital Converter with
Programmable Gain Amplifier. One A/D channel is internally
connected to the temperature sensor. The remaining six
channels are connected to pins B2-B7 and are available
external to the device. Pins AV
The A/D Converter supports both Single Ended and Differ-
ential modes of operation. Differential mode is only sup-
ported when the programmable gain amplifier is bypassed.
Two specific analog channel selection modes are supported.
These are as follows:
1. Allow any specific channel, except for the temperature
2. Allow any differential channel pair to be selected at one
In both Single Ended mode and Differential mode, there is
the capability to connect the analog multiplexor output, with
the exception of the temperature sensor input, 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 six memory mapped
registers: two result registers, the control register, two offset
trimming registers, and the gain register. When the device is
reset, the mode control register (ENAD) is cleared, the A/D is
sensor input, with or without the programmable gain
amplifier, to be selected at one time. The A/D Converter
performs the specific conversion requested and stops.
When using the temperature sensor, the programmable
gain amplifier is required. See the Temperature Sensor
section for more details on using the temperature sen-
sor.
time. The A/D Converter performs the specific differen-
tial conversion requested and stops. Differential mode is
only supported when the programmable gain amplifier is
bypassed.
CC
and AGND are used for the
FIGURE 25. Simplified A/D Converter Block Diagram
49
A/D Converter, Temperature Sensor, Programmable Gain
Amplifier, and Stand-Alone Amplifier.
15.1 9.1 OPERATING MODES
The simplified block diagram of the A/D Converter is shown
in Figure 25.
powered down and the A/D result registers have unknown
data. The offset trim registers are also initialized to 40 Hex
on Reset and need to be re-trimmed, if being used. The gain
register is initialized to 00 on Reset.
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.
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 seven channels to be the V
The mode selection and the mux output determine the V
input. When MUX = 0, all seven channels are available, as
shown in Table 22. When MUX = 1, only 4 channels are
available, as shown in Table 23.
ADCH3
Bit 7
ADCH2
Channel Select
Bit 6
TABLE 21. ENAD Register
ADCH1
Bit 5
ADCH0
Bit 4
ADMOD
Select
20006355
Mode
Bit 3
Mux/Out Prescale
Bit 2
MUX
Bit 1
PSC
www.national.com
ADBSY
Busy
Bit 0
IN+
IN-
.

Related parts for cop8ame9