EtherCAT on Raspberry Pi 5
- zmrdko
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 166
- Thank you received: 41
14 Mar 2024 08:51 #295882
by zmrdko
EtherCAT on Raspberry Pi 5 was created by zmrdko
Hi,
few weeks ago, I have gotten myself new rpi5, since I liked promised performance leap and preliminary latency tests looked awesome. I wanted to run 8kHz servo thread to match my Delta ASD-B3-E cycle time. Even though the ethernet chips on rpi4 and rpi5 are the same, rpi5 uses different driver - macb.
This means, that for now, you can only use generic ethercat driver, which is only able to run at 1kHz.
To run ethercat on rpi5 at higher rates, we need macb driver ported to ethercat.
So we are looking for someone, who is able and willing to do this. I compared source files for some drivers, which have been already ported with original drivers, and there are not many differences. Mostly some repeating IFsā¦
Thread link with more details on this issue:
Gitlab
few weeks ago, I have gotten myself new rpi5, since I liked promised performance leap and preliminary latency tests looked awesome. I wanted to run 8kHz servo thread to match my Delta ASD-B3-E cycle time. Even though the ethernet chips on rpi4 and rpi5 are the same, rpi5 uses different driver - macb.
This means, that for now, you can only use generic ethercat driver, which is only able to run at 1kHz.
To run ethercat on rpi5 at higher rates, we need macb driver ported to ethercat.
So we are looking for someone, who is able and willing to do this. I compared source files for some drivers, which have been already ported with original drivers, and there are not many differences. Mostly some repeating IFsā¦
Thread link with more details on this issue:
Gitlab
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23310
- Thank you received: 4858
16 Mar 2024 10:26 #296042
by andypugh
Replied by andypugh on topic EtherCAT on Raspberry Pi 5
Does the Pi5 have good enough latency for an 8kHz servo thread? I haven't looked recently.
Please Log in or Create an account to join the conversation.
- cornholio
- Offline
- Platinum Member
Less
More
- Posts: 996
- Thank you received: 348
16 Mar 2024 11:17 #296050
by cornholio
Replied by cornholio on topic EtherCAT on Raspberry Pi 5
I think someone tested one with a 35us (yes 35) (yes us) servo thread.
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=170#295779
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=170#295779
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17869
- Thank you received: 4776
16 Mar 2024 14:36 #296066
by PCW
Replied by PCW on topic EtherCAT on Raspberry Pi 5
Note that a 35 usec servo thread is no different than a 35 usec
base thread as far as the latency tests go, since the latency
test doesn't actually do anything, it really just tests dispatch latency.
base thread as far as the latency tests go, since the latency
test doesn't actually do anything, it really just tests dispatch latency.
Please Log in or Create an account to join the conversation.
- routerman22
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 8
21 Mar 2024 14:11 #296470
by routerman22
Replied by routerman22 on topic EtherCAT on Raspberry Pi 5
Perhaps ask on the rpi forum?
Please Log in or Create an account to join the conversation.
Time to create page: 0.091 seconds