EtherCAT

XCore Project reviews, ideas, videos and proposals.
smuraski
Member++
Posts: 20
Joined: Fri Oct 22, 2010 3:06 pm

EtherCAT

Post by smuraski »

Has anyone successfully implemented a full EtherCAT slave using XMOS? What protocols are available?

I am debating attempting this or using a Beckhoff ASIC but there is a obvious advantage to using the XMOS chips to process multiple Ethernet protocols using a single PHY.


User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

Hi smuraski,

Yes - I believe EtherCAT has been implemented by at least one person. The user posted here:

http://www.xmos.com/discuss/viewtopic.p ... 82&start=0

We have a feasibility study and some example code on Github:

https://github.com/xcore/sc_ethercat

Would you be interested in helping develop this further as an open source project?
User avatar
matrix
Active Member
Posts: 62
Joined: Sat Sep 17, 2011 12:05 pm

Post by matrix »

There is a topic about openEtherCat:
http://www.xcore.com/forum/viewtopic.php?f=14&t=498

BTW, XMOS Semiconductors is a member of the EtherCat Technology Group.
smuraski
Member++
Posts: 20
Joined: Fri Oct 22, 2010 3:06 pm

Post by smuraski »

Hello Andy,

I may be interested, however the product that I am interested in developing would not be a standard EtherCAT slave implementation. I also would need to evaluate the progress that has already been achieved. My cost on the Beckhoff ET1200 ASIC is approximately $12 in qty. It is hard to justify a lengthy development cycle. The ET1100 ASIC is still less than $20 in qty. Each ASIC has markets it is better suited to support, but I would have to spend considerable time working on the EtherCAT slave code as well as verification before any product related hardware/software could begin.

How far did the feasability study get in the implementation? Does it include compatability with Beckhoff TwinCAT master software and System Master? Is there a white paper relating to the feasability study?
User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

I believe that the feasibility study focussed on achieving a low latency MII interface and a "rudimentary EtherCAT protocol handler", according to the documentation in Github. I don't think it's at the stage where it can be tested with Beckhoff software.
User avatar
dan
Experienced Member
Posts: 102
Joined: Mon Feb 22, 2010 2:30 pm

Post by dan »

The feasibility study was indeed just a bit of code to confirm we could implement the most demanding parts of the standard in a reasonable number of threads.

From this effort it appears to us it's doable (a single ethercat slave unit) on a XS1-L1 (500 Mhz).

At the very, very most, an L2 would be needed and would be likely to leave sufficient free resources to implement a drive controller or something. Certainly a G4 would be overkill.