Generate SSC for EoE

Due to the license issue, the MCUXpresso SDK does not include the EtherCAT Subdevice Stack Code (SSC). The SSC Tool must generate the subdevice stack code first. This section lists the steps to download the SSC tool and generate the subdevice stack code for the EoE example via the SSC tool.

Note: You must have a Beckhoff account to download the EtherCAT SSC tool.

  1. Download and install the SSC tool.

    1. Click the link https://www.ethercat.org/en/downloads.html.

    2. Type SSC in the Text Filter field.

    3. Select the EtherCAT Subdevice Stack Code (SSC) link under the Description column. See, Figure 1.

      Note: To proceed with the download, you must provide your account credentials, if you are not already logged in.

    4. Install the downloaded SSC tool.

    5. Launch the SSC tool.

  2. Import the configuration file for the EoE example.

    1. Select Tool > Options.

      The Subdevice Stack Code Tool | Options window appears.

    2. Click the Configurations tab.

    3. To open the Import Configuration file(s) dialog box, click the + icon.

    4. Navigate to the \boards\evkmimxrt1180\ecat_examples\eoe\<core>\SSC folder.

    5. Select the eoe.xml file.

    6. Click the Open button. See, Figure 3.

      The configuration is imported.

  3. Create a new project with the imported configuration.

    1. Select File > New.

      TheNew Project dialog box appears.

    2. Select the Custom option.

    3. Select NXP ECAT EOE modular <NXP> from the drop-down list.

  4. Save this new project as ECAT-EOE.esp to any folder.

    1. Select File > Save.

    2. Save the file with an appropriate name. For example, ECAT-EOE.esp.

  5. Create the EoE example application via importing the eoe_freertos.xlsx file.

    1. Select Tool > Application > Import.

      The File selection dialog box appears.

    2. Navigate to the*\boards\evkmimxrt1180\ecat_examples\eoe\<core>\SSC* folder.

    3. Select the eoe_freertos.xlsx file.

    4. Click the Open button.

      The filename appears in the Application name field.

    5. Click OK.

  6. Create the subdevice stack code for the EoE example.

    1. Click Project > Create new Subdevice Files.

      The Create new Subdevice Files dialog box appears.

    2. To create the code, select Start

      By default, the code is located in the Src subfolder under the folder where the project is saved.

  7. Copy the Src subfolder to boards\evkmimxrt1180\ecat_examples\eoe\<core>\SSC\Src under the SDK source code.

  8. Delete the eoe_freertos.c file under Src folder because this file is already provided in the root directory of eoe example.