STM32L4 Analog Opamp
Hello, and welcome to this presentation of the STM32L4
embedded Operational Amplifier. It covers the features of
this IP, which is widely used for conditioning analog
Each of the two operational amplifiers inside STM32L4
products functions as a general-purpose analog
amplifier, which may reduce the need for an external
stand-alone op amp.
As these op amps can be configured in stand-alone
mode with all terminals available for the user, it is
possible to use them as a voltage follower, non-inverting
and inverting amplifiers, as well as analog filters such as
low- or high-pass filters. They can also act as a preamplifier for the ADC input.
The operation amplifier inside STM32L4 products offers
general-purpose rail-to-rail inputs and outputs. The input
offset voltage can be calibrated in the application to
achieve minimal offset. All the terminals are accessible
by the user so that any operational amplifier function can
be configured with external passive components. For
low-power applications which do not need high
bandwidth, a low-power mode is available which only
consumes 45 micro amps from VDDA. For current sense
applications, a dedicated low-leakage input pad is
available on the BGA 132 package.
The op amps also provide on-chip functions including
voltage follower mode, while their on-die feedback
resistance can be used for the Programmable Gain
Amplifier function.
This slide shows the block diagram of the operational
amplifiers. The STM32L4 integrates two Operational
Amplifiers. Several switches are used to configure
different functions. Each op amp can be configured
The Operational Amplifier can be configured as an
internal voltage follower, where the internal switch
connects the output to the inverting input. In internal
voltage follower mode, the GPIO pad assigned to the op
amp’s inverting input is free, so that it may be used with
a different functions as subsequently assigned in the
GPIO selection process.
This STM32L4’s op amps support non-inverting amplifier
mode with four fixed gains available. The feedback
resistors can be selected to have gain of 2, 4, 8 or 16 to
support the Programmable Gain Amplifier function. It
may also be beneficial to use the op amp as an ADC
input so that the full dynamic range of the analog-todigital converter can be applied to signals having a small
The op amps also support external connections on
outputs and the non-inverting input to create the PGA
mode. It enables the connection of an external capacitor
to add low-pass filter characteristics to the PGA
The op amps have a very low leakage inverting input pin
to support the current sensing application. The dedicated
pads are only available on the BGA132 package and
have 1 nA leakage which allows for a current to voltage
conversion with high precision.
The operational amplifiers are active in the following lowpower modes: Run, Sleep, Low-power run, Low-power
sleep and Stop 1 modes.
In Stop2 mode, the op amp is not available, but its
registers’ content is kept. In Standby or Shutdown
modes, the op amp is powered-down and must be
reinitialized for use if returning to one of the higher
powered modes.
The following table shows performance parameters for
the STM32L4’s op amp. The op amp can work from 1.8
to 3.6 volts from the VDDA supply with rail-to-rail input
and output. The offset voltage can be calibrated down to
1.5 mV. It has normal and low-power operating modes.
Normal mode can have a gain bandwidth of 1.6 MHz
while low-power mode only has 0.42 MHz of gain
bandwidth, but comes with the added benefit of reducing
power consumption. Thanks to its fast wake-up time of
10 to 30 micro seconds, it is not needed to keep it
always enable but only when the functionality is
The STM32L4’s op amps are suitable for the preamplification of the ADC input because the integrated
PGA can enhance the dynamic range of the analog-todigital converter. It is handy to use as an on-chip voltage
follower instead of using an off-chip stand-alone op amp.
Its low bias current allows it to properly perform as a
current-to-voltage converter for the current sensing
This is a list of peripherals related to the operational
amplifiers. Please refer to these peripheral trainings for
more information if needed.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF