Link Search Menu Expand Document

Microchip logo Harmony logo small

MPLAB® Harmony 3 EtherCAT

MPLAB® Harmony 3 is an extension of the MPLAB® ecosystem for creating embedded firmware solutions for Microchip 32-bit SAM and PIC® microcontroller and microprocessor devices. Refer to the following links for more information.

This repository contains the MPLAB® Harmony 3 EtherCAT solutions and example applications. Quickly incorporate connectivity to your designs with EtherCAT ICs, modules, software and development kits that make connecting effortless for your customers. Our comprehensive EtherCAT portfolio has the technology to meet your range, data rate, interoperability, frequency and topology needs. Refer to the following links for release notes, training materials, and interface reference information.

Contents Summary

Folder Description
apps Example applications for EtherCAT library components
config EtherCAT module configuration file
docs EtherCAT library help documentation (html format)
drivers Driver/Firmware files for different products

Cloning EtherCAT Microchip-MPLAB-Harmony github repo

To clone or download the repo from https://github.com/Microchip-MPLAB-Harmony/ethercat , go to the main page of this repository and then click code->clone button to Clone with HTTPS to clone this repo using a git client or download the repository as a zip file. The EtherCAT , CSP , MHC and Dev Pack module repositories can also be downloaded using content manager by following the instructions in the MPLAB® Harmony Repository Download section in the guide available at this link: https://github.com/Microchip-MPLAB-Harmony/ethercat/wiki/create-your-first-ethercat-application.

NOTE - Prior to using the EtherCAT demonstration, it is recommended to review the MPLAB® Harmony Release Notes (release_notes.md) for any known issues.

EtherCAT Library and Demo Application

This distribution package contains MPLAB Harmony EtherCAT firmware project that demonstrates the capabilities of Process Data Objects (counter and Trigger objects) and FoE (File Over EtherCAT, Firmware upgrade feature) . The project describes its hardware setup and requirements.

The EVB-LAN9252_SAM D51 Evaluation Board is an EtherCAT Client controller with dual integrated Ethernet PHYs. Each Ethernet PHY contains a Full-Duplex 100BASE-TX transceiver and supports 100 Mbps (100BASE-TX) operation.

All the EtherCAT applications are available in ethercat/apps folder. All the drivers are located in the ethercat/drivers folder. The distribution package also contains details about EtherCAT Beckhoff Slave stack code generation tool and EtherCAT manager (required to verify the operation of the demo).

Name Description
ethercat_library_lan925x This library explains about EtherCAT Client controller Interface layer w.r.t LAN9252/LAN9253/LAN9255 devices
ethercat_counter_foe_app This example application demonstrates the capable of doing firmware updates via FoE (File over EtherCAT).This also demonstrates EtherCAT TwinCAT manager and LAN925x Client communication with SAMD51 , SAME53 and LAN9255 micro-controller.

License Latest release Latest release date Commit activity Contributors


Follow us on Youtube Follow us on LinkedIn Follow us on Facebook Follow us on Twitter



Copyright © 2020 Microchip Technology.