English
Language : 

MAX11312 Datasheet, PDF (43/54 Pages) Maxim Integrated Products – PIXI, 12-Port Programmable Mixed-Signal I/O with 12-Bit ADC, 12-Bit DAC, Analog Switches, and GPIO
MAX11312
PIXI, 12-Port Programmable Mixed-Signal I/O with
12-Bit ADC, 12-Bit DAC, Analog Switches, and GPIO
Port Configuration Registers (Read/Write)
BIT
FIELD NAME
DESCRIPTION
FUNCPRM_i[4:0]: ASSOCIATED PORT
• Defines the port to use in conjunction with a port configured in mode 4, 8, or 11.
• The associated port addresses are :
FUNCPRM_i[7:5]: # OF SAMPLES (for ADC-related functional modes only)
• Defines the number of samples to be captured and averaged before loading the result in the
port’s ADC data register. The coding of the number of samples is 2# OF SAMPLES.
The number of samples to average can be 1, 2, 4, 8, 16, 32, 64, or 128.
Associated Port Name
Corresponding Address
P0
0x02
P1
0x03
P2
0x04
P3
0x05
P4
0x06
P5
0x07
P6
0x0B
FUNCPRM_0[11:0] P7
FUNCPRM_1[11:0] P8
0x0C
0x0D
FUNCPRM_2[11:0] P9
0x0E
FUNCPRM_3[11:0] P10
0x0F
FUNCPRM_4[11:0] P11
11:0
FUNCPRM_5[11:0]
FUNCPRM_6[11:0] FUNCPRM_i[10:8]: RANGE
0x10
FUNCPRM_7[11:0] • Determines the input voltage range of ports configured in input modes, or the output voltage
FUNCPRM_8[11:0]
range of ports configured in output modes.
FUNCPRM_9[11:0] • In ADC- or DAC-related modes, RANGE cannot be set to 000.
FUNCPRM_10[11:0]
FUNCPRM_11[11:0]
VOLTAGE RANGE CODES
000
ADC VOLTAGE RANGE (V)
No Range Selected
DAC VOLTAGE RANGE (V)
No Range Selected
001
0 to +10
0 to +10
010
-5 to +5
-5 to +5
011
-10 to 0
-10 to 0
100
0 to +2.5
-5 to +5
101
Reserved
Reserved
110
0 to +2.5
0 to +10
111
Reserved
Reserved
FUNCPRM_i[11]: AVR (for mode 6 only)
• ADC voltage reference selection
• 0: ADC internal voltage reference
• 1: ADC DAC voltage reference determined by DACREF
FUNCPRM_i[11]: INV (for GPI-controlled functional modes only)
• Asserted to invert the data received by the GPI-configured port.
• 0: Data received from GPI-configured port is not inverted
• 1: Data received from GPI-configured port is inverted
www.maximintegrated.com
Maxim Integrated │  43