This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3357: Integration of EtherCAT functionality

Genius 5785 points

Part Number: AM3357
Other Parts Discussed in Thread: SYSBIOS

Hello,

I'd like to integrate two EtherCAT boards with different functionality into a single common board. Depending on the system, the integrated board may have two functionalities or only a single functionality. How should I implement the software with AM3357 on the integrated board? Please give me some advice.

Regards,
Kazu

  • Hi,

    The EtherCAT experts have been notified. They will respond here. There may be a delay due to the holidays.
  • Hi Kazu, could you please give us more details? when you say two functionalities do you mean EtherCAT master and slave in a single chip?

    thank you,
    Paula
  • Hi Paula,

    Paula Carrillo said:
    when you say two functionalities do you mean EtherCAT master and slave in a single chip?

    Thank you for your reply. No. I mean, two slave boards. Each slave board has differenct function on each processor. For example, one slave is a motor control board and the other one is a sensor board mainly. I want to integrate two boards(processors) into single board(processor). Depending on the system, the processor has two functions or just one. Could you give me how I should implement the software? Can I have two like slave IDs on a single processor and cause of interrupt from one or both?

    Regards,
    Kazu

  • Kazu, could you please share a sketch of your system? are you going to have two Sitara AM335x in a board, but only two Ethernet ports (instead of 4)? is my understanding correct?

    thank you,
    Paula
  • Hi Paula,

    I'm sorry for the confusion. Please see the attached file. Please give me some advice.

    Regards,
    Kazu

    ecat_system_block.pptx

  • Hi Kazu

    I apologize for the delay in responding. It is possible to define the Slave to have multiple features. For example as described in ISDK User Guide at processors.wiki.ti.com/.../SYSBIOS_Industrial_SDK_02.01.03_User_Guide the full featured EtherCAT AM437x demonstration supports motor control, 8 LED outputs and digital inputs.

    The application is developed using the SYSBIOSSDK-IND-SITARA: SYSBIOS Industrial Software Development Kit (SDK) for AM335x and AM437x that is available at www.ti.com/.../sysbiossdk-ind-sitara and the Beckhoff/EtherCAT Technology Group (ETG) Slave Stack code which is available to ETG Members.

    The features of the slave are defined in the ESI EtherCAT file. This file communicates the capabilities of the slave to the master. The supplier of the Slave Stack Code (SSC tool (ETG/Beckhoff) has tools and documentation which can help you in generating this file. They have forums on www.ethercat.org. ETG also offers training & workshops.

    If you wish there is also a list of 3Ps supporting EtherCAT on our site too. Some do offer tools to generate code and description files for a project (e.g. Port GmbH).

    David

  • Hi David,

    David Zaucha said:
    The features of the slave are defined in the ESI EtherCAT file. This file communicates the capabilities of the slave to the master.

    Thank you for your answer. I understood how to make ESI files(tiesc_eeprom.h).
    processors.wiki.ti.com/.../SYSBIOS_Industrial_SDK_02.01.03_User_Guide

    Since the master has been informed of the slave's function by ESI in advance, PRU can send and receive only data related of its own. Then Cortex-A8 resumes from waiting, gets and exchanges the data from PRU. Is my understandig correct?

    Regards,
    Kazu

  • Hi Kazu

    Yes, you are correct.

    David