SFFS948 May 2025 MSPM0L1227-Q1 , MSPM0L1228-Q1 , MSPM0L2227-Q1 , MSPM0L2228-Q1
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. |
| 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. |
| 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. |