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.

AM2434: Ethercat slave (process all traffic)

Part Number: AM2434

Hi,

I have a question regarding the ethercat slave funcitonality of the AM2434.

Normally an ethercat slave device only processes a small portion of the ethercat data traffic.

Would it be possible to eaves-drop all ethercat packet information and make that available on PCIe bus for analysis?

I would like to know whether there is a callback function to hook into to forward all packets internally on the PCIe bus.

best regards,

Tom

  • Hi Tom,

    Thanks for your query, allow me some time to look into this request and also check with our team internally.

  • Hi Tom,

    It would be possible using a custom firmware with autoforward enable and snoop packets via RX L2 and transmit over PCIe. Our HW supports this functionality. It will be up to customer digression to implement the custom  firmware. We do not have plans to support this in SDK

  • Hi Nilabh,

    Thank you for the suggestion, this really helps.

    I was wondering on alternative solution:

    What if the internal 3-port switch (CPSW3G) is configured as hub (eg forward all traffic to all ports) and the device is placed between ethercat master and first ethercat slave device. Would I be able to listen to all traffic on the internal ethernet port through standard network handling?

    It seems the enet_l2_cpsw_switch demo is doing exactly this. I only need to disable the internal loop-back traffic on the input port.

    software-dl.ti.com/.../EXAMPLES_ENET_LAYER2_CPSW_SWITCH.html

    With cut-tru enabled this should be low latency enough for ethercat applications?

    best regards,

    Tom

  • Hi Tom,

    It seems like a feasible solution, but it has not been validated on our end. You can go ahead and try it.