Seshan Govender wrote: > Hi all > > I am running the raw-packets example in order to perform timing tests > between a master and slave setup. The problem I am having is that the > recvmsg_rt function takes a variable time (between 600us to 1.8ms on > a 2ms cycle time) to execute a fixed size packet. Firstly, is there a
Your application is very likely running at a different frequency than the TDMA bus cycle. So, depending on the time your receiver calls recvmsg_rt /relative/ to the next slot carrying the awaited data, you actually see this jittering as a normal effect. That's the case with every cyclic protocol. > way to speed up processing of the packets (sending and receiving) and Reduce the cycle period or add more time slots for the sender to the same cycle. > I have searched through the source files in order to find these > functions, but only get as far as finding the associated rtdm > functions. I need to know what the flags argument is, that is passed > on for these functions as it is currently set at 0. I did not yet get what you are referring to. Do you know the RTnet Cross-Reference? http://www.rts.uni-hannover.de/rtnet/lxr It's helpful both for browsing through the code and for providing links when you are looking for some explanations. BTW, there are similar services for RTAI and Xenomai available on our site as well: http://www.rts.uni-hannover.de/rtai/lxr http://www.rts.uni-hannover.de/xenomai/lxr Jan
signature.asc
Description: OpenPGP digital signature