This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/IWR1443BOOST: SPI slave mode not working

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: IWR1443

Tool/software: TI-RTOS

Hello,

I have modified the demo code for IWR1443 to enable SPI functionality. I have been referencing the SPI example code (level_sense_demo). I have gotten SPI master mode to work (saw on oscilloscope the data and clock being sent) and now I'd like to enable it in slave mode. I followed the MSP slave mode code on the level_sense_demo and believe I have initialized parameters correctly. My goal here is to be able to read data received by the IWR in slave mode sent by another IWR in master mode. My general question is how to get IWR in slave mode working?

My more specific questions are as follows: is it correct to think that the timing between master and slave is synchronized by the CS line being pulled down by master, thus slave can transmit/receive on the following clock cycle? If so, there is no CS variable set in the code, so is it just done behind the scenes? 

I've attached the modified demo main.c code here, the SPI code is added to MmwDemo_initTask and MmwDemo_transmitPrcoessedOutput. Any help is appreciated.Thanks!main (1).c