EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #290 background imageLoading...
Page #290 background image
Operational amplifier (OPAMP)
UM1581
290/584
DocID023800 Rev 1
ï‚· The OPAMPs non inverting input can be selected among the list shown by table
below.
ï‚· The OPAMPs inverting input can be selected among the list shown by table below.
ï‚· The OPAMPs outputs can be internally connected to the inverting input (follower
mode)
ï‚· The OPAMPs outputs can be internally connected to resistor feedback output
(Programmable Gain Amplifier mode)
ï‚· The OPAMPs outputs can be internally connected to ADC
ï‚· The OPAMPs can be calibrated to compensate the offset compensation
ï‚· Timer-controlled Mux for automatic switch of inverting and non-inverting input
Table 14: OPAMPs inverting/non-inverting inputs
OPAMP1
OPAMP2
OPAMP3
OPAMP4
Inverting input
PGA
OK
OK
OK
OK
VOUT
OK
OK
OK
OK
IO1
PC5
PC5
PB10
PB10
IO2
PA3
PA5
PB2
PD8
Non-inverting inputs
IO1
PA7
PD14
PB13
PD11
IO2
PA5
PB14
PA5
PB11
IO3
PA3
PB0
PA1
PA4
IO4
PA1
PA7
PB0
PB13
16.2.2 How to use this driver
This driver provides functions to configure and program the OPAMP of all STM32F30x
devices. To use the OPAMP, perform the following steps:
1. Enable the SYSCFG APB clock to get write access to OPAMP register using
RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);
2. Configure the OPAMP input in analog mode using GPIO_Init()
3. Configure the OPAMP using OPAMP_Init() function:
 Select the inverting input
 Select the non-inverting inverting input
4. Enable the OPAMP using OPAMP_Cmd() function
16.2.3 Initialization and Configuration functions
ï‚· OPAMP_DeInit()
ï‚· OPAMP_Init()
ï‚· OPAMP_StructInit()
ï‚· OPAMP_PGAConfig()
ï‚· OPAMP_VrefConfig()
ï‚· OPAMP_VrefConnectNonInvertingInput()
ï‚· OPAMP_VrefConnectADCCmd()
ï‚· OPAMP_TimerControlledMuxConfig()
ï‚· OPAMP_TimerControlledMuxCmd()

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals