CMT2380F64
www. cmostek. com
73 / 83
5.17 Operational Amplifier
(
OPAMP
)
Built-in an independent operational amplifier with multiple working modes such as external amplification, internal follower
and programmable amplifier (PGA) (or both internal amplification and external filtering).
The main functions are as follows:
◆
Support rail-to-rail input
◆
OPA linear output range 0.4 V~VDDA-0.4 V
◆
Can be configured as independent operational amplifier and programmable gain operational amplifier;
◆
Forward and reverse input multiple selection
;
◆
OPAMP working mode can be configured as:
⚫
Independent mode (external gain setting)
;
⚫
PGA mode, programmable gain is set to 2X, 4X, 8X, 16X, 32X
⚫
Follower mode
;
◆
The internally connected ADC channel is used to measure the output signal of the operational amplifier
5.18 Analog Comparator
(
COMP
)
Built-in 1 comparator, which can be used as a separate device (all ports of the comparator are led to I/O), or it
can be used in combination with a timer. In motor control applications, it can be used in conjunction with the
PWM output from the timer to form a cycle-by-cycle current control.
The main functions of the comparator are as follows:
:
◆
1 independent comparator COMP, and it is a low-power comparator (can work in LPRUN, SLEEP and STOP
modes)
◆
Built-in a 64-level programmable reference input voltage source VREF
◆
Support filter clock, filter reset
◆
Output polarity can be configured high and low
◆
Hysteresis configuration can be configured without, low, medium, high
◆
The comparing results can be output to the I/O port or the trigger timer for capturing events, OCREF_CLR
events, braking events, and generating interrupts
◆
Input channel can be multi-selected I/O port, VREF
◆
It can be equipped with read-only or read-write, and it needs to be reset to unlock when locked
◆
Support blanking (Blanking), the blanking source can be configured to generate Blanking
◆
COMP can wake up the system from low power consumption mode by generating an interrupt, and COMP has
the ability to wake up the system from STOP
◆
Configurable filter window size
◆
Configurable filter threshold size
◆
Configurable sampling frequency for filtering