rp1lib - user space driver for the RP1 chip
- scotta
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 889
- Thank you received: 464
19 Oct 2024 23:59 #312637
by scotta
rp1lib - user space driver for the RP1 chip was created by scotta
People may have been wondering why I have been a little quiet on the forum of late and that pull requests to Remora have been slow to be merged. Well, I've been working away on getting SPI on the Raspberry Pi 5 working so that we can support the SPI version of Remora. I'm now happy to share where things are up to.
github.com/scottalford75/rp1lib
The BCM2835 library was the inspiration, a library that gave access to all the chip peripherals. Hopefully the rp1lib can become the start of something similar.
Rather than reinventing the wheel, the library utilises the gpiochip_rp1 library for GPIO and I've adapted the kernel Designware driver for user space.
Next step is to update the Remora component, which is not too far off as I've got the RPi version detection working already.
github.com/scottalford75/rp1lib
The BCM2835 library was the inspiration, a library that gave access to all the chip peripherals. Hopefully the rp1lib can become the start of something similar.
Rather than reinventing the wheel, the library utilises the gpiochip_rp1 library for GPIO and I've adapted the kernel Designware driver for user space.
Next step is to update the Remora component, which is not too far off as I've got the RPi version detection working already.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19419
- Thank you received: 6513
20 Oct 2024 00:37 #312638
by tommylight
-Pinned to find easily.
Thank you for everything.
P.S.
Why rp1lib? Why not rp5lib?
Just wondering, as i am not into RPI for quite a while.
Replied by tommylight on topic rp1lib - user space driver for the RP1 chip
I know i have.People may have been wondering why I have been a little quiet on the forum of late ...
-Pinned to find easily.
Thank you for everything.
P.S.
Why rp1lib? Why not rp5lib?
Just wondering, as i am not into RPI for quite a while.
Please Log in or Create an account to join the conversation.
- scotta
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 889
- Thank you received: 464
20 Oct 2024 04:41 #312648
by scotta
Replied by scotta on topic rp1lib - user space driver for the RP1 chip
Getting closer. The remora-spi LinuxCNC component can now:
1. Detect the RPi 5 and initialise the RP1 SPI
2. Can come out e-stop! Comms are up when testing with an Octopus board, but getting some errors reported
Need to play with speed settings etc to see if that helps.
Getting very close now
1. Detect the RPi 5 and initialise the RP1 SPI
2. Can come out e-stop! Comms are up when testing with an Octopus board, but getting some errors reported
Need to play with speed settings etc to see if that helps.
Getting very close now
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 3960
- Thank you received: 1714
20 Oct 2024 05:23 #312649
by Aciera
www.raspberrypi.com/news/rp1-the-silicon...ere-at-raspberry-pi/
Replied by Aciera on topic rp1lib - user space driver for the RP1 chip
It's what the new chip is called that controls the IO on the Rpi5Why rp1lib? Why not rp5lib?
www.raspberrypi.com/news/rp1-the-silicon...ere-at-raspberry-pi/
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19419
- Thank you received: 6513
20 Oct 2024 08:46 #312651
by tommylight
Replied by tommylight on topic rp1lib - user space driver for the RP1 chip
Cornholio is going to be very happy!
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds