SFFS948 May 2025 MSPM0L1227-Q1 , MSPM0L1228-Q1 , MSPM0L2227-Q1 , MSPM0L2228-Q1
The serial peripheral interface (SPI) peripherals in these devices support 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 |
|---|---|---|
| SPI1 | Software test of function using I/O loopback | Targets the transmit and receive function, including the clocking, shift registers, FIFOs, and the associated control logic. |
| SPI2 | Periodic software read back of static configuration registers | Targets the static configuration registers in SPI. |
| SPI3 | SPI periodic safety message checks | This is an application-level check, in which safety messages can be exchanged periodically. This mechanism covers faults, which result in communication breakdown. These faults can be in the external line, I/Os, the transmit and receive logic, interrupt generation logic, and so forth. |
| SPI4 | Information redundancy techniques including end-to-end safing | This is an application-level check, in which additional information (for example, the CRC of the message) is included along with the message. These checks can be used to cover faults resulting in data corruption. For example, faults in FIFO, in the shift registers, and so forth. |
| SPI5 | Transmission redundancy | This test is an application-level check, in which the same message is transmitted multiple times. This test is effective for detecting transient faults resulting in some messages getting corrupted. For example, transient faults in FIFOs. |
| WDT | Windowed watchdog event | Targeted toward faults which result in missing interrupts (periodic interrupts) affecting the program sequence of the CPU. These faults can be faults in the interrupt logic, the logic which sets the interrupt flags, and so forth. |