I have a project where I want to have EhterCAT Master on the A53 to send data(1500Bytes) every 1 millisecond to R5f core, (both ways).
I'm running on the Linux RT patch and tried both examples: rpmsg_simple_char and rpmsg_char_zerocopy
rpmsg_char_zerocopy is very slow and doesn't meet our requiremnts (~30 millisecond round trip)
rpmsg_simple_char gives on average ~60 microseconds round trip but has a big jitter of 3-9 millisecond 0.1% of the times which is still not acceptable.
I don't know why I have this problem, If it just can't handle the fast rate of data transfer or I'm doing something wrong.
The idea is the A53 core sends every 1 millisecond to R5f and the R5f also send every 1 millisecond to the A53 core.
Both will have two tasks one for sending and one for recevin data. (Not blocking on receive like in the examples.)
I would be happy to know if there a way to achive this?
Thank you for your time.