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: Missing mibspi interrupts using TMS570LS0914 with RTOS

Part Number: TMS570LS0914

In my application I use the TMS570havgsd. This communicates with an external transceiver. Over SPI4 port the messages are sent out and over MibSPI5 the data packages are to be received. It concerns 6 x 8 bit data packets. As soon as a data packet arrives, an interrupt should come and the data should be read out of the MibSPI receive buffer and copied into a queue so that they can be read out in another function.

The communication works quite well so far. Except for very few cases, where no interrupt comes. What could be the reason for an interrupt not arriving?

On the oscilloscope I see the complete message. So it is not up to the external transceiver device.

I would very much appreciate your support.

  • Hello,

    For multi-buffered mode, the interrupt is enabled using TGITENST register. 

    Please call mibspiEnableGroupNotification() to enable the interrupt in MibSPI peripheral level.

    Please check the channel 53 of VIM to enable MibSPI5 interrupt in VIM level, and call _enable_IRQ() to enable interrupt in CPU device level.

  • Hello,

    The problem is not that there is no mibspi interrupt at all. There are almost always interrupts as soon as a message is received. But sometimes this is not the case. One of about 1000-5000 messages is not received (no interrupt).

    Global interrupts are enabled. Also channel 53 in sys_vim is activated.

  • hello,

    Have you make your MibSPI work?