Hi,
thanks for the information, I had to make a bit more sense of it with the EtherCAT documentation. Not sure if this is exactly what I need as at the moment I just try to speed up the EtherCAT process to capture more reliably the encoder pulses without crashing the EtherCAT and my application. At the moment, not sure time synchronization would improve the encoder reading.
However I was wondering, on the EtherCAT point of view, if using a native Ethernet device driver instead of the generic ethernet device driver could increase the performance as indicated in the EtherCAT documentation. So I could decrease the appTimePeriod in the .xml configuration. When I do the lspci command I got:
01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
02:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
But I cannot make any link with the list of drivers available on the Etherlab website driver list:
etherlab.org/en/ethercat/hardware.php
. If anyone could point me in the right direction, I could try the relevant native Ethernet device driver and run more test to see if I can lower the appTimePeriod without struggle.
Thank you,
Nicolas
PS: after testing lowering the appTimePeriod, under the generic ethernet device driver, I manage to go to 500000ns, under I got some data frame skipped when I do dmesg. I am still a bit far from what I could maybe expect from the EtherCAT manual: they take an example of 2GHz system where they reach 25KHz where I am standing at 2KHz for 1.5GHz system CPUs. The big difference might come from the generic ethernet device driver.