EtherCAT Slave1.12.02
Setup

Software installation

  1. Install Code Composer Studio for Sitara(TM) processors (CCS).
  2. Install ArmĀ® code generation tools - compiler (ARM-CGT)
  3. Install a System Configuration Tool (sysconfig).
  4. Install a Software Development Kit (SDK) AM243X with demos and device description ESI files

for details see Getting started

Connect the development board

TMDS243GPEVM/TMDS64GPEVM

Board details: TMDS64GPEVM, TMDS243GPEVM

  1. Setup a dip switches on the board : 25MHz, No-boot / Dev-boot.

    No boot mode
  2. Connect the evaluation board to your computer using the micro-USB cables.

    One USB cables is required for the JTAG interface (XDS110), a second cable for the UART console.

    USB connectors on the AM64x/AM243 GP EVM Board
  3. Connect an ethernet cable from a PC running the TwinCAT to EtherCAT IN/Port0 of the PRU-ICSS on the development board.

    EtherCAT ports
  4. If you have multiple devices in chain, please connect from EtherCAT OUT/Port1 to IN/Port0 of next device. For the last device in chain, OUT/Port1 will be left open (if NOT using redundancy mode).
  5. Connect the board(s) to the power supply(ies) according to the specifications in the AM64x/AM243x GP EVM User's Guide Rev D

LP-AM243

Board details: LP-AM243

  1. Setup a dip switches on the board : No-boot / Dev-boot

    No boot mode
  2. Connect the evaluation board to your computer using two micro-USB cables:

    • J28 JTAG interface (XDS110)
    • J26 UART console
    USB connector on the AM243x LP Board
  3. Connect an ethernet cable from a PC running the TwinCAT to EtherCAT IN/Port0 of the PRU-ICSS on the development board.

    EtherCAT connectors on the AM243x LP Board
  4. If you have multiple devices in chain, please connect from EtherCAT OUT/Port1 to IN/Port0 of next device. For the last device in chain, OUT/Port1 will be left open (if NOT using redundancy mode).
  5. Connect a USB Type-C Power Supply to the board

    Board power connector on the AM243x LP

Steps to Run the Example

  1. When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu, see Using SDK with CCS Projects.
  2. When using makefiles to build, note the required combination and build using make command, see Using SDK with Makefiles.
  3. Launch a CCS debug session and run the executable, see CCS Launch, Load and Run.