SFFSB37 November 2026 MSPM33C321A
When QSPI is configured to run as SPI, the SPI can be placed into an internal loopback in Controller mode for work by setting the LBM bit in the SPI.CTL1 register. In loopback mode, data transmitted on the TX output is received on the RX input. Application can use FIFO to check out FIFO behavior.
For checking the clock setting, add additional time check in the software.
Test timeout can be implemented, in case the test does not complete (test timeout is required to monitor clock related faults).
The test duration can be measured to check if the baud clock is in the expected range.