Datasheet
MAX5580–MAX5585
Buffered, Fast-Settling, Quad,
12-/10-/8-Bit, Voltage-Output DACs
______________________________________________________________________________________ 27
Table 19. UPIO Programming Example
DATA CONTROL BITS DATA BITS
DIN1110100X010000XX
X = Don’t care.
Table 20. UPIO Read Command
DATA CONTROL BITS DATA BITS
DIN1110101XXXXXXXXX
DOUTRB X X XXXXXXU P 3- 2U P 2- 2U P 1- 2U P 0- 2U P 3- 1U P 2- 1U P 1- 1U P 0- 1
X = Don’t care.
UPIO Bits (UPSL1, UPSL2, UP0–UP3)
The MAX5580–MAX5585 provide two user-programma-
ble input/output (UPIO) ports: UPIO1 and UPIO2. These
ports have 15 possible configurations, as shown in
Table 21. UPIO1 and UPIO2 can be programmed inde-
pendently or simultaneously by writing to the UPSL1,
UPSL2, and UP0–UP3 bits (Table 17).
Table 18 shows how UPIO1 and UPIO2 are selected for
configuration. The UP0–UP3 bits select the desired
functions for UPIO1 and/or UPIO2 (Table 21).
UPIO Programming Example:
To set only UPIO1 as LDAC and leave UPIO2
unchanged, use the command in Table 19.
The UPIO selection and configuration bits can be read
back from the MAX5580–MAX5585 when UPIO1 or
UPIO2 is configured as a DOUTRB output. Table 20
shows the read-back data format for the UPIO bits.
Writing the command in Table 20 initiates a read opera-
tion of the UPIO bits. The data is clocked out starting on
the 9th clock cycle of the sequence. Bits UP3-2 through
UP0-2 provide the UP3–UP0 configuration bits for
UPIO2 (Table 21), and bits UP3-1 through UP0-1 pro-
vide the UP3–UP0 configuration bits for UPIO1.
Table 17. UPIO Write Command
DATA CONTROL BITS DATA BITS
DIN1110100XU P S L2 U P S L1 UP3 UP2 UP1 UP0 X X
X = Don’t care.
Table 18. UPIO Selection Bits (UPSL1 and UPSL2)
UPSL2 UPSL1 UPIO PORT SELECTED
0 0 None selected
0 1 UPIO1 selected
1 0 UPIO2 selected
1 1 Both UPIO1 and UPIO2 selected