AD7366/AD7367
Rev. D | Page 22 of 28
SERIAL INTERFACE
Figure 25 and Figure 26 show the detailed timing diagram for
serial interfacing to the AD7366 and the AD7367. On the
falling edge of
CNVST
, the AD7366/AD7367 simultaneously
convert the selected channels. These conversions are performed
using the on-chip oscillator. After the falling edge of
CNVST
,
the BUSY signal goes high, indicating that the conversion has
started. The BUSY signal returns low when the conversion has
been completed. The data can now be read from the
D
OUT
pins.
The
CS
and SCLK signals are required to transfer data from the
AD7366/AD7367. The AD7366/AD7367 have two output pins
corresponding to each ADC. Data can be read from the AD7366/
AD7367 using both D
OUT
A and D
OUT
B. Alternatively, a single
output pin of the user’s choice can be used. The SCLK input
signal provides the clock source for the serial interface. The
CS
goes low to access data from the AD7366/AD7367. The falling
edge of
CS
takes the bus out of three-state and clocks out the
MSB of the conversion result. The data stream consists of
12 bits of data for the AD7366 and 14 bits of data for the
AD7367, MSB first. The first bit of the conversion result is
valid on the first SCLK falling edge after the
CS
falling edge.
The subsequent 11/13 bits of data for the AD7366/AD7367,
respectively, are clocked out on the falling edge of the SCLK
signal. A minimum of 12 clock pulses must be provided to the
AD7366 to access each conversion result, and a minimum of
14 clock pulses must be provided to the AD7367 to access the
conversion result.
Figure 25 shows how a 12 SCLK read is used
to access the conversion results for the AD7366, and Figure 26
illustrates the case for the AD7367 with a 14 SCLK read.
On the rising edge of
CS
the conversion is terminated and
D
OUT
A and D
OUT
B return to three-state. If
CS
is not brought
high, but is instead held low for an additional 14 SCLK cycles
the data from the other DOUT pin follows on the selected
DOUT pin. Note, the second serial result from the AD7366 is
preceeded by two zeros. See
Figure 27 and Figure 28, where
D
OUT
A is shown. In this case, the D
OUT
line in use returns to
three-state on the rising edge of
CS
.
If the falling edge of SCLK coincides with the falling edge of
CS
,
the falling edge of SCLK is not acknowledged by the AD7366/
AD7367, and the next falling edge of SCLK is the first one
registered after the falling edge of
CS
.
The
CS
pin can be brought low before the BUSY signal goes
low, indicating the end of a conversion. When
CS
is at a logic
low state, the data bus is brought out of three-state. This feature
can be used to ensure that the MSB is valid on the falling edge
of BUSY by bringing
CS
low a minimum of t
4
before the BUSY
signal goes low. The dotted
CS
line in Figure 22 and Figure 23
illustrates this feature.
Alternatively, the
CS
pin can be tied to a low logic state continu-
ously. In this case, the D
OUT
pins never enter three-state and the
data bus is continuously active. Under these conditions, the MSB
of the conversion result for the AD7366/AD7367 is available on
the falling edge of the BUSY signal. The next most significant
bit is available on the first SCLK falling edge after the BUSY
signal has gone low. This mode of operation enables the user to
read the MSB as soon as it is made available by the converter.
D
OUT
A
D
OUT
B
THREE-
STATE
THREE-STATE
CS
SCLK
1
5 12
2
3 4
DB10
DB11
DB9
DB8
DB2
DB1
DB0
t
5
t
6
t
8
t
4
t
7
t
9
06703-027
Figure 25. Serial Interface Timing Diagram for the AD7366
D
OUT
A
D
OUT
B
THREE-
STATE
THREE-STATE
CS
SCLK
1
5 14
2
3 4
DB12
DB13
DB11 DB10 DB2 DB1 DB0
t
5
t
6
t
8
t
4
t
7
t
9
06703-028
Figure 26. Serial Interface Timing Diagram for the AD7367
AD7366/AD7367
Rev. D | Page 23 of 28
CS
SCLK
1
5
11
D
OUT
A
THREE-
STATE
t
5
2
3 4
12
t
7
t
4
THREE-
STATE
t
8
t
6
10
DB0
A
0 0
DB11
B
DB1
A
13 14
26
DB9
A
DB10
A
DB1
B
DB0
B
DB11
A
06703-030
Figure 27. Reading Data from Both ADCs on One D
OUT
Line with 26 SCLKs for the AD7366
CS
SCLK
1
5
13
D
OUT
A
THREE-
STATE
t
5
2
3 4
14
t
7
t
4
THREE-
STATE
t
8
t
6
12
DB12
B
DB13
B
DB0
A
DB1
A
15
28
DB11
A
DB12
A
DB13
A
DB1
B
DB0
B
06703-029
Figure 28. Reading Data from Both ADCs on One D
OUT
Line with 28 SCLKs for the AD7367
AD7366/AD7367
Rev. D | Page 24 of 28
MICROPROCESSOR INTERFACING
The serial interface on the AD7366/AD7367 allows the parts to
be directly connected to a range of different microprocessors.
This section explains how to interface the AD7366/AD7367
with some common microcontrollers and DSP serial interface
protocols.
AD7366/AD7367 TO ADSP-218x
The ADSP-218x family of DSPs interfaces directly to the
AD7366/AD7367 without any glue logic required. The V
DRIVE
pin of the AD7366/AD7367 takes the same supply voltage as the
power supply pin of the ADSP-218x. This allows the ADC to
operate at a higher supply voltage than its serial interface and
therefore, the ADSP-218x, if necessary. This example shows
both D
OUT
A and D
OUT
B of the AD7366/AD7367 connected to
both serial ports of the ADSP-218x. The SPORT0 and SPORT1
control registers should be set up as shown in Table 11 and
Table 12.
Table 11. SPORT0 Control Register Setup
Setting Description
TFSW = RFSW = 1 Alternate framing
INVRFS = INVTFS = 1 Active low frame signal
DTYPE = 00 Right-justify data
SLEN = 1111 16-bit data-word (or can be set to 1101
for 14-bit data-word)
ISCLK = 1 Internal serial clock
TFSR = RFSR = 1 Frame every word
IRFS = 0
ITFS = 1
Table 12. SPORT1 Control Register Setup
Setting Description
TFSW = RFSW = 1 Alternate framing
INVRFS = INVTFS = 1 Active low frame signal
DTYPE = 00 Right-justify data
SLEN = 1111 16-bit data-word (or can be set to 1101
for 14-bit data-word)
ISCLK = 0 External serial clock
TFSR = RFSR = 1 Frame every word
IRFS = 0
ITFS = 1
The connection diagram is shown in Figure 29. The ADSP-218x
has the TFS0 and RFS0 of the SPORT0 and the RFS1 of SPORT1
tied together. TFS0 is set as an output, and both RFS0 and RFS1
are set as inputs. The DSP operates in alternate framing mode,
and the SPORT control register is set up as described in Table 11
and Table 12
. The frame synchronization signal generated on
the TFS is tied to
CS
.
AD7366/
AD7367*
SCLK
CS
ADSP-218x*
*ADDITIONAL PINS OMITTED FOR CLARITY.
SCLK0
DR0
RFS0
TFS0
D
OUT
A
V
DRIVE
V
DD
D
OUT
B DR1
RFS1
SCLK1
IRQBUSY
CNVST FLO
06703-031
Figure 29. Interfacing the AD7366/AD7367 to the ADSP-218x
The AD7366/AD7367 BUSY line provides an interrupt to
the ADSP-218x when the conversion is complete. The conver-
sion results can then be read from the AD7366/AD7367 using
a read operation. When an interrupt is received on IRQ from
the BUSY signal, a value is transmitted with TFS/DT (ADC
control word). The TFS is used to control the RFS and, therefore,
the reading of data.
AD7366/AD7367 TO ADSP-BF53x
The ADSP-BF53x family of DSPs interfaces directly to the
AD7366/AD7367 without any glue logic required. The avail-
ability of secondary receive registers on the serial ports of the
Blackfin® DSPs means that only one serial port is necessary to
read from both the D
OUT
A and D
OUT
B pins simultaneously.
Figure 30 shows both D
OUT
A and D
OUT
B of the AD7366/AD7367
connected to Serial Port 0 of the ADSP-BF53x. The SPORT0
Receive Configuration 1 register and the SPORT0 Receive
Configuration 2 register should be set up as outlined in Table 13
and Table 14.
SERIAL
DEVICE A
(PRIMARY)
SERIAL
DEVICE B
(SECONDARY)
AD7366/
AD7367*
D
OUT
A
CS
SCLK
ADSP-BF53x*
*ADDITIONAL PINS OMITTED FOR CLARITY.
DR0PRI
PF
N
RFS0
V
DRIVE
V
DD
CNVST
RCLK0
RXINTSBUSY
DR0SEC
D
OUT
B
SPORT0
06703-032
Figure 30. Interfacing the AD7366/AD7367 to the ADSP-BF53x

AD7367BRUZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC Bipolar Input Dual 14B 2Ch SAR
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union