Comparator Block Diagram; Comparator; Comparator Truth Table - Texas Instruments Concerto F28M36 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com

10.4.2 Comparator Block Diagram

COMPxA Pin
COMPxB Pin
VDDA
10-bit
DACVAL[9:0]
DAC
VSSA
COMPCTL[COMPSOURCE]
NOTE: Comparator hysteresis feedback is enabled by default and may interfere with high
impedance input signals.
10.4.3 Comparator Function
The comparator in each comparator block is an analog comparator module, and as such its output is
asynchronous to the system clock. The truth table for the comparator is shown in
Voltages
Voltage A > Voltage B
Voltage B > Voltage A
There is no definition for the condition Voltage A = Voltage B since there is hysteresis in the response of
the comparator output. Refer to the device datasheet for the value of this hysteresis. This also limits the
sensitivity of the comparator output to noise on the input voltages.
The output state of the comparator, after qualification, is reflected by the COMPSTS bit in the COMPSTS
register. Since this bit is part of the wrapper, clocks must be enabled to the comparator block for the
COMPSTS bit to actively show the comparator state.
10.4.4 DAC Reference
Each comparator block contains a 10-bit voltage DAC reference that can used to supply the inverting input
(B side input) of the comparator. The voltage output of the DAC is controlled by the DACVAL bit field in
the DACVAL register. The output of the DAC is given by the equation:
SPRUHE8E – October 2012 – Revised November 2019
Submit Documentation Feedback
Figure 10-53. Comparator Block Diagram
COMPHYSTCTL[COMPx_HYST_DISABLE]
0
VDDA
High-Z
1
+
COMPx
1
±
SYSCLK
0
VSSA
Qualification
COMPCTL[QUALSEL]
COMPCTL[SYNCSEL]
Figure 10-54. Comparator
A

Comparator

B
Table 10-35. Comparator Truth Table
Copyright © 2012–2019, Texas Instruments Incorporated
~100 k
COMPCTL[CMPINV]
0
0
COMPSTS
1
1
EPWM
Trip Zone
Output
Output
1
0
Comparator Block
GPIO Mux
External Pin
Connection
GPIO Mux
Table
10-35.
939
Analog Subsystem

Advertisement

Table of Contents
loading

Table of Contents