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.

TMS570LS0914: DMA MibSPI two receive message lengths

Part Number: TMS570LS0914
Hello,  

 

in our application using TSM570LS0914PGE we would like to realise the communication of two MibSPI interfaces via DMA.  

For example, we want to send messages via MibSPI port 3 and receive messages via MibSPI port 5. A command send to the periphery is a write or read command and is always 6 bytes long. The periphery responds to a write command with a 6-byte message and to the read command with 2 x 6-byte messages (12 byte).  

To create a communication, which relieves the CPU, we want to use channel chaining so after receiving a message on MibSPI 5, the next message got transmit on MibSPI 3. However, the problem at this point is that the messages received are not always the same length. 

 

 

How can the handling between the different received data lengths be realized?