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: How to start Interrupts buffer pointer always from the beginning if no complete message has arrived.

Part Number: TMS570LS0914


Dear support team, 

in our application we use MIBSPI port 5 as Slave, where we expect to receive different size of messages. In an example we expect e.g. 12 bytes of messages, which then trigger an interrupt in which the buffer is emptied. However, the problem is that the subscriber only responds with 6 bytes. As soon as we then send the next message the interrupt triggers and the 6 bytes from the message before are present with the new 6 bytes. 

What configuration is necessary so that the mibspi buffer always starts from the beginning and as soon as a received message does not contain the 12 bytes, the buffer starts again from the beginning with the next message and discards the things in buffer? If there is no option for this, is there perhaps a workaround?

Kind regards,

Konstanty Kuczynski