MAX1040/MAX1042/MAX1046/MAX1048
10-Bit, Multichannel ADCs/DACs with FIFO,
Temperature Sensing, and GPIO Ports
______________________________________________________________________________________ 25
Table 9 details the four scan modes available in the
ADC conversion register. All four scan modes allow
averaging as long as the AVGON bit, bit 4 in the
averaging register, is set to 1. Select scan mode 10 to
scan the same channel multiple times. Clock mode 11
disables averaging. For example, if AVGON = 1,
NAVG[1:0] = 00, NSCAN[1:0] = 11, and SCAN[1:0] =
10, 16 results are written to the FIFO, with each result
being the average of four conversions of channel N.
DAC Select Register
Write a command byte 0001XXXX to the DAC select
register (as shown in Table 9) to set up the DAC inter-
face and indicate that another word will follow. The last
4 bits of the DAC select register are don’t-care bits. The
word that follows the DAC select-register command
byte controls the DAC serial interface. See Table 17
and the
DAC Serial Interface
section.
Reset Register
Write to the reset register (as shown in Table 11) to
clear the FIFO or reset all registers (excluding the DAC
and GPIO registers) to their default states. When the
RESET bit in the reset register is set to 0, the FIFO is
cleared. Set the RESET bit to one to return all the
device registers to their default power-up state. All reg-
isters power up in state 00000000, except for the setup
register that powers up in clock mode 10 (CKSEL1 = 1
and REFSEL1 = 1). The DAC and GPIO registers are
not reset by writing to the reset register. Set the SLOW
bit to one to add a 15ns delay in the DOUT signal path
to provide a longer hold time. Writing a one to the
SLOW bit also clears the contents of the FIFO. Set the
FBGON bit to one to force the bias block and bandgap
reference to power up regardless of the state of the
DAC and activity of the ADC block. Setting the FBGON
bit high also removes the programmed wake-up delay
between conversions in clock modes 01 and 11.
Setting the FBGON bit high also clears the FIFO.
GPIO Command
Write a command byte to the GPIO command register
to configure, write, or read the GPIOs, as detailed in
Table 12.
Table 10. DAC Select Register
BIT
NAME
BIT FUNCTION
7 (MSB) Set to zero to select DAC select register.
6 Set to zero to select DAC select register.
5 Set to zero to select DAC select register.
4 Set to one to select DAC select register.
X 3 Don’t care.
X 2 Don’t care.
X 1 Don’t care.
X 0 Don’t care.
Table 11. Reset Register
BIT
NAME
BIT FUNCTION
7 (MSB) Set to zero to select ADC reset register.
6 Set to zero to select ADC reset register.
5 Set to zero to select ADC reset register.
4 Set to zero to select ADC reset register.
3 Set to one to select ADC reset register.
RESET 2
Set to zero to clear the FIFO only. Set to
one to set the device in its power-on
condition.
SLOW 1 Set to one to turn on slow mode.
FBGON 0 (LSB)
Set to one to force internal bias block and
bandgap reference to be always powered
up.
Table 12. GPIO Command Register
BIT NAME BIT FUNCTION
7 (MSB) Set to zero to select GPIO register.
6 Set to zero to select GPIO register.
5 Set to zero to select GPIO register.
4 Set to zero to select GPIO register.
3 Set to zero to select GPIO register.
2 Set to zero to select GPIO register.
GPIOSEL1 1 GPIO configuration bit.
GPIOSEL2 0 (LSB) GPIO write bit.
GPIOSEL1 GPIOSEL2 FUNCTION
11
GPIO configuration; written data is
entered in the GPIO configuration
register.
10
GPIO write; written data is entered
in the GPIO write register.
01
GPIO read; the next 8 SCLK cycles
transfer the state of all GPIO
drivers into DOUT.
MAX1040/MAX1042/MAX1046/MAX1048
10-Bit, Multichannel ADCs/DACs with FIFO,
Temperature Sensing, and GPIO Ports
26 ______________________________________________________________________________________
Table 13. MAX1042/MAX1048 GPIO Configuration
DATA PIN GPIO COMMAND BYTE DATA BYTE
DIN 0 0 0 0 0 0 1 1 GPIOC1 GPIOC0 GPIOA1 GPIOA0 X X X X
DOUT 00000000 0 0 0 0 0000
Table 14. MAX1042/MAX1048 GPIO Write
DATA PIN GPIO COMMAND BYTE DATA BYTE
DIN 0 0 0 0 0 0 1 0 GPIOC1 GPIOC0 GPIOA1 GPIOA0 X X X X
DOUT 00000000 0 0 0 0 0 00 0
Write the command byte 00000011 to configure the
GPIOs. The eight SCLK cycles following the command
byte load data from DIN to the GPIO configuration reg-
ister in the MAX1042/MAX1048. See Tables 13 and 14.
The register bits are updated after the last CS rising
edge. All GPIOs default to inputs upon power-up.
The data in the register controls the function of each
GPIO, as shown in Tables 13, 14, and 16.
GPIO Write
Write the command byte 00000010 to indicate a GPIO
write operation. The eight SCLK cycles following the
command byte load data from DIN into the GPIO write
register in the MAX1042/MAX1048. See Tables 14 and
15. The register bits are updated after the last CS rising
edge.
GPIO Read
Write the command byte 00000001 to indicate a GPIO
read operation. The eight SCLK cycles following the
command byte transfer the state of the GPIOs to DOUT
in the MAX1042/MAX1048. See Table 16.
DAC Serial Interface
Write a command byte 0001XXXX to the DAC select
register to indicate the word to follow is written to the
DAC serial interface, as detailed in Tables 1, 10, 17, and
18. Write the next 16 bits to the DAC interface register,
as shown in Tables 17 and 18. Following the high-to-low
transition of CS, the data is shifted synchronously and
latched into the input register on each falling edge of
SCLK. Each word is 16 bits. The first 4 bits are the con-
trol bits, followed by 10 data bits (MSB first), followed by
2 sub-bits. See Figures 9–12 for DAC timing specifica-
tions.
If CS goes high prior to completing 16 SCLK cycles, the
command is discarded. To initiate a new transfer, drive
CS low again.
For example, writing the DAC serial interface word 1111
0000 and 0011 0100 disconnects DAC outputs 2 and 3
and forces them to a high-impedance state. DAC out-
puts 0 and 1 remain in their previous state.
Table 15. GPIO-Mode Control
CONFIGURATION
BIT
WRITE
BIT
OUTPUT
STATE
GPIO
FUNCTION
111Output
100Output
0 1 Tri-state Input
000
Pulldown
(open drain)
Table 16. MAX1042/MAX1048 GPIO Read
DATA PIN GPIO COMMAND BYTE DATA BYTE
DIN 00000001 X X X X X X X X
DOUT 00000000 0 0 0 0 GPIOC1 GPIOC0 GPIOA1 GPIOA0
MAX1040/MAX1042/MAX1046/MAX1048
10-Bit, Multichannel ADCs/DACs with FIFO,
Temperature Sensing, and GPIO Ports
______________________________________________________________________________________ 27
Table 17. DAC Serial-Interface Configuration
16-BIT SERIAL WORD
MSB LSB
CONTROL
BITS
DATA BITS
C3 C2 C1 C0 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 X X
DESCRIPTION FUNCTION
0000XXXXXXXXXXXX NOP No Operation.
00010XXXXXXXXXXX RESET
Reset all internal registers to 000h and
leave output buffers in their present
state.
00011XXXXXXXXXXX Pull-High
Preset all internal registers to FFFh and
leave output buffers in their present
state.
0 0 1 0 ————————— X X DAC0
D9–D0 to input register 0, DAC output
unchanged.
0 0 1 1 ————————— X X DAC1
D9–D0 to input register 1, DAC output
unchanged.
0 1 0 0 ————————— X X DAC2
D9–D0 to input register 2, DAC output
unchanged.
0 1 0 1 ————————— X X DAC3
D9–D0 to input register 3, DAC output
unchanged.
0110XXXXXXXXXXXX NOP No Operation.
0111XXXXXXXXXXXX NOP No Operation.
1000XXXXXXXXXXXX NOP No Operation.
1001XXXXXXXXXXXX NOP No Operation.
1 0 1 0 ————————— X X DAC0DAC3
D9–D0 to input registers 0–3 and DAC
register 0–3. DAC outputs updated
(write-through).
1011XXXXXXXXXXXX NOP No Operation.
1 1 0 0 ————————— X X DAC0DAC3
D9–D0 to input registers 0–3 and DAC
Register 0–3. DAC outputs updated
(write-through).
1 1 0 1 ————————— X X DAC0DAC3
D9–D0 to input registers 0–3. DAC
outputs unchanged.
1110XXXX
DAC3
DAC2
DAC1
DAC0
X X X X DAC0–DAC3
Input registers to DAC registers
indicated by ones, DAC outputs
updated, equivalent to software
LDAC
.
(No effect on DACs indicated by zeros.)

MAX1046BETX+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Data Acquisition ADCs/DACs - Specialized 10Bit AD/DACs w/FIFO Temp Sns & GPIO Port
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union