Build an EtherCAT Slave

Dependencies:   EsmacatShield

You are viewing an older revision! See the latest version

Software

Structure of the EASE System

The EASE slave supports the exchange of data between the EtherCAT Master and the Mbed board (a.k.a. Base board). The EtherCAT Master reads and writes eight 16-bit integers respectively on the EASE slave via the EtherCAT interface. Correspondingly, the Base board reads the eight 16-bit integers (written by the Master) and writes eight 16-bit integers (read by the Master) on the EASE via the SPI protocol. Thus, the EASE bridges the data packets between the EtherCAT Master and Base board to support seamless high-speed communication.

https://os.mbed.com/media/uploads/pratima_hb/data_exchange.png

Therefore, there are two pieces of software that needs to be reviewed in order to understand the chain of communication and data-transfer.

  • Esmacat Master Software for the EtherCAT communication (Master SW as shown above figure) You can download and buildling Esmacat Master software on Linux by following the document
  1. Getting Started Esmacat Master Software Linux For windows refer
  2. Getting Started Esmacat Master Software Windows Both the documents can be found at https://www.esmacat.com/tutorials
  • Software for the SPI communication (In this tutorial, it is the EASE_Example, the binary of which is generated using Mbed platform, (SPI SW in above figure))

All wikipages