Hi,
I modified the SRIO Loopback example so it will execute the blocking test on single core. The test passed.
Now, i try to send and recieve the messages in loop, in the following way:
Producer:
while(1)
{
Task_sleep(100);
/* allocate Tx buffer, fill it etc. */
Send()
}
Cnsumer:
while(1)
{
Recv()
Free Rx buffer{}
}
This code run great for the first 3 buffers and than the consumer stop to recieve any messages - I found that in each send operation, 2 descriptors from the Rx queue are being used (instead of 1) so after 3 reception there are no free descriptor to recieve the data.
I am using SRIO_DATA_LEM=256