This Forum is for Coldfire parts. The chip you're using is ARM-based, RF Zigbee chip, and discussion on those parts is being held in this forum:
Other Freescale Solutions
As Anderson said you should not try to switch master and slave.
SPI allows sending 8 (or 16 or more) bits from the Master to the Slave. These bits are shifted out of a shift-register in the Master into another shift-register in the Slave. At the same time a shift register in the slave is shifted data back into the master.
That's it. The "meaning" of the bits in the data being transferred is up to you. Hardware chips that have SPI interfaces (like EEPROM, clocks and ADC converters) come with data sheets that detail how the hardware designer has decided to use SPI to get the job done.
I suggest you read the data sheets for various SPI-based chips, and then copy the registers and the use for one that most closely matches what you want to do. We use multiple SPI-connected CAN controllers on Coldfire parts. These CAN chips have 128 bytes of control registers. The master has to send a control byte (which means "read, write, reset, bit-modify" or other commands), then the address of the register, then the data to send, or (while sending "dummy data") read if it is reading data back.
The Master can send data whenever it wants to. The Slave can't start a transfer. If the Slave in your design has to request the master to communicate with it, then you need an separate connection from the Slave that interrupts the master. This is treated like any other peripheral interrupt.
Tom