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.
Tool/software:
I want to use the CM (Control Module) to enhance the performance of EtherCAT communication.
Therefore, I have completed running the allocate_ecat_to_cm
file and then the cm_echoback_solution
.
However, I encountered an issue. I wrote my control code in the CM file, but I realized that the driverlib_cm
is different from CPU1.
So, I decided to withdraw this approach and create a separate file for CPU1.
At this point, I'm not sure whether I should write the control code in a separate file or in the allocate_ecat_to_cm
file.
Hi,
At this point, I'm not sure whether I should write the control code in a separate file or in theallocate_ecat_to_cm
file.
This should not make a difference which file you use, but it will certainly make a difference which processor core that you use.
By default, almost all resources in the MCU are owned by CPU1. If you wanted to run control code in the CM and use PWM or ADC for example, you would also have to use CPU1 to hand ownership of these resources to CM.
If you use CPU1, you do not have to give any extra resources to CM.
Best Regards,
Ben Collier
Thank you always for your kind answers.
Thanks to you, all my questions have been resolved.
I wish you all the best and may you always have good things happen to you.