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.
Part Number: MSP432P401R
Tool/software: TI-RTOS
Hi there,
I am having an issue with SPI mode switching between master and slave on MSP432. Can this be done through RF_open with mode set to Master and Slave?
In my test project, MSP432 starts in slave mode and CC2650 starts in master mode. CC2650 wakes up MSP432 through external GPIO and send a ramp data. Once MSP432 receives complete, SPI is closed through SPI_close().
Next, MSP432 will switch SPI mode to Master through SPI_open() and start a transaction (blocking mode). At this step, the system seems stuck in SPI_transfer(). The transfer mode is blocking and transfer timeout is forever. I am not sure if SPI is still pending on something.
Is SPI mode switching procedure described above correct or additional steps should be done before switching SPI mode.
Thanks!
Kaichien (Thomas) Tsai said:Do you know what might be the reason causing the "stuck" issue?
Yes. For the same reason why it is so hard to eat soup using knife and to cut bread using spoon.
**Attention** This is a public forum