AM2732: gPTP + LwIP support?

Part Number: AM2732

Hi,
Some months ago I tried to add support for gPTP using the examples provided at https://software-dl.ti.com/mcu-plus-sdk/esd/AM273X/latest/exports/docs/api_guide_am273x/EXAMPLES_ENET_CPSW_TSN_GPTP_TR.html

I need to have a gPTP slave while also using the LwIP stack.
I am not sure but I was convinced that the source of my problems was related to:

Limitation

Due to AM273x CPSW limitation, it is not possible to clasify the packets based on ethernet frame type and direct it to different Rx Flow / channel. Hence a single Rx DMA channel is shared among multiple applications, including gPTP stack.

Can someone confirm or deny that gPTP + LwIP is possible on AM2732?
Thanks

  • Hi Andrea,

    AM273x does have support for packet classification based on ethertype, which is part of CPSW specification. We can configure additional rx flows than the default flow, and route the PTP traffic to a different Rx flow, which will only handle gPTP.

    Please let us know if you need further support enabling this.

    Thanks and regards,
    Teja.

  • Hi Teja,
    Thanks for the quick response.
    I don't understand, I took the limitation message from the bottom page of the link I sent, and it's saying the opposite of what you say.
    Meaning that AM273x does NOT have support for packet classification based on ethertype.
    Can you confirm that the docs are incorrect?

  • Hi Andrea,

    After a re-check, AM273x supports Mulitple Rx channels, but the classification to specific flows is not supported. So, receiving gPTP packets on a separate rx flow is not supported. This support has been added to in later products starting.

    Thanks and regards,
    Teja.