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.
I have a few SPI TI-RTOS driver/hardware related questions on MSP432P401R:
1. SPI_CS signal on boosterPack header J2
The schematics from MSP432P401R LaunchPad Development Kit documents shows that SPI_CS from J2 (P3.0_IO_J2.18) is connected to P3.0/PM_UCA2STE, however other SPI signals on J2 are from UCB0(UCB0SIMO, UCB0SOMI)
It seems SPI_CS is not from the same SPI IP as other SPI signals. Is this correct?
2. Does SPI TI_RTOS driver supports SPI 4-wire option with CS? How to configure it?
3. Does SPI TI_RTOS driver provides timing configuration such as chipSelect-to-transmission delay or clock cycles between CS toggling?
Thanks,
Tao
Hi Tao,
Tao Zhang said:It seems SPI_CS is not from the same SPI IP as other SPI signals. Is this correct?
Yes that is correct.
Tao Zhang said:Does SPI TI_RTOS driver supports SPI 4-wire option with CS? How to configure it?
No it does not. Please take a look at TI-RTOS 2.20 User's Guide - Texas Instruments section 5.11.7 Master/Slave Modes "Asserting on Chip Select".
Regards,
David
Hi David,
I have a similar inquiry to Tao's. If the SPI_CS is not a SPI IP signal, does that mean that the lack of 4-wire support is a board design issue and not just a TI_RTOS driver issue?
Is it possible to update TI_RTOS SPI driver to support 4-wire (see SPI parameters below) by adding the fields into the structure below? Who may we contact in the TI RTOS team to discuss this?
Kind regards,
Javier
/*!
* @brief SPI Parameters
*
* SPI Parameters are used to with the SPI_open() call. Default values for
* these parameters are set using SPI_Params_init().
*
* @sa SPI_Params_init()
*/
typedef struct SPI_Params {
SPI_TransferMode transferMode; /*!< Blocking or Callback mode */
uint32_t transferTimeout; /*!< Transfer timeout in system
ticks (Not supported with all
implementations */
SPI_CallbackFxn transferCallbackFxn;/*!< Callback function pointer */
SPI_Mode mode; /*!< Master or Slave mode */
uint32_t bitRate; /*!< SPI bit rate in Hz */
uint32_t dataSize; /*!< SPI data frame size in bits */
SPI_FrameFormat frameFormat; /*!< SPI frame format */
uintptr_t custom; /*!< Custom argument used by driver
implementation */
} SPI_Params;
**Attention** This is a public forum