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.

AM5729: Data replacement from PORT of "PRU-ICSS-Profinet_Slave_01.00.03.04"

Part Number: AM5729

Hi,

I am building a sample environment for PROFINET at "PRU-ICSS-Profinet_Slave_01.00.03.04"  (IRT).

The environment is as follows:

・PRU-ICSS-Profinet_Slave_01.00.03.04
・processor_sdk_rtos_am57xx_5_01_00_11
・ccs_8.1.0.00011
・XDC_TOOLS_VERSION=3.50.07.20
・SYS_BIOS_VERSION=6.73.00.12
・NDK_VERSION=3.40.01.01
・EDMA_VERSION=2.12.05.30


We are developing am572x PROFINET IRT(LAN 1PORT) based on this sample.
Each stack is the same as the sample.

Two LAN PORTs are supported in the sample. (PORT1 / PORT2)

The HW we are developing uses only this PORT2 side to make it a 1PORT PROFINET product.

Therefore, I would like to treat the data communication with the PORT2 side of the sample environment as the data communication with the PORT1.

A block diagram is attached.

By exchanging Linkup informPORT replacement question AM572x .xlsxation etc. between PORT1 and PORT2, "RT" communication has become possible.
But, "IRT" communication is not possible.

Q1. Is IRT communication feasible under the above conditions (replacement of LAN PORT1 and LAN PORT2)?

Q2. (Q1 If yes,) Where should I change?

Thank you for your confirmation.

Best regards,
Eiji

  • Hi,

    I'm sorry, the attached part has shifted...

    The following is correct.

    ==============================

    By exchanging Linkup information etc. between PORT1 and PORT2, "RT" communication has become possible.
    But, "IRT" communication is not possible.

    ==============================

    Best regards,
    Eiji

  • Hi Assignee,

    Could you please share your current status for this topics?

  • Hi Eiji,

    Sorry for the delay.

    I took a look at your requirement based on the XLS you had shared earlier. I am adding it again here for clarity.

    8838.PORT replacement question AM572x.xlsx

    So you want both PRU's to transmit data to only one physical port (PORT2), correct ?

    In current firmware

    PRU0 reads from Port 1 and writes to Port2

    PRU1 reads from Port 2 and writes to Port 1.

    As you can see the responsibilities are segregated and what you are asking for will require modifying the firmware to add arbitration as both PRU's are reading and writing to the same firmware. This will be quite complicated and challenging and we do not support such an activity.

    A simpler solution would be to just disable Port 1 in software so it's not receiving and nothing is being transmitted on it. But I am not sure if it will fit your requirement.

    Regards

    Vineet

  • Hi Vineet,

    Thank you for your answer.

    > In current firmware
    > PRU0 reads from Port 1 and writes to Port2
    > PRU1 reads from Port 2 and writes to Port 1.

    ->I may have misunderstood...

    The block diagram has been newly updated.
    Attach the file.

    PORT replacement question AM572x_2.xlsx


    Is the figure of "TMDSIDK574x" correct?

    > So you want both PRU's to transmit data to only one physical port (PORT2), correct?

    -> Yes, that's right.

    > A simpler solution would be to just disable Port 1 in software so it's not receiving and nothing is being transmitted on it.

    ->I swapped the send / receive data information of PORT2 and PORT1 in the driver layer.
    (Please refer to "Our developed product" in the attached figure.)
    This enables IRT communication using SIEMENS Step7.

    I think this response fits your advice above.

    If you have any concerns, I would appreciate it if you could teach me.

    Thank you for your confirmation.

    Best regards,
    Eiji

  • Hi,

    >Is the figure of "TMDSIDK574x" correct?

    Yes, that's correct.

    Are you able to achieve what you need ? I see that you mentioned enabling IRT communication.

    Or are you still waiting for changes ? If PORT1 is not pinned out on your product then you will not receive anything from it. You just need to make sure that you are not transmitting anything on that port. That is all that is required I think.

    Regards

    Vineet

  • Hi Vineet,

    Thank you for your answer.

    > Are you able to achieve what you need ? I see that you mentioned enabling IRT communication.

    -> Yes. It is possible.
    We really appreciate your cooperation.

    I will close this question.

    Best regards,
    Eiji