Multi-slot TDMA Configuration in RTnet
lakshmi.d at teclever.com
Mon Sep 7 18:54:07 CEST 2020
Using RTNET_RTIOC_XMITPARAMS & SOCK_XMIT_PARAMS I setted the priority and
slot ID for Multi-slot configuration.And it is working.
As per my understanding, the slots are used for writing out-going packets
in the priority queue, not for incoming data.
So for receiving data from multiple slots,the multi-slots are not required
at the another system.Is't right? Please correct me If I am wrong.Is it
possibe to read themulti-slot data using the single slot at the other end?
With Thanks & Regards,
On Wed, Sep 2, 2020 at 8:05 PM Lakshmi Dhanaraj <lakshmi.d at teclever.com>
> yes I followed rtmac.txt file for slot configuration.But I have no idea on
> how to use RTNET_RTIOC_XMITPARAMS and SOCK_XMIT_PARAMS options inside
> Can you share me an example code for reference?
> With Thanks & Regards,
> On Wed, Sep 2, 2020 at 12:33 PM Jan Kiszka <jan.kiszka at siemens.com> wrote:
>> On 01.09.20 19:08, Lakshmi Dhanaraj via Xenomai wrote:
>> > Hi,
>> > My System is configured with Xenomai-3.0.5 on Linux-4.9.38 kernel under
>> > Ubuntu 18.04.1 LTS. I am using I210 Ethernet Controller with the
>> > of 1Gbps.
>> > Configured Master and Slave TDMA slot 0 with offset 0 and 400
>> > along with a cycle period of 1000 us. For Single-slot(Slot-0), it is
>> > working fine.
>> > To configure multiple slots at the slave side, set the offsets 200,400
>> > 600 for rteth0 for slot-0,1 and 2. Monitored the data transmission at
>> > Wireshark, the packet is transferred once in each cycle period with
>> size of
>> > 1470 bytes.
>> > In the calibration request frame, only slot 0 is shown. Does it seem
>> > the data transmission occurs from slot-0 only at every cycle
>> period?.How to
>> > check about slot information in the data packets? How to configure
>> > slots between a master and a slave?
>> > Waiting for the reply at earliest.
>> Did you see
>> One thing I had to read up myself again (wrote that 15 years or so
>> ago...) is how you can address a specific slot with a transmission from
>> an application. That works via setting RTNET_RTIOC_XMITPARAMS and
>> SOCK_XMIT_PARAMS, see also
>> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
>> Corporate Competence Center Embedded Linux
More information about the Xenomai