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.

RTOS/PRU-ICSS-INDUSTRIAL-SW: AM65xx ECAT PRU

Part Number: PRU-ICSS-INDUSTRIAL-SW

Tool/software: TI-RTOS

Hi,

Has anyone been able to get EtherCAT slave to run on their AM65x IDK board?

I got the PRU ICSS EtherCAT Slave example to build and run on the board, but TwinCAT cant see the device in the network.

http://software-dl.ti.com/processor-industrial-sw/esd/docs/indsw/EtherCAT_Slave/01_00_07/PRU_ICSS_EtherCAT.html

Thank you,

Steven

  • Hi,
    We ran into an issue with that, too. The EtherCAT slave software only supports MII mode for the Phy connection (it says so somewhere in the docs), but the IDK defaults to RGMII mode. Did you resolder the 0 OHM resistors on the IDK daughter card as explained in the IDK user guide?
    It's a bit tricky to spot all the resistors, but after resoldering for MII the slave example app worked for us.
    Regards,
    Dominic
  • Hi Dominic,

    Is this for the AM65xIDK board? Where did you solder the resistor to? From what I understand PRU2 the 2 ports on the main board only supports RGMII, while the PRU example guide notes that AM65 only supports MII. So we would be using PRU0 or PRU1, the ports on the daughter board, correct? I tried soldering a resistor to R290 on the daughter board and it didnt seem to work for me.

    Regards,
    Steven

  • Hello Steven,

    yeah, that's for the IDK board. If you have a look at the AM654x IDK User's Guide (SPRUIM6) chapter "4.2.6 Ethernet Interface" it tells you which resistors to unsolder and which to solder to switch the PHY interfaces from RGMII to MII.

    The thread where I originally asked about the Ethercat Slave is here: e2e.ti.com/.../2847331
    In that thread you can also find the schematics to the daughter card that help you understand what this change does. Basically the MII and the RGMII interfaces on the AM65x use slightly different pins (shifted by one), which is why they need so many 0-Ohm resistors to move the signals.

    It took us a while to spot the resistors on the daughter card. Some resistors are labeled close by on the silk screen, for some there's like a map labeled with "A", "B" and next to the actual resistors there's just the letter. Layout files for the IDK daughter card would've been helpful.

    Regards,
    Dominic
  • Thanks for the help Dominic!