LinuxCNC on Raspberry Pi 4

More
4 years 7 months ago - 4 years 7 months ago #237299 by elovalvo
Last edit: 4 years 7 months ago by elovalvo.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #237576 by Elco
Replied by Elco on topic LinuxCNC on Raspberry Pi 4
Is there any documentation about configuring the GPIO's? My X86 system died, and I am trying to switch to my RPi4B (8GB).
I managed on the RPi to install LinuxCNC 2.8.2 on an SSD. However the documentation in that kit is not related to GPIO's it seems. Also the latest version of the LinuxCNC_documentation.pdf does not mention them.

I installed the utility rpi-gpio, but have no idea what the generated output means. Are there any GPIO configuration examples?

Thanks,
Robert
 

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #237620 by elovalvo
Replied by elovalvo on topic LinuxCNC on Raspberry Pi 4
in this link you can find an example of configuration:

forum.linuxcnc.org/9-installing-linuxcnc...-io-pins-only#203365
The following user(s) said Thank You: Elco

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #238049 by andypugh
Replied by andypugh on topic LinuxCNC on Raspberry Pi 4
LinuxCNC has a driver for the Pi GPIO, but it is barely documented (and as it only builds at all when the target is the Pi it doesn't show up in the lists)

There is an example HAL file, and that's your lot. Sadly.

github.com/LinuxCNC/linuxcnc/blob/master...hal_pi_gpio_demo.hal

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #238345 by Deadtoxxic
Replied by Deadtoxxic on topic LinuxCNC on Raspberry Pi 4
Hy Gents.

Sorry for my late reply... Thank you for your help, Iam on the way to get a system running, but i still have a problem.

1. RPI4 4GB version booted from external SSD trough 3.0USB port. Using this OS: "2021-08-01_2021-05-07-realtimepi-buster-armhf-lite-0.6.0" from unofficialpi.
2. I installed the XFCE desktop with ( xserver-xorg xfce4 xfce4-goodies) .
3. Installing Linuxcnc Uspace from buildbot "linuxcnc-uspace_2.9.0~pre0.6129.g907754aa9_armhf.deb" 
4. Then I get this latency :( 

I tried it with SD card ( speed class 10) but the result is worse. Anyway i will use it with 7I76e, so achieve software step generation is not my target.
But i feel something is not working properly. Do you have any idea?
Anywhere in the forum i can see good latency results with RPI4 with realtime kernel combined with Uspace.

Thank You!
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #238387 by andypugh
Replied by andypugh on topic LinuxCNC on Raspberry Pi 4

Please Log in or Create an account to join the conversation.

Time to create page: 0.154 seconds
Powered by Kunena Forum