Yeoh Chun Yeow wrote:
> Dear Jan
> 
> Can you explain the tdma configuration of "slot 1 0 1/1 1500 1"?

First of all, this was early-morning nonsense, must rather read:

slot 2 0 1/1 1500 0

Translation: Create a TDMA slot, ID 2 (first arg), offset 0 us relative
to each TDMA Sync (second arg), period 1/1, i.e. use every TDMA cycle
(third arg), 1500 byte payload (fourth arg), and join this slot with the
one of ID 0 (fifth arg). For more details, see README.rtmac (hmm, it's
is failing to mention the fifth argument, too bad...).

> 
> And how should I configure the cycle (previously in the rtnet.conf, I set
> the TDMA cycle to 2000 and TDMA offset to 500) and the slave?

Please check the README first, it should explains this.

> 
> Is it ok for me to use the default configuration in tdma config script?

As a basis, yes.

> 
> I have ensure that AT91 acts as the master and it is able to ping the slave
> using rtping after the completion of TDMA setup. So is this enough?

To be safe, apply the above configuration and run a test with larger
ping frames (ping -s ...). Maybe the time for returning some
transmission buffer from the hardware back to the OS is actually so
short here that a TX queue is not needed. But my feeling is not yet that
optimistic.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to