Use the SPCLR command to flush the input and output buffers for SPI simulation. This resets the buffers and clears out all values. Notice that if the SPI is currently shifting a value, this command allows the SPI to finish the transfer. Refer the SPDI and SPDO commands for accessing the input and output buffers of the SPI interface.
>gdi SPCLR
>gdi SPCLR
Clear input and output buffer for SPI simulation