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.

TMS320F28379D: How to use etherCAT on CPU2?

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software:

Hello,

I am currently using the TMS320F28379D and trying to use EtherCAT on CPU2.
I have set the predefined configuration for CPU1 on CPU1 and the predefined configuration for CPU2 on CPU2.

I believe there are issues in the following three files:

etherCAT_slave_c28x_hal.c
F2837xD_Emif.c
F2837xD_GlobalVariableDefs.c


Upon reviewing the errors, I found that these files restrict access using #ifdef CPU1, making them available only for CPU1, preventing their use on CPU2.

Since I need to use EtherCAT on CPU2, I am looking for a way to make this possible.
If you have any insights or solutions, I would greatly appreciate your advice.

The relevant files are located at:
controlSUITE\development_kits\TMDSECATCND379D_V1.0\TMDSECATCNCD379D_PDI_HAL_API\pdi_hal_test_app\hal

Thank you!