Other Parts Discussed in Thread: HALCOGEN
In my application we use the operating system RTOS with several tasks on the microcontroller. For one module we use SPI4 for sending and MIBSPI5 for receiving (also other SPI ports for other modules). However, it happens in the application that the interrupt for MIBSPI5-receive is not triggered. If I look at the sent and received message on an oscilloscope, it was sent correctly and should be received correctly.
If no interrupt is triggered, I wait a short time and read out the multibuffer (mibspiGetData) manually. In about 50% of the cases the correct message is in the buffer. In the other cases (only a part of the whole message is in the buffer) I have to send the request again. Then how can it be that the interrupt did not trigger if the correct message is in the buffer? What could be the reason for this happening?
I would appreciate your help.
Kind regards,
Konstanty Kuczynski