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.

PROCESSOR-SDK-AM62X: Ethernet protocol support

Genius 3186 points
Part Number: PROCESSOR-SDK-AM62X
Other Parts Discussed in Thread: PROFIBUS

Hi

My customer plan to communication in ethernet using AM62 Linux SDK.

Question1 :

I think CPSW support up to MAC sublayer, and PRU system supports link sublayer, network layer, transport layer.

Is this correct?

Or network and transport layer protocol process in softwere in middlewere?

Question2 : In Linux SDK, Upper layer that than Transport layer protocol is supported? (especially HTTP,FTP)

Thanks,

GR

  • Hello GR,

    AM62x does have generic Linux networking through the CPSW peripheral. HOWEVER, please note that the PRU Subsystem on the AM62x does NOT have Ethernet capabilities like the PRU subsystem on AM335x, AM437x, AM64x, AM65x. I would recommend looking at AM64x if the customer needs support for different Ethernet protocols through the PRU.

    For more information on CPSW Ethernet, start here: https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_06_00_42/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/CPSW-Ethernet.html

    For more information on the differences between the PRU subsystems on different processors, take a look here:
    https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_06_00_42/exports/docs/common/PRU-ICSS/Overview.html
    and https://www.ti.com/lit/sprac90

    Regards,

    Nick

  • Hi Nick

    Thank you to your information.

    I understood PRU-SS doesnot have capacity of processing ethernet protocol.

    And I have one more question.

    --

    In AM62 Linux SDK, generic networking purotocl had supported?

    Looks like TCP/IP.

    If supported, Could you let me document about suppoted protocol, and protocol stack document.

    --

    Thanks,

    GR 

  • Hello GR,

    AM62x CPSW Ethernet supports all the standard Linux Ethernet functionality (which I typically call "generic" Ethernet), as well as time sensitive networking (TSN, documented in the CPSW link in my first response). This standard Linux Ethernet functionality includes transmitting data with TCP or UDP packets.

    To the best of my knowledge, we do not support other industrial networking protocols on CPSW (e.g., EtherCAT, Ethernet/IP, Profinet, Profibus, etc). I am reassigning your thread to another team member more familiar with networking protocols in case you have followup questions.

    Regards,

    Nick

  • One clarification, device or slave side protocols is where ICSS is needed or beneficial. Most controller or master protocols just use standard Ethernet MAC features so AM62x CPSW based Ethernet is fine.

    AM62x Ethernet driver is a standard driver for the standard Linux networking stack. Which means in practice anything written for IP stacks is supported.

    Both ICSS and CPSW are implementations of an Ethernet endpoint, and can optionally also work as a HW bridge with 2 external ports. So layer 2. For some industrial protocols (device/slave) ICSS does do parts of higher layers, but the driver and stack architectures in those are not cleanly layered, but instead optimized for latency.

      Pekka

  • Hello Nick, Pekka.

    Thank you to your information.

    I understood that Linux SDK support generic Ethernet (looks like transporting date by TCP, UDP protocol), and driver/protochol stack archtechture is not cleanly layerd.

    My customer want to develop using generic ethernet protocol (Not industrial communication lools like EtherCAT, Ethernet/IP..) for user apprication.

    --

    If there is, Could you let me API guid for develop apprication that process TCP data transmit with using standard Linux networking stack.

    And In linux SDK, I think under layer of OSI Layer4 (including L4)(Looks like TCP/UDP) had supported, Are another layer protocol (Looks like HTTP,FTP) supported?

    Thanks,

    GR 

  • There is nothing TI specific, the same API and everything networking supported as with any modern Linux platform. The networking stack documentation like https://linux-kernel-labs.github.io/refs/heads/master/labs/networking.html applies.

    For application level like HTTP there is an example HTTP server and we have a browser support as well. All the upper level networking applications are user space, so one can add them without needing to build the kernel.

      Pekka

  • Hello Pekka

    Thank you to your information.

    I understand Upper MAC layer on generic ethernet protocol is in Linux platform.

    And protocol using in user space(looks like HTTP) is not depend on kernel ,and we can use.

    Best Regards.

    GR