www.ti.com
8.15 COMP
The comparator peripheral in the device compares the voltage levels on two inputs terminals and provides a
digital output based on this comparison. It supports the following key features:
•
Programmable hysteresis
•
Programmable reference voltage:
– External reference voltage (VREF IO)
– Internal reference voltage (1.4V, 2.5V)
– Integrated 8-bit reference DAC, the output can also connect to OPA input terminal internally as an output
buffer.
•
Configurable operation modes:
– High speed mode
– Lower power mode
•
Programmable output glitch filter delay
•
Supports 6 blanking sources . Please refer to CTL2 register in comparator section of TRM
•
Support output wake up device from all low power modes
•
Output connected to advanced timer fault handling mechanism
•
The IPSEL and IMSEL bits in comparator registers can be used to select the comparator channel inputs from
device pins or from internal analog modules.
CTL2.BLANKSRC VALUE
IPSEL / IMSEL BITS
0x0
0x1
0x2
0x5
0x6
0x7
IPSEL / IMSEL BITS
0x0
0x1
0x2
0x5
0x7
IPSEL / IMSEL BITS
0x0
0x1
(1)
The connection to COMP0/1_IN3+ and DAC_OUT connects using the PA15 pin. When connecting DAC_OUT to COMP0/1_IN3+,
avoid using external circuitry on the PA15 pin.
Copyright © 2023 Texas Instruments Incorporated
Table 8-8. COMP Blanking Source Table
1
2
3
4
5
6
Table 8-9. COMP0 Input Channel Selection
POSITIVE TERMINAL INPUT
DAC_OUT / COMP0_IN3+
COMP1 positive terminal signal
Table 8-10. COMP1 Input Channel Selection
POSITIVE TERMINAL INPUT
DAC_OUT / COMP1_IN3+
COMP0 positive terminal signal
Table 8-11. COMP2 Input Channel Selection
POSITIVE TERMINAL INPUT
Product Folder Links:
MSPM0G3507-Q1 MSPM0G3506-Q1 MSPM0G3505-Q1
MSPM0G3507-Q1, MSPM0G3506-Q1, MSPM0G3505-Q1
COMP0_IN0+
COMP0_IN1+
COMP0_IN2+
(1)
OPA1 output
COMP1_IN0+
COMP1_IN1+
COMP1_IN2+
(1)
COMP2_IN0+
COMP2_IN1+
SLASF88 – OCTOBER 2023
BLANKING SOURCE
TIMA0.CC2
TIMA0.CC3
TIMA1.CC1
TIMG12.CC1
TIMG6.CC1
TIMG7.CC1
NEGATIVE TERMINAL INPUT
COMP0_IN0-
COMP0_IN1-
COMP0_IN2-
-
OPA0 output
-
NEGATIVE TERMINAL INPUT
COMP1_IN0-
COMP1_IN1-
COMP1_IN2-
-
-
NEGATIVE TERMINAL INPUT
COMP2_IN0-
COMP2_IN1-
Submit Document Feedback
63
Need help?
Do you have a question about the MSPM0G350 Series and is the answer not in the manual?