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.

AM3358: AVB implementation on PRU

Part Number: AM3358

We have an existing product that uses an AM335x Sitara processor and we have received a request to make the Ethernet interface AVB compliant.

From a video on the Texas Instruments website, it seems that it should be possible to load some firmware in the PRU to implement this (as opposed to a pure software implementation).  

Can you confirm that such an implementation is available from TI?

  • Hello Isabel,

    The PRU was developed to give sitara processors the flexibility to implement different ethernet communication protocols. The firmware implementing those protocols could be developed by TI, by a 3rd party partner, or by the customers themselves.

    Could you clarify what you mean by "AVB compliant"? For example, are there specific 802.x standards that are important to you? Were you wanting to use it with a specific protocol, like Profinet?

    The TSN standard itself is evolving and has many different potential standards that could be implemented. I can tell you that TI does not have any TSN firmware that is currently available for the AM335x, but we are actively developing TSN solutions for AM65x.

    Regards,
    Nick
  • Hi Nick

    Thanks for your quick response. Unfortunately I can't say anything about the specific protocols to be used but we are mainly interested in precise time synchronisation and traffic shaping.

    If TI does not have any TSN specific firmware for the AM335x, can you perhaps point me to any third parties that might have something like that?

    Regards

    Isabel
  • Hello Isabel,

    I dug around a bit more, and it looks like AM335x does not have the system resources to implement TSN with firmware on the PRU cores.

    I am checking if anything was ever done for CPSW with AVB. Do you have CPSW ethernet ports in your design?

    Regards,
    Nick
  • Hi

    Thanks, I appreciate that. We do have CPSW ports in our design

  • Update: I have not found evidence so far that TI or anyone else has implemented AVB with CPSW. However, I still need to check with some people who were on vacation this week. I'll have an answer or at least another update sometime next week.

    Regards,
    Nick
  • Hello Isabel,

    The TI CPSW is AVB compliant. That means it supports IEEE 1733 at the switch level. However, AVB requires a software stack. TI has not implemented any software stacks for AVB, but ExcelFore (a third party) has implemented an eAVB stack on our Jacinto line of processors (automotive grade processors in the same family as am57xx processors).

    Please check with ExcelFore to see if their stack also supports am335x.

    Regards,
    Nick
  • Hi Nick

    Thanks for all your effort, I will contact them

    Regards

    Isabel

  • FYI: I did find one more lead. It looks like there is some AVB reference code for J6 in TI's Vision SDK for TDA2x. I am not sure what would be required to port it to AM335x, or if it has all of the features you want for your AVB.

    The Vision SDK can be downloaded from www.ti.com/.../processor-sdk-tdax , and the AVB reference code in the installed vision SDK is under ti_components/networking/avbtp_0_10_00_00

    If you have follow-up questions about the Vision SDK, I can reassign this thread to someone from the automotive team.

    Regards,
    Nick