47.7.3 OPAMP Control x

Name: OPAMPCTRL
Offset: 0x04 + n*0x04 [n=0..2]
Reset: 0x00000000
Property: PAC Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 MUXNEG[3:0]MUXPOS[3:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 POTMUX[2:0]RES1MUX[2:0]RES1ENRES2OUT 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 ONDEMANDRUNSTDBYRES2VCCBIAS[1:0]ANAOUTENABLE  
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bits 23:20 – MUXNEG[3:0] Negative Input Mux Selection

Selection on negative input for operational amplifier x.

ValueOPAMPxNameDescription
0x0x=0,1,2OAxNEGOPAMPx Negative Input
0x1x=0,1,2OAxTAPOPAMPx Resistor Ladder Taps
0x2x=0,1,2DAC/REFBUFDAC0 VOUT0 or OPAMP Reference Output Voltage (REFBUF)
0x3x=0,1,2OAxOUT-
0x4x=0,1Reserved-
x=2OA0NEGOPAMP0 Negative Input
0x5x=0,1Reserved-
x=2OA1NEGOPAMP1 Negative Input
0x6 - 0xF-Reserved-

Bits 19:16 – MUXPOS[3:0] Positive Input Mux Selection

Selection on positive input for operational amplifier x.

ValueOPAMPxNameDescription
0x0x=0,1,2OAxPOSOPAMPx Positive Input
0x1x=0,1,2OAxTAPOPAMPx Resistor Ladder Taps
0x2x=0,1,2DAC/REFBUFDAC0 VOUT0 or OPAMP Reference Output Voltage (REFBUF)
0x3x=0,1,2AVSSGround
0x4x=0Reserved-
x=1OA0OUTOPAMP0 output
x=2OA1OUTOPAMP1 output
0x5x=0,1Reserved-
x=2OA0POSOPAMP0 Positive Input
0x6x=0,1Reserved-
x=2OA1POSOPAMP1 Positive Input
0x7x=0,1Reserved-
x=2OA0TAPOPAMP0 Resistor Ladder Taps
0x8x=0,1Reserved-
x=2RES3TAPRES3TAP Potentiometer
0x9 - 0xF-Reserved-

Bits 15:13 – POTMUX[2:0] Potentiometer selection

Resistor selection bits control a numeric potentiometer with eight fixed values.

ValueR1R2
0x014R2R
0x112R4R
0x28R8R
0x36R10R
0x44R12R
0x53R13R
0x62R14R
0x7R15R

Bits 12:10 – RES1MUX[2:0] Resistor 1 Mux

These bits select the connection of R1 resistor of the potentiometer.

ValueOPAMPxNameDescription
0x0x=0,1,2OAxPOSOPAMPx Positive Input
0x1x=0,1,2OAxNEGOPAMPx Negative Input
0x2x=0DAC/REFBUFDAC0 VOUT0 or OPAMP Reference Output Voltage (REFBUF)
x=1OA0OUTOPAMP0 output
x=2OA1OUTOPAMP1 output
0x3x=0,1,2AVSSGround
0x4x=0,1Rg_CONNRg_CONN
x=2Reserved-

Bit 9 – RES1EN Resistor 1 Enable

ValueDescription
0R1 disconnected from RES1MUX.
1R1 connected to RES1MUX.

Bit 8 – RES2OUT Resistor ladder To Output

ValueDescription
0Swith open.
1Switch closed.

Bit 7 – ONDEMAND On Demand Control

The On Demand operation mode allows the OPAMPx to be enabled or disabled, depending on other peripheral requests.

ValueDescription
0The OPAMPx is always on, if enabled.
1The OPAMPx is enabled when a peripheral is requesting the OPAMPx to be used as an input. The OPAMPx is disabled if no peripheral is requesting it as an input.

Bit 6 – RUNSTDBY Run in Standby

This bit controls how the OPAMPx behaves during standby sleep mode:

ValueDescription
0The OPAMPx is disabled in standby sleep mode.
1The OPAMPx is not stopped in standby sleep mode. If OPAMPCTRLx.ONDEMAND=1, the OPAMPx will be running when a peripheral is requesting it as an input. If OPAMPCTRLx.ONDEMAND=0, OPAMPx will always be running in standby sleep mode.

Bit 5 – RES2VCC Resistor ladder To VCC

ValueDescription
0Swith open.
1Switch closed.

Bits 4:3 – BIAS[1:0] Bias Selection

These bits are used to select the bias mode.

ValueNameDescription
0x0MODE0Minimum current consumption, but the slowest mode
0x1MODE1Low current consumption, slow speed
0x2MODE2High current consumption, fast speed
0x3MODE3Maximum current consumption but the fastest mode

Bit 2 – ANAOUT Analog Output

This bit controls a switch connected to the OPAMP output.

ValueDescription
0Switch open. No ADC or AC connection.
1Switch closed. OPAMP output is connected to the ADC or AC input.

Bit 1 – ENABLE Operational Amplifier Enable

ValueDescription
0The OPAMPx is disabled
1The OPAMPx is enabled