50.6.8 SPI Local Loopback Test Mode

When QSPI operates in SPI Mode (QSPI_MR.SMM=0), Local Loopback mode connects the output of the transmitter directly to the input of the receiver, as shown in Figure 7-24. The MISO/QIO1 pin has no effect on the receiver and the MOSI/QIO0 pin is driven as in normal mode.

The MOSI/QIO0,QSCK and QCS are normally transmitted unless the PIO is configured to drive logical values to prevent the QSPI external target device from starting.

This Local Loopback mode and allows a quick and easy verification of the transmitter and receiver logic.

The Local Loopback mode is enabled when QSPI_MR.LLB=1.

Figure 50-21. Local Loopback Mode Configuration