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.

TMS570LS3137: MibSPI TG delay

Part Number: TMS570LS3137

We are using TMS570ls3137 as in MibSPI master configuration. It has to transmit the data sequentially with different TG. 

below are questions:

1. Is it possible to select same trigger source for all the TG. If "Yes" then is it possible to configure delay between each transfer group trigger?

2. if Master sends data to Salve, Slave responds to Master with 3.2 us delay in full duplex mode. how to make master to send clock without interrupt (due to 3.2 us delay)

  • Hello,

    1. Yes, they can use the same trigger source. Transfer Group0 (TG0) has the highest priority and TG15 has the lowest priority among the transfer groups TG0 to TG15. You can insert a delay between TGs using WDELAY

    2. The delay can not be inserted by slave. Only master can add delay. 

  • Hello QJ Wang Thank you so much for your response!

    We are working on some message protocol, it will be done via full duplex mode. There is a constraint that slave will respond with some delay (2 words delay, SPI clock is 10MHz, hence 3.2 us). is it possible to make the master send clocks by sending some dummy bytes during this period?

    Scenario:

    Master Tx : 0x5a5a 0x5a5a 0x5a5a 0xFFFF 0xFFFF 0xFFFF

    Slave Tx:    ------------------------------------------------------ 0x00a5 0x00a5 0x00a5

    can we achieve above requirement?

                                                              

  • Hello,

    Yes. master can transfer 2 byes of dummy data to slave.

    Master TX: 0x5a5a 0x5a5a 0x5a5a 0xFFFF 0xFFFF 0xFFFF Dummy1  Dummy2

    Slave Tx:    ------------------------------------------------------ 0x00a5  0x00a5    0x00a5

    The slave doesn't need to read those dummy data.