ADC12L030CIWM National Semiconductor, ADC12L030CIWM Datasheet - Page 24

no-image

ADC12L030CIWM

Manufacturer Part Number
ADC12L030CIWM
Description
3.3V Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
Manufacturer
National Semiconductor
Datasheet
www.national.com
Tables
Application Hints
1.0 DIGITAL INTERFACE
1.1 Interface Concepts
The example in Figure 7 shows a typical sequence of events
after the power is applied to the ADC12L030/2/4/8:
The first instruction input to the A/D via DI initiates Auto Cal.
The data output on DO at that time is meaningless and is
completely random. To determine whether the Auto Cal has
been completed, a read status instruction is issued to the
A/D. Again the data output at that time has no significance
since the Auto Cal procedure modifies the data in the output
shift register. To retrieve the status information, an additional
read status instruction is issued to the A/D. At this time the
status data is available on DO. If the Cal signal in the status
word is low Auto Cal has been completed. Therefore, the
next instruction issued can start a conversion. The data out-
put at this time is again status information. To keep noise
from corrupting the A/D conversion, the status can not be
read during a conversion. If CS is strobed and is brought low
during a conversion, that conversion is prematurely ended.
Function
Location
FIGURE 7. Typical Power Supply Power Up Sequence
Status
Status
Bit
Bit
(Continued)
“High”
indicates
a Power
Up
Sequence
is in
progress
DB0
PU
Device Status
“High”
indicates
a Power
Down
Sequence
is in
progress
DB1
PD
TABLE 6. Conversion/Read Data Only Mode Programming
X = Don’t Care
CS
H
X
L
L
“High”
indicates
an
Auto-Cal
Sequence
is in
progress
DB2
Cal
CONV
H
X
X
L
TABLE 7. Status Register
“High”
indicates
an 8 or 9
bit format
PD
H
8 or 9
DS011830-36
L
L
L
DB3
Read Only (Previous DO Format)
“High”
indicates
a 12 or
13 bit
format
24
12 or 13
See Table 5 for Mode
DB4
No Conversion
EOC can be used to determine the end of a conversion or
the A/D controller can keep track in software of when it would
be appropriate to communicate to the A/D again. Once it has
been determined that the A/D has completed a conversion
another instruction can be transmitted to the A/D. The data
from this conversion can be accessed when the next instruc-
tion is issued to the A/D.
Note, when CS is low continuously it is important to transmit
the exact number of SCLK cycles, as shown in the timing
diagrams. Not doing so will desynchronize the serial commu-
nication to the A/D (see Section 1.3).
1.2 Changing Configuration
The configuration of the ADC12L030/2/4/8 on power up de-
faults to 12-bit plus sign resolution, 12- or 13-bit MSB First,
10 CCLK acquisition time, user mode, no Auto Cal, no Auto
Zero, and power up mode. Changing the acquisition time
and turning the sign bit on and off requires an 8-bit instruc-
tion to be issued to the ADC. This instruction will not start a
conversion. The instructions that select a multiplexer ad-
dress and format the output data do start a conversion. Fig-
ure 8 describes an example of changing the configuration of
the ADC12L030/2/4/8.
During I/O sequence 1 the instruction on DI configures the
ADC12L030/2/4/8 to do a conversion with 12-bit +sign reso-
lution. Notice that when the 6 CCLK Acquisition and Data
Out without Sign instructions are issued to the ADC, I/O se-
quences 2 and 3, a new conversion is not started. The data
Power Down
DO Output Format Status
Mode
Idle
“High”
indicates
a 16 or
17 bit
format
16 or 17
DB5
“High”
indicates
that the
sign bit is
included.
When
“Low” the
sign bit is
not
included.
Sign
DB6
When “High”
the conversion
result will be
output MSB
first. When
“Low” the
result will be
output LSB
first.
Justification
DB7
When
“High”
the
device is
in test
mode.
When
“Low” the
device is
in user
mode.
Mode
Test
DB8

Related parts for ADC12L030CIWM