I2C-CPEV National Semiconductor, I2C-CPEV Datasheet - Page 53

no-image

I2C-CPEV

Manufacturer Part Number
I2C-CPEV
Description
BOARD INTERFACE USB I2C
Manufacturer
National Semiconductor
Datasheets

Specifications of I2C-CPEV

Main Purpose
Interface, USB to I²C
Utilized Ic / Part
COP8CBE9
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Secondary Attributes
-
Embedded
-
Primary Attributes
-
15.0 A/D Converter
15.1.1.3 MODE SELECT
This 1-bit field is used to select the mode of operation (single
ended or differential) as shown in the following Table 22.
15.1.1.4 PRESCALER SELECT
This 1-bit field is used to select one of two prescaler clocks
for the A/D Converter. The following Table 23 shows the
various prescaler options. Care must be taken, when select-
ing this bit, to keep the A/D clock frequency within the
specified range.
15.1.1.5 BUSY BIT
The ADBSY bit of the ENAD register is used to control
starting and stopping of the A/D conversion. When ADBSY is
cleared, the prescale logic is disabled and the A/D clock is
turned off, drawing minimal power. Setting the ADBSY bit
starts the A/D clock and initiates a conversion based on the
TABLE 22. A/D Conversion Mode Selection
TABLE 23. A/D Converter Clock Prescale
ADMOD
PSC
0
1
0
1
FIGURE 26. A/D with Single Ended Mux Output Feature Enabled
FIGURE 27. A/D with Differential Mux Output Feature Enabled
(Continued)
Single Ended Mode
MCLK Divide by 16
MCLK Divide by 1
Differential Mode
Clock Select
Mode
53
values currently in the ENAD register. Normal completion of
an A/D conversion clears the ADBSY bit and turns off the A/D
Converter.
If the user wishes to restart a conversion which is already in
progress, this can be accomplished only by writing a zero to
the ADBSY bit to stop the current conversion and then by
writing a one to ADBSY to start a new conversion. This can
be done in two consecutive instructions.
15.1.2 A/D Result Registers
There are two result registers for the A/D converter: the high
8 bits of the result and the low 2-bits of the result. The format
of these registers is shown in Figures 27, 28. Both registers
are read/write registers, but in normal operation, the hard-
ware writes the value into the register when the conversion is
complete and the software reads the value. Both registers
are undefined upon Reset. They hold the previous value until
a new conversion overwrites them. When reading ADRSTL,
bits 5-0 will read as 0.
Bit 7
Bit 7
Bit 9
Bit 1
Bit 8
Bit 0
Bit 7
0
20022529
TABLE 24. ADRSTH
TABLE 25. ADRSTL
20022530
Bit 6
0
Bit 5
0
Bit 4
0
Bit 3
0
www.national.com
Bit 0
Bit 0
Bit 2
0

Related parts for I2C-CPEV