AD7856KR-REEL Analog Devices Inc, AD7856KR-REEL Datasheet - Page 28

no-image

AD7856KR-REEL

Manufacturer Part Number
AD7856KR-REEL
Description
IC ADC 14BIT 8CH 5V 24-SOIC
Manufacturer
Analog Devices Inc
Datasheet

Specifications of AD7856KR-REEL

Rohs Status
RoHS non-compliant
Number Of Bits
14
Sampling Rate (per Second)
285k
Data Interface
8051, QSPI™, Serial, SPI™ µP
Number Of Converters
2
Power Dissipation (max)
89.25mW
Voltage Supply Source
Analog and Digital
Operating Temperature
0°C ~ 105°C
Mounting Type
Surface Mount
Package / Case
24-SOIC (0.300", 7.50mm Width)
AD7856
MICROPROCESSOR INTERFACING
In many applications, the user may not require the facility of
writing to most of the on-chip registers. The only writing neces-
sary is to set the input channel configuration. After this the
CONVST is applied, a conversion is performed and the result
may be read using the SCLK to clock out the data from the
output register onto the DOUT pin. At the same time, a write
operation occurs and this may consist of all 0s where no data is
written to the part or may set a different input channel configu-
ration for the next conversion. The SCLK may be connected to
the CLKIN pin if the user does not want to have to provide
separate serial and master clocks. With this arrangement the
SYNC signal must be low for 16 SCLK cycles for the read and
write operations.
AD7856 to 8XC51 Interface
Figure 37 shows the AD7856 interface to the 8XC51. The
8XC51 only runs at 5 V. The 8XC51 is in Mode 0 operation.
This is a two-wire interface consisting of the SCLK and the
DIN which acts as a bidirectional line. The SYNC is tied low.
The BUSY line can be used to give an interrupt driven system
but this would not normally be the case with the 8XC51. For
the 8XC51 12 MHz version the serial clock will run at a maxi-
mum of 1 MHz so the serial interface of the AD7856 will only
be running at 1 MHz. The CLKIN signal must be provided
separately to the AD7856 from a port line on the 8XC51 or
from a source other than the 8XC51. Here the SCLK cannot be
tied to the CLKIN as the SYNC is permanently tied low. The
CONVST signal can be provided from an external timer or
conversion can be started in software if required. The sequence
of events would typically be writing to the control register via
the DIN line setting a conversion start and the 2-wire interface
mode (this would be performed in two 8-bit writes), wait for the
conversion to be finished (3.5 s with 6 MHz CLKIN), read the
conversion result data on the DIN line (this would be performed
in two 8-bit reads), and repeat the sequence. The maximum
serial frequency will be determined by the data access and hold
times of the 8XC51 and the AD7856.
AD7856
Figure 36. Simplified Interface Diagram
CONVST
CLKIN
DOUT
SCLK
SYNC
DIN
CONVERSION START
4MHz/6MHz
MASTER CLOCK
SYNC SIGNAL TO
GATE THE SCLK
SERIAL DATA INPUT
SERIAL DATA
OUTPUT
–28–
AD7856 to 68HC11/16/L11/PIC16C42 Interface
Figure 38 shows the AD7856 SPI/QSPI interface to the 68HC11/
16/L11/PIC16C42. The AD7856 is in Interface Mode 2. The
SYNC line is not used and is tied to DGND. The Controller is
configured as the master, by setting the MSTR bit in the SPCR
to 1, and provides the serial clock on the SCK pin. For all the
the CPHA bit is set to 1. The CLKIN and CONVST signals can
be supplied from the Controller or from separate sources. The
BUSY signal can be used as an interrupt to tell the Controller
when the conversion is finished, then the reading and writing
can take place. If required, the reading and writing can take
place during conversion and there will be no need for the BUSY
signal in this case.
For the 68HC16, the word length should be set to 16 bits and
the SS line should be tied to the SYNC pin for the QSPI inter-
face. The micro-sequencer and RAM associated with the 68HC16
QSPI port can be used to perform a number of read and write
operations, and store the conversion results in memory, inde-
pendent of the CPU. This is especially useful when reading the
conversion results from all eight channels consecutively. The
command section of the QSPI port RAM would be programmed
to perform a conversion on one channel, read the conversion
result, perform a conversion on the next channel, read the con-
version result, and so on until all eight conversion results are
stored into the QSPI RAM.
A typical sequence of events would be writing to the control
register via the DIN line setting a conversion start and at the
same time reading data from the previous conversion on the
DOUT line (both the read and write operations would each be
two 8-bit operations, one 16-bit operation for the 68HC16),
wait for the conversion to be finished (= 3.5 s for AD7856 with
6 MHz CLKIN), and then repeat the sequence. The maximum
serial frequency will be determined by the data access and hold
times of the Controllers and the AD7856.
Controllers the CPOL bit is set to 1 and for the 68HC11/16/L11
MASTER
8XC51
(INT0/P3.2)
Figure 37. 8XC51/PIC16C42 Interface
P3.0
P3.1
4MHz/6MHz
OPTIONAL
OPTIONAL
CONVST
SCLK
BUSY
SYNC
CLKIN
DIN
AD7856
SLAVE
REV. A

Related parts for AD7856KR-REEL