Hello the team.
I send a 64 bytes canFD frame, who send a query to I'd...
how long must I wait before read RXQueue, to be sure to read a feeded Rx frame?
Usleep(10)? 100 ?
Thanks the team.
vincent
Peak M2 on Ubuntu I7 RT latency
Re: Peak M2 on Ubuntu I7 RT latency
Hi,
I don't think that anyone can answer this question correctly, because it is depending on your used bitrate, message size, CPU load, responds time of your other CAN node etc....
Simply check the timestamp of the received message to see how long it takes to receive the answer on your system. On the other hand, use a small sleep and call CAN_Read until you will receive a CAN message again.
regards
Michael
I don't think that anyone can answer this question correctly, because it is depending on your used bitrate, message size, CPU load, responds time of your other CAN node etc....
Simply check the timestamp of the received message to see how long it takes to receive the answer on your system. On the other hand, use a small sleep and call CAN_Read until you will receive a CAN message again.
regards
Michael
-
- Posts: 59
- Joined: Tue 3. Aug 2021, 23:34
Re: Peak M2 on Ubuntu I7 RT latency
Thanks, Michael.
I'll do that
I'll do that