Hi Satish,
As per my understanding, you can use the C28x SPI Transmit block. You can refer to the following documentation for better undertanding of the block:
You can also refer to the following documentation of SPI Communication: https://www.mathworks.com/help/instrument/spi-communication.html