Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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 uses emulated EEPROM

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hi Team,

Here's an issue from the customer may need your help:

When using TMS320F28388D (337pin), the IIC (GPIO 150 and GPIO 151) of the ESC is not connected to the EEPROM chip, so the emulated EEPROM is used.

1.When generating code using SSC, ESC_EEPROM_EMULATION is set to 1 and CREATE_EEPROM_CONTENT is set to 1.

2.After generating the code, add the processing function EEPROM_CommandHandler() to the ecatslv.c file.

3.After burning the program, scan to the box, and the following error occurs when TwinCAT updates the EEPROM.

4.When debugging the code, it is found that the value read by ALEventReg = HW_GetALEventRegister() is always 0x10, so the condition if ((ALEventReg & EEPROM_CMD_PENDING)) cannot be entered. Before we used Infineon's, it was possible to enter the condition if ((ALEventReg & EEPROM_CMD_PENDING)) when updating the EEPROM.

Ask for help:

1.Does EtherCAT of TMS320F28388D support emulated EEPROM?

2.Is there a demo of EtherCAT using emulated EEPROM for reference?

3.Why can't ALEventRegister read the EEPROM update event?

Thanks & Regards

Yale Li

  • Yale, 

    Kindly checkout the EtherCAT Slave Controller User Guide included in the C2000ware package: 

    C2000Ware_X_XX_00_00\libraries\communications\Ethercat\f2838x\docs

    The User Guide includes detailed steps explaining how to program the EEPROM using TwinCAT.

    Thanks.