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.
Dear all:
One of my customer has a question about the hardware connect of EtherCAT, The latch and sync of ECAT are configured as follows; however, since ECAT is built-in in MCU, How should the external circuits of gpio125, gpio126, gpio127 and gpio128 be connected? Is it to suspend them?
GPIO_setPinConfig(GPIO_125_ECAT_LATCH0); GPIO_setPinConfig(GPIO_126_ECAT_LATCH1); GPIO_setPinConfig(GPIO_127_ECAT_SYNC0); GPIO_setPinConfig(GPIO_128_ECAT_SYNC1); GPIO_setDirectionMode(127, GPIO_DIR_MODE_OUT); GPIO_setDirectionMode(128, GPIO_DIR_MODE_OUT);
Hello
You don't need to bring these out to GPIOs. This is part of the example code for providing external input latch signals or viewing the SYNC output signals on scope.
I will add some comments on this in the code.
Best regards
Chris