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: MIBSPI Cannot Receive And Read The Data

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Hi, there. I have seen lots of posts about MIBSPI receiving data problem on e2e forum, but neither of posts help. My master could transmit data correctly, since I use oscilloscope to check its MOSI, SCS, and CLK pins. However, for the slave part, it cannot read receiving data. I guess it is HALCoGen configuration problem, this is the code and config for my slave project. I use MIBSPI1, and hardware connection is

MIBSPI 1

Master MISO  -  Slave MISO

Master MOSI  -  Slave MOSI

Master CLK  -  Slave CLK

Master SCS[2]  -  Slave SCS[1]

Thanks for any help!

6607.TFT_SPI_TEST_SLAVE.zip

  • Hi Joe,

    My understanding is that you use MibSPI1 as slave to receiver data. The following are my comments after reading your code:
    1. The MibSPI1 is configured as master
    2. The MOSI and MISO pins are not selected for SPI functionality. I mean you don't configure the pinmux correctly for MibSPI1
    3. It's better to use INT for receiver side