Skip to content

Simple Open Source EtherCAT Slave with support for EtherCAT slave HAT with LAN9252 chip (like EasyCAT or EtherC/EtherBerry) for Raspberry PI using the BCM2835 library.

License

Notifications You must be signed in to change notification settings

iwoodsawyer/SOES

 
 

Repository files navigation

Simple Open Source EtherCAT Slave

SOES (Simple OpenSource EtherCAT Slave Stack) is an opensource slave stack that is very easy to use and provides a small footprint. It is a good alternative to more complex stacks on the market.

This forks adds support for EtherCAT slave HAT with LAN9252 chip (like EasyCAT or EtherC/EtherBerry) for Raspberry PI using the BCM2835 library.

Overview

SOES is an EtherCAT slave stack written in c. Its purpose is to learn and to use. All users are invited to study the source to get an understanding how an EtherCAT slave functions.

Feature list:

  • Address offset based HAL for easy ESC read/write access via any interface
  • Mailbox with data link layer
  • CoE
  • Object dictionary
  • SDO read and write for all sizes including segmented transfers
  • Easy portable C-code suited for embedded applications
  • Fixed and/or dynamic PDO mapping
  • FoE with bootstrap template
  • Support for Little and Big endian targets
  • Run polling, mixed polling/interrupt or interrupt
  • Support for SM Synchronization
  • Support DC sync0 and DC Synchronization
  • Add stack configuration via new configuration parameter to/or from "stack"_init
  • EoE

Building

  • mkdir build
  • cd build
  • cmake .. -DRPI_VARIANT
  • make

About

Simple Open Source EtherCAT Slave with support for EtherCAT slave HAT with LAN9252 chip (like EasyCAT or EtherC/EtherBerry) for Raspberry PI using the BCM2835 library.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 97.7%
  • CMake 1.3%
  • Other 1.0%