I have a pair of boards using the XU216-512-FB236 part. I have established an external xconnect link between the two and can exchange data reliably. I would like to be able to send a message (a single byte would do) from one board to the other with the sender not blocking. The data sent can be lost if not received and I would not need to know on the sender if it had been received or not.
Is there a way of doing this? I have experimented with server channels and using control tokens but the sender always blocks if the data is not taken. Since these are two individual and separate parts I cannot us any shared memory approach.
Non-blocking communications
-
- Member++
- Posts: 24
- Joined: Sat Nov 14, 2015 3:53 pm
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Hi. Can you review the attached document which offers a demo code example?
The SW for this demo is posted here:
https://www.xmos.com/file/an01024-xconn ... n-demo-sw/
The SW for this demo is posted here:
https://www.xmos.com/file/an01024-xconn ... n-demo-sw/
You do not have the required permissions to view the files attached to this post.
-
- Member++
- Posts: 24
- Joined: Sat Nov 14, 2015 3:53 pm
Thanks for the response. I had based my communications on this application note but had forgotten the detail. If I check for credit before I try and send it works a lot better.
-
- Respected Member
- Posts: 367
- Joined: Wed May 31, 2017 6:55 pm
Have you looked at notifications? These are non-blocking on the server.