
— NETMASK="255.255.255.0” - The other slave board will have the IP 192.168.100.XXX.
— TDMA_MODE="master"
— TDMA_SLAVES="192.168.100.102” – If there are two slave boards, this will be “192.168.100.102
192.168.100.103”.
• Slave board
— RT_DRIVER= "rt_e1000e” - The driver used (currently, it is 'rt_e1000e').
— IPADDR="192.168.100.102” - IP address of the slave board.
— NETMASK="255.255.255.0” - net mask
— TDMA_MODE="slave"
— TDMA_SLAVES="192.168.100.102” – If there are two slave boards, this will be “192.168.100.102
192.168.100.103”.
c. ENETC devices
• Master board
— RT_DRIVER= "rt_enetc” - The driver used (currently, it is 'rt_enetc').
— IPADDR="192.168.100.101” - IP address of the master board.
— NETMASK="255.255.255.0” - The other slave board will have the IP 192.168.100.XXX.
— TDMA_MODE="master"
— TDMA_SLAVES="192.168.100.102” – If there are two slave boards, this will be “192.168.100.102
192.168.100.103”.
• Slave board
— RT_DRIVER= "rt_enetc” - The driver used (currently, it is 'rt_enetc').
— IPADDR="192.168.100.102” - IP address of the slave board.
— NETMASK="255.255.255.0” - net mask
— TDMA_MODE="slave"
— TDMA_SLAVES="192.168.100.102” – If there are two slave boards, this will be “192.168.100.102
192.168.100.103”.
4.3.2.3 Verifying RTnet
Use the following steps to verify your RTnet connection:
• Step1: Load all modules related with Xenomai RTnet and analyze the configuration file both on master and slave sides.
$ rtnet start
• Use CTRL+ Ckey combination to exit after using the preceding command, if it does not exit on its own.
• Use the below command to display all ethernet ports. Currently, it should display four Ethernet ports (QSGMII Port 0 to Port
3) on master and slave:
$ rtifconfig -a
• Configure the network on the master side using the commands below:
$ rtifconfig rteth0 up 192.208.100.101
$ rtroute solicit 192.208.100.102 dev rteth0
NXP Semiconductors
Industrial features
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
46 / 199