On an SPI bus a device is either master or slave, it cannot be both. The good news is that for every byte you transfer from the master to the slave, the slave can send one byte back, you just have to ensure that the byte is ready on the slave when the master starts the transfer.