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.

TMS570LS1224: Fully duplex SPI driver example

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Hi Team, 

Do we have a sample for Fully duplex SPI driver example for this mcu?

Thank you.

-Mark

  • Hi  Mark,

    All the examples we have are working in full duplex mode. The halcogen has couple SPI or MibSPI examples:

    To configure the SPI as half-duplex, you need t write 1 to HDUPLEX_ENAx of SPIFMx register:

    In half-duplex mode, the SIMO is used as RX pin for master mode, and TX pin for slave mode.

    For full-duplex mode, the SIMO is master TX and Slave RX.