st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 294

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
On-chip peripherals
10.7
10.7.1
10.7.2
10.7.3
10.7.4
294/371
Operational amplifier (OA)
Introduction
The ST7 op-amp module is designed to cover various types of microcontroller applications
where analog signals amplifiers are used.
It may be used to perform a variety of functions such as: differential voltage amplifier,
comparator/threshold detector, ADC zooming, impedance adaptor, general purpose
operational amplifier.
Main features
This module includes:
General description
This op-amp can be used with three external pins (see device pinout description) and can
be internally connected to the ADC and the Motor Control cells. The gain must be fixed with
external components.
The input/output pins are connected to the op-amp as soon as it is switched ON (through
the OACSR register).
The analog input ports must be configured as input, no pull-up, no interrupt. Refer to the “I/O
ports” chapter. Using these pins as analog inputs does not affect the ability of the port to be
read as a logic input.
The output is not connected (HiZ) when the op-amp is OFF. However the pin can still be
used as an ADC or MTC input in this case.
When the op-amp is ON the output is connected to a dedicated pin which is not a standard
I/O port. The output can be also be connected to the ADC or the MTC. The switches are
controlled software (refer to the MTC and ADC chapters).
Input offset compensation
The op-amp incorporates a method to minimize the input offset which is dependant on
process lot. It is useable by setting the OFFCMP bit of the control register, which launch the
compensation cycle. The CMPVR bit is set by hardware as soon as this cycle is completed.
The compensation is valid as long as the OFFCMP bit is high. It can be re-performed by
cycling OFFCMP ‘0’ then ‘1’.
The compensation can be improved by averaging the calculation (over 16 times) setting the
AVGCMP bit.
1 stand alone op-amp that may be externally connected using I/O pins
Op-amp output can be internally connected to the ADC inputs as well as to the motor
control current feedback comparator input
Input offset compensation with optional average
On/Off bit to reduce power consumption and to enable the input/output connections
with external pins
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto

Related parts for st7pmc2s6