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: Slave device is in Initialization state, it never goes to Operational state.

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hi Experts,

Good day.

I have an F28388D control CARD evaluation module and Code Composer 11.2. I am trying one of the EtherCAT examples in C2000. This is the CPU1 Echoback Demo example.
I follow instructions from the EtherCAT Slave Controller User Guide document. I copied the ESI file (F2838x CPU1 EtherCAT Slave.xml ) into the TwinCAT directory after I installed TwinCAT in my PC. I was able to program EEPROM and verified product code (0x3201) and Vendor ID (0x59D) by reading them.

However when the example is running in Code Composer, TwinCAT reports that the slave device is in the Initialization state, it never goes to the Operational state.

In TwinCAT I can see it recognized EtherCAT Box but I don't see any of the LEDs or switches as shown in the User Guide.



Keep safe.


Regards,

Josel

  • Hi Josel,

    After programming the EEPROM and following the instructions below to reconnect the device to TwinCAT you should be prompted about putting the device in "Free Run" mode. I believe Free Run needs to be active to bring the device up to OP mode for this example. Let me know how that works out.

    Alternatively if that doesn't work for some reason you can try running the 'CPU1 Echoback Solution Example' and follow the corresponding instructions.

    Best,

    Kevin

  • Hi Kevin,

    May I have the link to the CPU1 Echoback Solution Example?

    Reards,

    Josel

  • Hi Josel,

    You will need to follow the instructions for this example in the EtherCAT User's Guide within the C2000WARE installation. Directory locations for the document and SW solution are below:

    C:\ti\c2000\C2000Ware_4_01_00_00\libraries\communications\Ethercat\f2838x\docs

    C:\ti\c2000\C2000Ware_4_01_00_00\libraries\communications\Ethercat\f2838x\examples\f2838x_cpu1_echoback_solution

    Best,

    Kevin