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