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.

AM437x ICSS Ethernet

Hi,

I have some questions about the ICSS.

I use the AM437x IDK EVM which have two 10/100 Ethernet ports and one gigabit Ethernet port. As the AM437x IDK EVM HW User Guide, two 10/100 Ethernet transceivers are connected to the PRU0 & PRU1 units within the AM437x and the gigabit Ethernet transceiver is connected to the RGMII 1 unit within the AM437x. According to the PCB schematic, the 10/100 Ethernet ports are connected to pr1_mii0/1_xxx and gigabit Ethernet is connected to RGMII1_xxx.

But in the AM437x TRM, there is little helpful information  in section 30 [ Programmable Real-Time Unit Subsystem and Industrial Communication Subsystem (PRU-ICSS) 30.4.3 Industrial Ethernet Peripheral (IEP) ]. This chapter just introduces digital I/O and the industrial ethernet timer. Section 15 Ethernet Subsystem introduces the 3-Ports switch. 

The latest IDK(2.1) includes the Ethernet/IP example which is only an CSS project for A9 core without any PRU projects. 

So I am confused what's the function of ICSS( 2 PRU cores) ?

If they do nothing why connect two Industrial Ethernet ports to PRU pins ( pr1_mii0/1_xxx  )?  

I have to use the two Industrial Ethernet ports for Modbus now, what document should I read ? TRM-Section 15 Ethernet Subsystem ?

I didn't use the AM335x or BBB before, I just can't understand the Ethernet module of AM437x.

Thanks!

Best Regards,

  • Hi,

    qinghai liao said:

    The latest IDK(2.1) includes the Ethernet/IP example which is only an CSS project for A9 core without any PRU projects. 

    So I am confused what's the function of ICSS( 2 PRU cores) ?

    The PRU cores implement the MAC layers of Ethernet Switch/EMAC. These sources aren't available publicly, and included as header files in IA_SDK_HOME/protocols/ethenetip_adapter(or Emac)/firmware. The drivers that interface to this firmware can be found in IA_SDK_HOME/os_drivers/lld/emac(if you are using the latest ISDK 2.1.0.1)

    Regards,
    Vinesh

  • Thank you, Vinesh.

    I am using the IDK 2.1 owing to your advice last week. So PRU-ICSS Ethernet is an BlackBox and I can only use it by the header files, is it right?

    and where I can find information about the ICSS Ethernet ? I didn't understand or misunderstood the Ethernet module of AM437x. I want to use the two ICSS Ethernet port for Modbus/TCP. Will TI provide Modbus/TCP demo in the future ? Otherwise I have to imitate the Ethernet/IP example .

    Sincere yours,
    LIAO Qinghai
  • Hi,

    qinghai liao said:
    Will TI provide Modbus/TCP demo in the future ? Otherwise I have to imitate the Ethernet/IP example .

    Modbus TCP - I'm not really sure. Ethernet/IP example(or the ethernet_mac), uses standard IP stack for functioning. Porting a Modbus TCP stack over this should be easy.

    Regards,
    Vinesh

  • That's a good idea and I will have a try.
    Will TI make the reserved registers or information about ICSS Ethernet to the public in the future?
    Thank you.

    Best Regards,
    Qinghai