AD7804/AD7805/AD7808/AD7809
–13–REV. A
DB9 DB0
DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 X X
X = Don’t Care
Figure 14. AD7805/AD7809 Main DAC Data Register (Top)
and Sub DAC Data Register (Bottom) Configuration
(MODE = 1,
10
/8 = 0)
Figure 15 shows the bit allocations when 8-bit parallel operation
is selected in the system control register. DB9 to DB2 are re-
tained as data bits. DB1 acts as a high byte or low byte enable.
When DB1 is low, the eight MSBs of the data word are loaded
to the input register. When DB1 is high, the low byte consisting
of the two LSBs are loaded to the input register. DB0 is used to
select either the Main or Sub DAC when in the byte mode.
DB9 DB2 DB1 DB0
DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 0 MAIN/SUB
X X X X X XDB1DB0 1 MAIN/SUB
X = Don’t Care
Figure 15. AD7805/AD7809 Main DAC Data Register Con-
figuration (MODE = 1,
10
/8 = 1,
MAIN
/SUB = 0)
Figure 16 shows the bit allocations for writing to the Sub DAC.
DB9 DB2 DB1 DB0
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 X MAIN/SUB
X = Don’t Care
Figure 16. AD7805/AD7809 Sub DAC Data Register Con-
figuration (MODE = 1,
MAIN
/SUB = 1)
Each DAC has a separate channel control register. The follow-
ing is a brief discussion on the bits in each of the control registers.
DAC Selection (A2, A1, A0)
The external address pins in conjunction with CS, WR and
MODE are used to address the various DAC data and control
registers. Table IVa shows how these DAC registers can be
addressed on the AD7805. Table IVb shows how these registers
are addressed on the AD7809. Refer to Figures 12 to 16 for infor-
mation on the registers.
Table IVa. AD7805 DAC Data/Control Register
Selection Table
MODE A1 A0 Function Selected
0 0 0 DAC A Control Registers
0 0 1 DAC B Control Registers
0 1 0 DAC C Control Registers
0 1 1 DAC D Control Registers
1 0 0 DAC A Data Registers
1 0 1 DAC B Data Registers
1 1 0 DAC C Data Registers
1 1 1 DAC D Data Registers
of the Main DAC to the bottom of the transfer function, V
BIAS
/16.
With twos complement coding the output of the DAC is cleared
to midscale which is V
BIAS
. A hardware clear always clears the
output of the Sub DAC to midscale thus the output of the Sub
DAC makes zero contribution to the output of the channel.
D9 D2 D1
D0
MODE ADDR
DATA REGISTER
8
V
BIAS
INTERNAL V
REF
V
DD
/2
REFIN
V
OUT
CS
TO ALL
CHANNELS
SINGLE
CHANNEL
DAC REGISTER
8
8-BIT DAC
(SUB DAC)
DATA REGISTER
10
DAC REGISTER
10
10-BIT DAC
(MAIN DAC)
CHANNEL
CONTROL
REGISTER
MUX
SYSTEM
CONTROL
REGISTER
DECODER
CONTROL
LOGIC
WR
LDAC
INPUT REGISTER
Figure 11. AD7805/AD7809 Internal Registers
AD7805/AD7809 CONTROL REGISTERS
Access to the control registers of the AD7805/AD7809 is
achieved by taking the mode pin to a logic low. The control
register of these DACs are configured as in Figures 12 and 13.
There are two control registers associated with the part. System
control register which looks after the input coding, data format,
power down, system clear and system standby. The channel
control register contains bits that affect the operation of the
selected DAC. The external address bits are used to select the
DACs. These registers are eight bits wide and the last two bits
are control bits. The mode pin must be low to have access to the
control registers.
DB9 DB2 DB1 DB0
XX10/8 BIN/COMP PD SSTBY SCLR 0 X MD0 = 0
X = Don’t Care
Figure 12. AD7805/AD7809 System Control Register Con-
figuration, (MODE = 0)
DB9 DB2 DB1 DB0
MX1 MX0 MAIN/SUB X X STBY CLR 0 X MD0 = 1
X = Don’t Care
Figure 13. AD7805/AD7809 Channel Control Register Con-
figuration (MODE = 0)
The external mode pin must be taken high to allow data to be
written to the DAC data registers. Figure 14 shows the bit allo-
cations when 10-bit parallel operation is selected in the system
control register.
AD7804/AD7805/AD7808/AD7809
REV. A–14–
Table IVb. AD7809 DAC Data/Control Register
Selection Table
MODE A2 A1 A0 Function Selected
0 0 0 0 DAC A Control Register
0 0 0 1 DAC B Control Register
0 0 1 0 DAC C Control Register
0 0 1 1 DAC D Control Register
0 1 0 0 DAC E Control Register
0 1 0 1 DAC F Control Register
0 1 1 0 DAC G Control Register
0 1 1 1 DAC H Control Register
1 0 0 0 DAC A Data Register
1 0 0 1 DAC B Data Register
1 0 1 0 DAC C Data Register
1 0 1 1 DAC D Data Register
1 1 0 0 DAC E Data Register
1 1 0 1 DAC F Data Register
1 1 1 0 DAC G Data Register
1 1 1 1 DAC H Data Register
AD7805/AD7809 SYSTEM OR CHANNEL CONTROL
REGISTER SELECTION
MD0
0 This enables writing to the system control register.
The contents of this are shown in Figure 12. Mode
must be low to access this control register.
1 This enables writing to the channel control register.
The contents of this are shown in Figure 13. Mode
must also be low to access this control register.
AD7805/AD7809 SYSTEM CONTROL REGISTER
The bits in this register allow control over all DACs in the pack-
age. The control bits include data format (10/8), power down
(PD), DAC input coding select (BIN/COMP), system standby
(SSTBY) and a system clear (SCLR). The function of these bits
is as follows:
Data Format
10/8
0 10-bit parallel loading structure.
1 Byte loading structure. (8+2 loading).
Input Coding
BIN/COMP
0 Twos complement coding.
1 Offset Binary Coding.
Power Down
PD
0 Complete power-down of device.
1 Normal operation (default on power-up).
System Standby
SSTBY
0 Normal operation.
1 All DACs in the package put in standby mode (default
on power-up).
System Clear
SCLR
0 Normal operation.
1 All DACs in the package are cleared to a known state
depending on the coding scheme selected. The SCLR bit
clears the Main DACs only; the Sub DACs are unaf-
fected by the system clear function. The main DAC is
cleared to different levels depending on the coding
scheme. With offset binary coding the Main DAC output
is cleared to the bottom of the transfer function V
BIAS
/16.
With twos complement coding the Main DAC output is
cleared to midscale V
BIAS
. The channel output will be the
sum of the Main DAC and Sub DAC contributions.
AD7805/AD7809 CHANNEL CONTROL REGISTER
This register allows the user to have control over individual
DACs in the package. The control bits in this register include
multiplexer output selection (MX1 and MX0), Main or Sub
DAC selection (MAIN/SUB), standby (STBY) and individual
DAC clear (CLR). The function of these bits is as follows.
Multiplexer Selection (MX1, MX0)
Table V shows the V
BIAS
selection using MX1 and MX0 bits in
the channel control register.
Table V. V
BIAS
Selection Table
MX1 MX0 V
BIAS
00V
DD
/2 (Default on Power-Up)
0 1 INTERNAL VREF
1 0 REFIN
1 1 Undetermined
Main DAC or Sub DAC Selection
MAIN/SUB
0 Writing a 0 to this bit means that the data in the next
data register write is transferred to the selected Main
DAC.
1 Writing a 1 to this bit means that the data in the next
data register write is transferred to the selected Sub DAC.
This applies to the 10-bit parallel load feature. In byte
load mode, (Figure 15) DB0 selects the Main or Sub
DAC data registers.
Standby
STBY
0 Places the selected DAC and its associated linear cir-
cuitry in Standby Mode.
1 Normal operation (default on power-up).
Clear
CLR
0 Normal operation.
1 Clears the output of the selected Main DAC to one
of two conditions depending on the input coding se-
lected. With offset binary coding the Main DAC out-
put is cleared to the bottom of the transfer function,
V
BIAS
/16 and with twos complement coding the Main
DAC output is cleared to midscale V
BIAS
. The Sub
DAC is unaffected by a clear operation. An LDAC
signal has to be applied to the DAC for a channel clear
to be implemented.
AD7804/AD7805/AD7808/AD7809
–15–REV. A
POWER-UP CONDITIONS (POWER-ON RESET)
When power is applied to the AD7805/AD7809 the device
powers up in a known condition. The device powers up in sys-
tem standby (SSTBY) mode where all DACs in the package are
in low power mode, the reference is active and the outputs of
the DACs are connected internally through a high impedance to
ground. Figure 17 show the default conditions for the system
control register. Since a write to the system control register is
required to remove the standby condition, relevant default con-
ditions are only applicable for PD and SSTBY in the system
control register. The following are the bits in the channel con-
trol register for which default conditions are applicable, STBY,
CLR, MX1 and MX0. Figure 18 shows the default conditions
for the channel control register.
PD SSTBY
11
Figure 17. Default Conditions for the AD7805/AD7809
System Control Register on Power-Up
STBY CLR MX1 MX0
110 0
Figure 18. Default Conditions for the AD7805/AD7809
Channel Control Register on Power-Up
The flowchart in Figure 19 shows the steps necessary to control
the AD7805/AD7809 following power-on. This flowchart de-
tails the necessary steps when using the AD7805/AD7809 in its
10-bit parallel mode. The first step is to write to the system
control register to clear the SSTBY bit and to configure the part
for 10-bit parallel mode and select the required coding scheme.
The next step is to determine whether writing is to the Main or
Sub DAC. This is achieved by writing to the channel control
register. Other bits that need to be configured in the channel
control register are MX1 and MX0 which determine the source
of the V
BIAS
for the selected DAC and the channel STBY and
channel CLR bits need to be configured as desired. Once writ-
ing to the channel control register is complete, data can now be
written to the selected Main or Sub DAC.
Parallel data can also be written to the device in 8+2 format to
allow interface to 8-bit processors. Eight-bit mode is invoked by
writing a one to the 10/8 bit in the system control register.
When in the 8-bit mode the two unused data bits (DB1 and
DB0) are used as hardware control bits and have the same tim-
ing characteristics as the address inputs. DB1 is a don’t care bit
when writing to both the system and channel control registers;
DB0 acts as the mode select bit and must be low to enable writ-
ing to the system control register and when high enables access
to the channel control register.
When in the 8-bit data write mode, DB1 acts as a low byte and
high byte enable, when low data is written to the 8 MSBs of the
DAC and when high data is written to the two LSBs. DB0 acts
as a bit to select writing to the Main or Sub DAC. When DB0 is
low, writing is to the Main DAC, and when high, writing is to
the Sub DAC data register. In the 8+2 mode the channel con-
trol register does not have to be accessed to switch between
writing to the Main and Sub DACs as in the 10-bit parallel
WRITE TO SYSTEM
CONTROL REGISTER
START
END
N
Y
Y
N
WRITE TO CHANNEL
CONTROL REGISTER
WRITE TO
SUB DAC
WRITE TO
MAIN DAC
WRITE TO SUB DAC
DATA REGISTER
WRITING
COMPLETE
N
Y
RECONFIGURE
SYSTEM
Y
N
WRITE TO CHANNEL
CONTROL REGISTER
WRITE TO MAIN DAC
DATA REGISTER
WRITING
COMPLETE
Y
Figure 19. Flowchart for Controlling the AD7805/AD7809
DACs in 10-Bit Parallel Mode Following Power-Up
mode as the selection can be made using the hardware bit DB0 and
this will reduce the software overheads when accessing the DACs.
CLEAR FUNCTIONS
There are three methods of clearing the output of the Main
DAC in these devices. The first is the external hardware clear.
An active low logic signal applied to this pin clears all the DACs
in the package. The voltage to which the output is cleared will
depend on the input coding selected. The Main DAC outputs
are cleared to midscale (V
BIAS
) in twos complement format and
to the bottom of the transfer function (V
BIAS
/16) in offset binary
format. The second way of clearing the main DACs is a software
clear by asserting the SCLR bit in the system control register of
the part. Writing a one to this bit clears all DACs in the pack-
age. The third method of clearing a DAC is to write a one to the
CLR bit in the channel control register. This differs from that of
the system control register in that only the selected DACs out-
put is cleared. The channel clear requires an LDAC pulse to
activate it.
There is only one way of clearing the output of the Sub DAC
and that is to use the external hardware clear. The output of the
Sub DAC is cleared to midscale (0 V) regardless of the input
coding being used. Figure 20 shows a simplified diagram of the
implementation of the clear functions for a single DAC in the
package.
A2
A1
A0
EXT CLR
CLR
MAIN DAC
ALL OTHER CIRCUITRY OMITTED FOR CLARITY
LDAC
ADDR
DECODER
CHANNEL CLR
SYSTEM CLR
CLR
SUB DAC
Figure 20.
CLR
Functions for Main and Sub DACs

AD7805BNZ

Mfr. #:
Manufacturer:
Description:
Digital to Analog Converters - DAC 3.3V-5V Quad/ Octal 10-Bit
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union