OPAMP Control x

Name:
OPAMPCTRLx
Offset:
0x04+4*x, [x=0..2] [ID-000005dd]
Reset:
0x00000080
Access:
PAC Write-Protection
Bit3130292827262524
Access
Reset
Bit2322212019181716
MUXNEG[2:0]MUXPOS[2:0]
AccessR/WR/WR/WR/WR/WR/W
Reset000000
Bit15141312111098
POTMUX[2:0]RES1MUX[1:0]RES1ENRES2VCCRES2OUT
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit76543210
ONDEMANDRUNSTDBYBIAS[1:0]ANAOUTENABLE
AccessR/WR/WR/WR/WR/WR/W
Reset000000

Bits 22:20 – MUXNEG[2:0]: Negative Input Mux Selection

Negative Input Mux Selection

Selection on negative input for operational amplifier x.

Value OPAMPx Name Description
0x0 x=0,1,2 OAxNEG Negative I/O pin
0x1 x=0,1,2 OAxTAP Resistor ladder x taps
0x2 x=0,1,2 OAxOUT OPAMPx output
0x3 x=0,1 DAC DAC output
x=2 OA0NEG Negative I/O pin OPA0
0x4 x=0,1 Reserved  
x=2 OA1NEG Negative I/O pin OPA1
0x5 x=0,1 Reserved  
x=2 DAC DAC output
0x6 x=0,1,2 Reserved  
0x7 x=0,1,2 Reserved  

Bits 18:16 – MUXPOS[2:0]: Positive Input Mux Selection

Positive Input Mux Selection

Selection on positive input for operational amplifier x.

Value OPAMPx Name Description
0x0 x=0,1,2 OAxPOS Positive I/O pin
0x1 x=0,1,2 OAxTAP Resistor ladder x taps
0x2 x=0 DAC DAC output
x=1 OA0OUT OPAMP0 output
x=2 OA1OUT OPAMP1 output
0x3 x=0,1,2 GND Ground
0x4 x=0,1 Reserved  
x=2 OA0POS Positive I/O pin OPA0
0x5 x=0,1 Reserved  
x=2 OA1POS Positive I/O pin OPA1
0x6 x=0,1 Reserved  
x=2 OA0TAP Resistor ladder 0 taps
0x7 x=0,1,2 Reserved  

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

Potentiometer selection

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

Value R1 R2 Gain = R2/R1
0x0 14R 2R 1/7
0x1 12R 4R 1/3
0x2 8R 8R 1
0x3 6R 10R 1 + 2/3
0x4 4R 12R 3
0x5 3R 13R 4 + 1/3
0x6 2R 14R 7
0x7 R 15R 15

Bits 12:11 – RES1MUX[1:0]: Resistor 1 Mux

Resistor 1 Mux

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

Value OPAMPx Name Description
0x0 x=0,1,2 OAxPOS Positive inout of OPAMPx
0x1 x=0,1,2 OAxNEG Negative input of OPAMPx
0x2 x=0 DAC DAC output
x=1 OA0OUT OPAMP0 output
x=2 OA1OUT OPAMP1 output
0x3 x=0,1,2 GND  

Bit 10 – RES1EN: Resistor 1 Enable

Resistor 1 Enable

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

Bit 9 – RES2VCC: Resistor ladder To VCC

Resistor ladder To VCC

ValueDescription
0 Swith open.
1 Switch closed.

Bit 8 – RES2OUT: Resistor ladder To Output

Resistor ladder To Output

ValueDescription
0 Swith open.
1 Switch closed.

Bit 7 – ONDEMAND: On Demand Control

On Demand Control

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

ValueDescription
0 The OPAMPx is always on, if enabled.
1 The 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

Run in Standby

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

ValueDescription
0 The OPAMPx is disabled in standby sleep mode.
1 The 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.

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

Bias Selection

These bits are used to select the bias mode.

ValueNameDescription
0x0 Mode 0 Minimum current consumption, but the slowest mode
0x1 Mode 1 Low current consumption, slow speed
0x2 Mode 2 High current consumption, fast speed
0x3 Mode 3 Maximum current consumption but the fastest mode

Bit 2 – ANAOUT: Analog Output

Analog Output

This bit controls a switch connected to the OPAMP output.

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

Bit 1 – ENABLE: Operational Amplifier Enable

Operational Amplifier Enable

ValueDescription
0 The OPAMPx is disabled
1 The OPAMPx is enabled