DocID025202 Rev 7
432/1080
RM0365
Operational amplifier (OPAMP)
436
Bits 17:14
PGA_GAIN
: Gain in PGA mode
0X00 = Non-inverting gain = 2
0X01 = Non-inverting gain = 4
0X10 = Non-inverting gain = 8
0X11 = Non-inverting gain = 16
1000 = Non-inverting gain = 2 - Internal feedback connected to VM0
1001 = Non-inverting gain = 4 - Internal feedback connected to VM0
1010 = Non-inverting gain = 8 - Internal feedback connected to VM0
1011 = Non-inverting gain = 16 - Internal feedback connected to VM0
1100 = Non-inverting gain = 2 - Internal feedback connected to VM1
1101 = Non-inverting gain = 4 - Internal feedback connected to VM1
1110 = Non-inverting gain = 8 - Internal feedback connected to VM1
1111 = Non-inverting gain = 16 - Internal feedback connected to VM1
Bits 13:12
CALSEL
: Calibration selection
This bit is set and cleared by software. It is used to select the offset calibration bus used to generate
the internal reference voltage when CALON = 1 or FORCE_VP= 1.
00 =
V
REFOPAMP
= 3.3% V
DDA
01 =
V
REFOPAMP
= 10% V
DDA
10 =
V
REFOPAMP
= 50% V
DDA
11 =
V
REFOPAMP
= 90% V
DDA
Bit 11
CALON
: Calibration mode enable
This bit is set and cleared by software. It is used to enable the calibration mode connecting VM and
VP to the OPAMP internal reference voltage.
0: Calibration mode disabled.
1: Calibration mode enabled.
Bits 10:9
VPS_SEL
: OPAMP1 Non inverting input secondary selection.
These bits are set and cleared by software. They are used to select the OPAMP1 non inverting input
when TCM_EN = 1.
00: PA7 used as OPAMP1 non inverting input
01: PA5 used as OPAMP1 non inverting input
10: PA3 used as OPAMP1 non inverting input
11: PA1 used as OPAMP1 non inverting input
Bit 8
VMS_SEL:
OPAMP1 inverting input secondary selection
This bit is set and cleared by software. It is used to select the OPAMP1 inverting input when
TCM_EN = 1.
0: PC5 (VM0) used as OPAMP1 inverting input
1: PA3 (VM1) used as OPAMP1 inverting input
Bit 7
TCM_EN
: Timer controlled Mux mode enable
This bit is set and cleared by software. It is used to control automatically the switch between the
default selection (VP_SEL and VM_SEL) and the secondary selection (VPS_SEL and VMS_SEL) of
the inverting and non inverting inputs.
Bits 6:5
VM_SEL:
OPAMP1 inverting input selection.
These bits are set and cleared by software. They are used to select the OPAMP1 inverting input.
00: PC5 (VM0) used as OPAMP1 inverting input
01: PA3 (VM1) used as OPAMP1 inverting input
10: Resistor feedback output (PGA mode)
11: follower mode
Bit 4 Reserved, must be kept at reset value.