STMicroelectronics /STM32U031 /OPAMP /OPAMP_CSR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OPAMP_CSR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)OPAEN 0 (B_0x0)OPALPM 0 (B_0x0)OPAMODE 0 (B_0x0)PGA_GAIN 0 (B_0x0)VM_SEL 0 (B_0x0)VP_SEL 0 (B_0x0)CALON 0 (B_0x0)CALSEL 0 (B_0x0)USERTRIM 0 (CALOUT)CALOUT 0 (B_0x0)OPA_RANGE

VM_SEL=B_0x0, PGA_GAIN=B_0x0, USERTRIM=B_0x0, OPAMODE=B_0x0, OPAEN=B_0x0, CALSEL=B_0x0, OPALPM=B_0x0, CALON=B_0x0, VP_SEL=B_0x0, OPA_RANGE=B_0x0

Description

OPAMP control/status register

Fields

OPAEN

Operational amplifier Enable

0 (B_0x0): operational amplifier disabled

1 (B_0x1): operational amplifier enabled

OPALPM

Operational amplifier Low Power Mode The operational amplifier must be disable to change this configuration.

0 (B_0x0): operational amplifier in normal mode

1 (B_0x1): operational amplifier in low-power mode

OPAMODE

Operational amplifier PGA mode

0 (B_0x0): internal PGA disable

1 (B_0x1): internal PGA disable

2 (B_0x2): internal PGA enable, gain programmed in PGA_GAIN

3 (B_0x3): internal follower

PGA_GAIN

Operational amplifier Programmable amplifier gain value

0 (B_0x0): internal PGA Gain 2

1 (B_0x1): internal PGA Gain 4

2 (B_0x2): internal PGA Gain 8

3 (B_0x3): internal PGA Gain 16

VM_SEL

Inverting input selection These bits are used only when OPAMODE = 00, 01 or 10. 1x: Inverting input not externally connected. These configurations are valid only when OPAMODE = 10 (PGA mode)

0 (B_0x0): GPIO connected to VINM (valid also in PGA mode for filtering)

VP_SEL

Non inverted input selection

0 (B_0x0): GPIO connected to VINP

1 (B_0x1): DAC connected to VINP

CALON

Calibration mode enabled

0 (B_0x0): Normal mode

1 (B_0x1): Calibration mode (all switches opened by HW)

CALSEL

Calibration selection

0 (B_0x0): NMOS calibration (200mV applied on OPAMP inputs)

1 (B_0x1): PMOS calibration (VDDA-200mV applied on OPAMP inputs)

USERTRIM

allows to switch from factory AOP offset trimmed values to AOP offset user trimmed values This bit is active for both mode normal and low-power.

0 (B_0x0): factory trim code used

1 (B_0x1): user trim code used

CALOUT

Operational amplifier calibration output During calibration mode offset is trimmed when this signal toggle.

OPA_RANGE

Operational amplifier power supply range for stability All AOP must be in power down to allow AOP-RANGE bit write. It applies to all AOP embedded in the product.

0 (B_0x0): Low range (VDDA < 2.4V)

1 (B_0x1): High range (VDDA > 2.4V)

Links

()