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.

AM5728: McSPI to configure as 3 wire mode

Part Number: AM5728

Hi,

We are using Ti AM5728 processor to interface our LCD board. This LCD board only supports only 3-wire SPI mode (CS, CLK, SDA). This SDA line will be used as both MOSI & MISO.

Whether AM5738 McSPI4 supports 3-wire mode ?

How to configure McSPI to 3-wire SPI mode ?

  • This part does support 3-wire mode on all of its McSPI channels.  To configure McSPI, please see the TRM section 24.4.1.  The key words you are looking for are Transmit Only and Receive Only.

  • To read the Display ID, we are sending command on this SDA line and on the same SDA line immediately we should be getting the 3 bytes of display ID data. So, My requirement in 3-wire mode is that the same SDA line should transmit and receive.  

    I am sending the RDDID (04h): Read Display ID command and need to receive 0x85 0x85 0x52 data in McSPI read.

    Is this possible to transmit and receive on the same SDA line in 3-wire mode of McSPI ?

  • No, that's not supported.  You might be able to do this by forcing the CS bit low, sending the command in transmit only mode, and then reading the data in receive only mode.