English
Language : 

MAX1020 Datasheet, PDF (30/47 Pages) Maxim Integrated Products – 10-Bit, Multichannel ADCs/DACs with FIFO, Temperature Sensing, and GPIO Ports
10-Bit, Multichannel ADCs/DACs with FIFO,
Temperature Sensing, and GPIO Ports
following the command byte load data from DIN to the
GPIO configuration register in the MAX1057/MAX1058.
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–19.
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 MAX1020/MAX1021. The 16 SCLK
cycles following the command byte load data from DIN
into the GPIO write register in the MAX1057/MAX1058.
See Tables 15 and 16. The register bits are updated
after the last CS rising edge.
Table 13. MAX1020/MAX1021 GPIO Configuration
DATA PIN
DIN
DOUT
GPIO COMMAND BYTE
00000011
00000000
GPIOC1
0
GPIOC0
0
DATA BYTE
GPIOA1 GPIOA0
0
0
XXXX
0000
Table 14. MAX1057/MAX1058 GPIO Configuration
DATA PIN
GPIO COMMAND BYTE
DATA BYTE 1
DATA BYTE 2
DIN
00000011
XXXX
DOUT
000000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Table 15. MAX1020/MAX1021 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 000
Table 16. MAX1057/MAX1058 GPIO Write
DATA PIN
GPIO COMMAND BYTE
DATA BYTE 1
DATA BYTE 2
DIN
00000010
XXXX
DOUT
000000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
30 ______________________________________________________________________________________