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.

SIMPLELINK-MSP432-SDK: is it possible to communicate with two SPI slaves in the same SPI bus with different bitRate and frameFormat using SPI-TI Drivers?


General SPI protocol allows the use of different bitrates and modes for each slave in the same bus, but it seems TI driver forces to close and reopen the bus if one wants to change these parameters.

I'm using MSP432P4111 and SimpleLink MSP432P4 SDK TI Drivers, in Code Composer Studio

Is there any way to use the SPI TI Driver to have different bus settings for each slave in the same bus? Each slave should be able to have different SPI frameFormat and bitRate but these settigns are only passed to SPI_open() function through SPI_params struct when you get the handle,so I see no way to change them before a transfer.

One solution could be to open and close the bus with specific settings in every transfer operation and get a new handle for each transaction, but I would like to check if there is some other way to achieve this.