SFFS983 August 2025 MSPM0G1518 , MSPM0G1519 , MSPM0G3518 , MSPM0G3519
The comparator peripheral in the device compares the voltage levels on two input terminals and provides a digital output (based on this comparison). The comparator supports the following key features:
The following tests must be applied for the targeted ASIL as functional safety mechanisms for this module (to provide diagnostic coverage on a specific function):
| Safety Mechanism | Description | Faults | Failure Modes |
|---|---|---|
| COMP1 | Periodic software read back of static configuration registers | Targeted toward configuration registers in comparator. |
| COMP2 | Software Test of Comparator using Internal DAC | Targeted toward testing comparator functioning using device DAC as first input and comparators internal reference DAC as second input. |
| COMP3 | Comparator test using an external pin as a test input | Targeted to test the comparator functioning using an external pin as test input. |
| COMP4 | Comparator hysteresis | This is a fault avoidance technique, which can be used to filter the noise on the input to the comparator. |
| COMP5 | Redundant Comparator | A second comparator us used to monitor same signal as first comparator to create redundancy for monitoring a fault event response |
| WDT | Windowed watchdog event | Targeted toward interrupt generation logic. If a periodic interrupt is expected from the comparator watchdog, this mechanism can be used to detect faults in the interrupt logic. |