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.

TIDM-DELFINO-ETHERCAT: Sample EtherCAT application on F28379D.

Part Number: TIDM-DELFINO-ETHERCAT
Other Parts Discussed in Thread: CONTROLSUITE, TMDSECATCNCD379D

Hello everyone!

I own eveything what I need to run EtherCAT applications - TIDM-DELFINO-ETHERCAT modules, F28379D-LaunchXL launchpads and - what's most important - I am a member of ETG and I do have SSC tool to generate stack source code. But... I really have no idea how to link everything and run sample EtherCAT application, e.g. LED blinking on launchpad which is controled by TwinCAT. I would like to ask you - do you have ANYa sample EtherCAT application? I don't want you to share stack source code (because I have it). I just want to see how to run it on LaunchPad.

BR,

Dawid.

  • Dawid,

    Please refer to this user guide - SPRUIG9, provided in controlSuite C:\ti\controlSUITE\development_kits\TMDSECATCND379D_V1.0.
    In controlSuite, we provided SSC tool patches for SSC v5.11, this is explained in section 3. This patches when applied can generate C28 etherCAT slave stack code along with a sample application code and this is explained in section 4.

    With the generated code, how one can link this with-in a CCS project is explained in section 5, 6,7. How to communicate with the built slave node is in section 8.

    From the below forum post, I believe you have a launch pad solution working. You will have to migrate the above CCS project to LaunchPAD. Or do similar modifications to the above project that you did before.

    e2e.ti.com/.../631455


    If you have a TMDSECATCNCD379D kit with you that will help you cross-check with Launch PAD set up. BTW which version of Launch PAD are you having now?

    Best Regards
    Santosh Athuru
  • Santosh,

    thank you for the reply. I don't have TMDSECATCNCD379D. My launchPad version is 1.1 and I launched HAL example project which is provided with TIDM-DELFINO-ETHERCAT.
  • Dawid,
    ok, for what you are looking for next, it is time to look at SW collateral and documentation provided in C:\ti\controlSUITE\development_kits\TMDSECATCND379D_V1.0

    with what you have leaned from past example with TI Design, you should be able to get more SW working on your set up.

    Best Regards
    Santosh Athuru
  • Santosh,

    with your help I run EtherCAT example on my LaunchPad. Thank you very much :) Now I can focus on EtherCAT communication strictly.

    In  the TwinCAT I can see that communication between PC and LaunchPad is about 500 frames per second. What should I do to increase speed to e.g. 10 000 frames per second?

  • Dawid,

    thanks for the feedback.

    For what you are asking it should be done on TwinCAT, can you look for TwinCAT support? I'm also still learning on the EtherCAT Master side, especially TwinCAT, I will post here if I find something.

    Best Regards

    Santosh Athuru

  • Ok, I will look for. Could you tell me how fast SPI is in TI example?

  • Dawid,
    SPI is configured at 20MHz, but there are some delays incurred in the transmission of bytes as you can see in the HAL provided. We are mainly gated by ET1100, the ET1100 data sheet should have the info you are looking for on SPI transactions.

    Best regards
    Santosh Athuru