OPAMP Control x
Bit31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
Access | |||||||
Reset | |||||||
Bit23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
MUXNEG[2:0] | MUXPOS[2:0] | ||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | |
Bit15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
POTMUX[2:0] | RES1MUX[1:0] | RES1EN | RES2VCC | RES2OUT | |||
AccessR/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W |
Reset0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ONDEMAND | RUNSTDBY | BIAS[1:0] | ANAOUT | ENABLE | |||
AccessR/W | R/W | R/W | R/W | R/W | R/W | ||
Reset0 | 0 | 0 | 0 | 0 | 0 |
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 |
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 |
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 |
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 |
Resistor 1 Enable
Value | Description |
---|---|
0 | R1 disconnected from RES1MUX. |
1 | R1 connected to RES1MUX. |
Resistor ladder To VCC
Value | Description |
---|---|
0 | Swith open. |
1 | Switch closed. |
Resistor ladder To Output
Value | Description |
---|---|
0 | Swith open. |
1 | Switch closed. |
On Demand Control
The On Demand operation mode allows the OPAMPx to be enabled or disabled, depending on other peripheral requests.
Value | Description |
---|---|
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. |
Run in Standby
This bit controls how the OPAMPx behaves during standby sleep mode:
Value | Description |
---|---|
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. |
Bias Selection
These bits are used to select the bias mode.
Value | Name | Description |
---|---|---|
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 |
Analog Output
This bit controls a switch connected to the OPAMP output.
Value | Description |
---|---|
0 | Swith open. No ADC or AC connection. |
1 | Switch closed. OPAMP output is connected to the ADC or AC input. |
Operational Amplifier Enable
Value | Description |
---|---|
0 | The OPAMPx is disabled |
1 | The OPAMPx is enabled |