EtherCAT® Shield for Raspberry PI – EtherC V1.6.3
EtherCAT® is an Ethernet-based fieldbus system, invented by Beckhoff Automation. The protocol is standardized in IEC 61158 and is suitable for both hard and soft real-time requirements in automation technology. EtherC V 1.6.3 is an extension board for RaspBerry Pi based on LAN9252 EtherCAT® Slave produced by Microchip, there is a Real Time clock powered by a 20 mm battery CR2032 (Battery is not included). The LAN9252 is a 2/3-port EtherCAT® slave controller wi th integrated dual Ethernet PHYs Which Contain each to full-duplex 100BASE-TX transceiver and support 100Mbps (100 BASE-TX) operation. Three possible configurations are possible: Microcontroller Mode, Digital I / O and Expansion Mode.
Our board not implements a fusion between the Microcontroller mode and the Digital I/O.
Raspberry Boards Compatibility

The SPI bus permits the communication with Raspberry PI, while the GPIO of LAN9252 are not exported. These pins are controlled by EtherCAT bus, no from Raspberry GPIO.

EtherC V 1.6.3 Bottom View
On pin header JP2 are exported the following RPI pins :
- GPIO05
- GPIO06
- GPIO12
- GPIO13
- GPIO16
- GPIO19
- GPIO20
- GPIO21
- GPIO22
- GPIO23
- GPIO24
- GPIO26

EtherCAT on Raspberry Pi 5
Every EtherCAT® slave requires a Vendor ID, we use the ID of SG Electronic Systems. This company supports us with boards distribution and their customization.
It’s possible to order this board on our Shop.
SOFTWARE CONFIGURATION
INSTALLATION ETHERC TO RASPBERRY
- Download the EtherC Code: EtherC_Code_v1.6.3
- Copy EtherC_Code_v1.6.3 to Raspberry
- Install Code:Blocks IDE
- With the example code provided, it is possible to configure the IO in JP2 as Inputs or Outputs, and read the Inputs and set the Outputs via Ethercat.
- It is possible to Read the i2c RTC (PCF85063) via ETHERCAT® .

For ETHERCAT® Master configuration follow the guide in this link.