EtherCAT On Sitara Processors Spry187i
EtherCAT On Sitara Processors Spry187i
® ™
Maneesh Soni
Systems Manager
Arm® Microprocessor Group
Texas Instruments
EtherCAT® is among the leading communications
standards based on Ethernet that is used
increasingly for networking and communications
in the industrial or factory environment.
The EtherCAT communication technology was invented by Beckhoff Automation in
Germany and later standardized by the EtherCAT Technology Group (ETG).
Texas Instruments, Inc. (TI) is the first semiconductor company to license EtherCAT
technology. TI has integrated EtherCAT into all of the SitaraTM processors. To enable
EtherCAT, TI has built upon its programmable real-time unit (PRU) technology to
create a unified front-end for industrial communications and bring EtherCAT and other
industrial standards to its growing platform of Arm-based microprocessors.
EtherCAT
Master
EtherCAT Telegram
Working
Length Res Type Header Data Counter
Each EtherCAT datagram is a command that consists mapped in it. The EtherCAT master assembles a
of a header, data and a working counter. The header complete process image during the initialization
and data are used to specify the operation that the phase and then makes even bit-level accesses
slave must perform, and the working counter is to slave devices via a single EtherCAT command.
updated by the slave to let the master to know that This capability makes it possible to communicate
a slave has processed the command. practically with any number of input/output (I/O)
channels across large and small devices spanning
Protocol
the entire fieldbus network via a standard Ethernet
Each slave processes EtherCAT packets “on-the- controller and standard Ethernet cable.
fly” in that it receives the frame, parses it and takes
Performance
action if the address specified in an EtherCAT
datagram matches its own address, and forwards As a result of hardware-based FMMU and on-the-
the entire datagram from its second port while also fly processing, the EtherCAT network performs at
updating the contents and the CRC of the packet. very high levels of efficiency. It enables cycle times
Through the datagrams, the EtherCAT master of the order of microseconds to communicate from
addresses the entire address space of up to 4 GB controllers to field devices. The communication
in which up to 65,536 EtherCAT slaves, each with efficiency is no longer a bottleneck in industrial
65,536 addresses, can be located. The EtherCAT networks and brings it in line with the computation
datagrams do not have any restriction on the order speeds of contemporary industrial PCs. For
in which the slaves are addressed with respect to instance, the increased performance makes it
the actual position of slave nodes in the network. possible to run the current loop, in addition to the
position loop, for distributed drives over EtherCAT.
There are different types of EtherCAT data
transmissions – cyclic and acyclic. Cyclic data are Topology
the process data that are transferred at periodic The EtherCAT standard supports any topology –
intervals or cycle times. Acyclic data is usually non- line, star or tree – and the bus structures common
time-critical data that can be large in size and usually in fieldbus networks can also be realized with
exchanged in response to a controller command. EtherCAT. Since the EtherCAT interface is present
Some acyclic data, such as diagnostic data, can be on I/O devices, there is no requirement for any
critical and have demanding timing requirements. Ethernet switching hardware. With the 100-m range
EtherCAT handles these different data transmission of copper links and even longer with optical links,
requirements through optimized addressing EtherCAT can span over thousands of devices
schemes – physical addressing, logical addressing, spread across a large geographical area. For short
multiple addressing and broadcast addressing. distances, such as on back-plane, EtherCAT uses
To handle various addressing schemes, each slave E-bus, a differential signaling technology.
To complete the EtherCAT solution with the Sitara Protocol Adaptation Layer
Sitara
DP83822 Arm-based DP83822
processor
700 ns
Figure 10. EtherCAT RX-TX latency.
Summary
TI offers integrated EtherCAT slave and master
capability on Sitara processors targeted for industrial
I/O, sensor, PLC and human machine interface (HMI)
Figure 11. EtherCAT software integration. systems. The integration of EtherCAT with a powerful
yet low-power Arm core results in lower-cost end
products without compromise on the functional or
Integrating EtherCAT on end products operational requirements. TI also offers the transceivers
with built-in isolation for the industrial communication
In order to integrate EtherCAT slave into industrial
interfaces such as EtherCAT, PROFIBUS, CAN,
equipment, customers can use TI’s EtherCAT slave
RS-485 and more. With comprehensive software and
implementation and complete their design process
hardware development tools, worldwide support and
using the evaluation copy of the EtherCAT Slave an active E2E™ developer community, customers can
Stack Code provided in the Processor SDK. The look forward to greatly simplified EtherCAT integration
Slave Stack Code is originally obtained from Beckhoff with the added benefit of significant cost savings – as
and it is available to all ETG members for no charge. much as 30 percent!
Important Notice: The products and services of Texas Instruments Incorporated and its subsidiaries described herein are sold subject to TI’s standard terms and
conditions of sale. Customers are advised to obtain the most current and complete information about TI products and services before placing orders. TI assumes
no liability for applications assistance, customer’s applications or product designs, software performance, or infringement of patents. The publication of information
regarding any other company’s products or services does not constitute TI’s approval, warranty or endorsement thereof.
The platform bar and Sitara are trademarks of Texas Instruments. All other trademarks are the property of their
respective owners.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third
party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims,
damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on
ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable
warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2020, Texas Instruments Incorporated