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.

TMS320F28388D: IEEE 1588 Usage in Control & Automation

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Dear All,

Thanks to TI,  for you put Ethernet and EtherCAT interface to C2000. I have a few basic questions. It would be great if you answer.

  • EtherCAT interface in the new TMS320F28388D is Slave Controller? Not master?
  • One port Ethernet interface in the new TMS320F28388D is seen as IEEE 1588 supported. Could you a little explain the usage of IEEE 1588 in a control & automation work. I know that there is an master clock where shared the nodes over Ethernet. Say it is Precision Time Protocol. It is used to synchronize the many nodes over an Ethernet Network. What's the use of synchronizing all these nodes? Probably here is not correct forum this question, but it is important for new TMS320F28388D. Can you tell me the benefits of IEEE 1588 at the application level? (i.e: in a control & automation application) Can I use the IEEE 1588 for making the standard Ethernet to be deterministic & a 'level' of real-time?  In the EtherCAT option, I need an EtherCAT master. However TMS320F28388D EtherCAT interface is probably slave controller? So, IEEE 1588 supported standard Ethernet might be better. 

Thank you.

  • Hello

    F28388D is an EtherCAT slave only. If you looking to sync multiple nodes that is deterministic and with minimal jitter, EtherCAT is probably best option but I'm not very familiar with standard Ethernet offerings.

    You can find more information on EtherCAT here: http://www.ethercat.org/

    I've added an Ethernet expert for Ethernet related questions.

    Best regards

    Chris

  • Dear ,

    Thank you. So I need an EtherCAT master to communicate with the F28388D. I know that there is no option to communicate two EtherCAT slave, right? 

    Thanks for adding an Ethernet expert. I need a little guide for F28388D' s IEEE 1588 option usage in a real-time control & automation system. Could I obtain some level of real-time communication & determinism with IEEE 1588 in F28388D? IEEE 1588 is used for clock synchronization. But what is application level benefits of F28388D's IEEE 1588? It would be great if you can make clear this point. 

    Thank you. 

  • For EtherCAT you need a master on the network, you can't just have slaves.

    Best regards

    Chris

  • For this reason,  instead of put an complex EtherCAT master into the network, IEEE 1588 may be sufficient for my application. I can say that I dont need for a really tight real-time and determinism as in EtherCAT. If I can obtain some level of real-time behavior and determinism on the standard Ethernet by using IEEE 1588, it may be enough for my application. So, is there an application note or reference design about the IEEE 1588 usage in control & automation technologies? It would be great a little guide. 

  • Hi,

    The F28388D device supports IEEE 1588 timestamping and related operations and hence if it is configured in "slave" mode, it's capable of synchronizing the time with any IEEE 1588 Master clock connected to the network.

    Note that the device is capable of achieving time synchronization with PTP packets which are exchanged directly over Ethernet. There are features like "ptp offloading" to increase time precision.

    There is also an open-source Precision Time Protocol Daemon (PTPd) application which achieves time synchronization through only software. But software introduces limits to the precision in time synchronization that can be achieved.

    The latest C2000Ware package contains examples for both of these scenarios. I would suggest you start from there.

    Regards,

    Sudhakar

  • Hello,

    The device F28388D support EtherCAT slave interface. This is good. But this time you need an EtherCAT Master, which is a little more complex device w.r.t to an EtherCAT slave. Even you may need an RTOS on your EtherCAT master and an EtherCAT master stack software. Instead of this, It may be much more feasible trying F28388D device' s standard Ethernet (IEEE 1588 supported) interface for non hard real-time control & automation works. I want to learn whether TI supports free UDP/IP stack for F28388D device' s standard Ethernet interface?

    Thank you.

  • You will also find an open source lwIP network stack port on this device which is provided as part of the C2000Ware package.

    Go to C2000Ware installation folder and then navigate to "libraries\communications\Ethernet\third_party".

    Regards,

    Sudhakar

  • Hello,

    I cannot find the folder "libraries\communications\Ethernet" in the current 1.03.00.00 version C2000Ware package. There are PMBus and usb folders under communications, but no Ethernet. Maybe the current C2000Ware version does not support the F28388D device's Ethernet interface, yet?

    Thank you.

  • Dear Sudhakar,

    Sorry, I have installed the wrong package.

    Now I have installed the correct package and found the "libraries\communications\Ethernet" folder.

    Thank you.