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: Ethercat mailbox interchange slave example

Part Number: TMS320F28388D

Hi,

I'm working with echoback solution samples and it works well to access the IO's mapping from the master.

The thing is that I need to implement a mailbox interchange to pass string messages from master to slave, and I couldn't find any mailbox example at TI libs, nor cloud, nor C2000 Ware.

I mean to use SM 0 and 1 (not 2 and 3)

I guess that the SM0 and 1 are already configured in SCC to pass 128 bytes length and should work on echoback samples, but there I suspect they are not in use.

I'd see all the video tutorials too, but no one talk about mailboxes implementation to data interchange

I'd really appreciate your help.

Thanks in advance.

Pablo Slavkin

  • Hi Pablo,

    The echoback solution demonstrates what's summarized below. Are you wanting to use CoE?

    // This reference solution demonstrates usage of the EtherCAT stack using
    // CAN-over-EtherCAT (CoE) mailbox protocol to perform a basic loopback of
    // data received from the EtherCAT master and then transmitted back to the
    // master.

    If you're wanting to work off the example solution and make changes to the SSC configuration / tool then you will need to reference Beckhoff and ETG's collateral. They have quite a few documents and I'm not sure what the best one for you to reference is right now. If I find docs that are useful to your specific questions I will mention here.

    Best,

    Kevin

  • Hi Kevin,

      Yes, I'm using CoE and despite your mention about mailbox protocol, the fact is that the echoback sample only use PDO, switches, leds, and integer datas using SyncManager (SM) 2 and 3 but none use SM 0 and 1 for data array, ping pong buffers, etc.

     I'm trying to found some code that use those SM 0 and 1 without success, and it's taking me too much time to understand the bekoff code to make them work.

    I do looked at bekoff sites and friends without success yet.

    The ideal solution for me should be a sample similar to echoback from TI, but with the addition of mailboxes  SM0 and 1.

    I'll be here if you find something that could help me.

    Thanks in advance.

  • Hi Pablo,

    I think SDOs and Mailboxes are further configured using the SSC tool, related links below. I think the ETG folks could assist you better than I could if you want to try posting on their member's forum or emailing them. They're more of the experts on these things.

    SSC Tool Page

    EtherCAT Slave Design | Quick Guide

    Best,

    Kevin