Attached is the SPI example code for ADSP-21489 processor. This code is built on CCES. It does a simple master transmit and slave receive using DMA.
Please make external connections as given below.
SPI_CLK(DPI_PB01) - SPIB_CLK(DPI_PB04)
SPI_MOSI(DPI_PB02) - SPIB_MOSI(DPI_PB05)
SPI_FLG0(DPI_PB03) - SPIB_DS(DPI_PB06)