![background image](http://html1.mh-extra.com/html/ics/xmc-a825-16/xmc-a825-16_user-manual_3532771030.webp)
XMC-A825-16 ARINC-825 16 Channel XMC / CANFlight-16 User's Manual REV C
Document: TP2216-901_Users_Manual.pdf
Page 30 of 39
© Innovative Control Systems
Project:
TP2216-901
Author: K. Jacobson Date: 11.05.2019
Rev.: C
UR14=0010
RB14=1
# MAC/IP addresses and local/remote port numbers for CAN channel 15.
IP15=192.009.200.051
LP15=34597
RP15=34598
LS15=1
UR15=0010
RB15=1
# End of XMC-A825 Configuration File
For CAN channels which are not accessed via the Ethernet/UDP/IP interface, the corresponding entries in the
configuration file for MAC/IP addresses and port numbers may be omitted. All CAN channels that have no
baud rate tag in the configuration file will be initialized to be “bus-off” by default. Specifying “255” as the last
digit of an “IPx=” tag sets up the corresponding interface for broadcast communication. In this case, multiple
instances of XCT may connect to the same CAN channel of a XMC-A825-16 unit (port numbers are still
relevant in this case). The MAC address for broadcast channels is automatically set to FF:FF:FF:FF:FF:FF by
the XMC-A825-16 firmware.
If the “LIP=”-tag is set to “DHCP”, XMC-A825-16 attempts to contact a DHCP server in the network and tries to
obtain a valid IP address from it. Once this process has been completed successfully, the XMC-A825-16 unit
will transmit a status message for CAN channel 0 once per second as a broadcast UDP packet. Reception of
this packet allows host computers in the network to determine the IP address of a XMC-A825-16 based on its
module name.
If the MAC address of a remote host is not known, the corresponding “MAx” tag may be omitted. In this case,
the XMC-A825-16 will use ARP requests ten times per second to determine the remote hosts MAC address in
order to establish communication with this host. Specifying the remote hosts MAC address in the configuration
file avoids this process and speeds up the link initialization.
The continuous transmission of Ethernet/UDP/IP packets with received CAN messages can be enabled or
disabled using the “LSx=” tag for each CAN channel individually. Likewise, the time between subsequent
packets can be adjusted through the “URx=” tag. The minimum time gap between CAN receive packets is
1ms, the maximum time gap is 9999ms. Be aware that specifying large gap times may lead to data loss
depending on the traffic on the corresponding CAN channel.
The “LSx=” and “URx=” tag settings do not affect the transmission of CAN status packets (every 100ms and
once per second as broadcast) and the ability of the XMC-A825-16 to respond to Internet Control Message
Protocol (ICMP) echo requests (“ping”) as well as to Address Resolution Protocol (ARP) requests.
For communication with XCT, the local and remote port numbers specified in the XCT setup have to match the
XMC-A825-16 configuration. The default values are shown in Table 8 These values have to be specified
correctly to enable communication between XMC-A825-16 and XCT.
Depicted
CAN
Channel
Logical
CAN
Channel
Local (XMC-A825-16) Port
Number (“LPx=”-Tag)
Remote (Host) Port Number
(“RPx=”-Tag)
CH1/CAN1
0
34567
34568