- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 784
- Thank you received: 229
12 Feb 2024 00:32 #293119
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
depends which version but yeah. i did most of my work on octopus and nucleo f446 and assumed the encoder pins would be the same. when i went to check the pcbs i made is when i found out. software encoder will work though
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 784
- Thank you received: 229
16 Feb 2024 01:02 #293475
by cakeslob
rev 0.35
- fixed hardware encoder pins
- removed stm32f1 support to better support f411 (for now at least)
- shuffled around the pins a bit
- added support for 2209 (because its 2024 , so i should get with the times, i guess)
- added sd card support , otherwise 2209 support would be a pain
if 2209 and sd card dont work, or become a pain, i will just revert back to the old simple design
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
rev 0.35
- fixed hardware encoder pins
- removed stm32f1 support to better support f411 (for now at least)
- shuffled around the pins a bit
- added support for 2209 (because its 2024 , so i should get with the times, i guess)
- added sd card support , otherwise 2209 support would be a pain
if 2209 and sd card dont work, or become a pain, i will just revert back to the old simple design
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
Less
More
- Posts: 881
- Thank you received: 462
03 Aug 2024 03:52 #306825
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
It's very very early days, but I've managed to send SPI packets on a RPi 5 from LinuxCNC using the low level RP1 memory mapped peripheral. Hopefully we can get RPi 5 support for Remora up and going.
The following user(s) said Thank You: Bari, tommylight, cakeslob, iforce2d
Please Log in or Create an account to join the conversation.
- iforce2d
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 15
21 Aug 2024 14:55 #308298
by iforce2d
Replied by iforce2d on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I came across this a while ago, have not looked into it though:
github.com/praktronics/rpi5-rp1-spi
Sounds like it's probably a bit late now to help you out much, but just thought I would mention it anyway.
github.com/praktronics/rpi5-rp1-spi
Sounds like it's probably a bit late now to help you out much, but just thought I would mention it anyway.
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
Less
More
- Posts: 881
- Thank you received: 462
21 Aug 2024 20:37 #308341
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
In fact, it is that exact work that has got me started. A great starting point to build from.
Please Log in or Create an account to join the conversation.
- 3dtech_ks
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
14 Oct 2024 15:36 #312069
by 3dtech_ks
Replied by 3dtech_ks on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
SKR 1.4 uses LPC1768
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 784
- Thank you received: 229
14 Oct 2024 18:40 #312088
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I think the remora w5500 firmware is only for stm32, and not for the LPC1768/9
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
Less
More
- Posts: 881
- Thank you received: 462
24 Oct 2024 21:32 #313156
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Raspberry Pi 5 support
As you may have seen in the rp1lib thread, I've been working on RPi 5 SPI support for LinuxCNC. It's ready for some testing and feedback!
github.com/scottalford75/Remora/tree/mai...omponents/Remora-spi
This version of the Remora component will detect which Raspberry Pi version it is running on and load the appropriate SPI and GPIO drivers, BCM2835 or rp1lib.
For the Raspberry Pi 5 there is future features that will need to be added to the loadrt command line:
As you may have seen in the rp1lib thread, I've been working on RPi 5 SPI support for LinuxCNC. It's ready for some testing and feedback!
github.com/scottalford75/Remora/tree/mai...omponents/Remora-spi
This version of the Remora component will detect which Raspberry Pi version it is running on and load the appropriate SPI and GPIO drivers, BCM2835 or rp1lib.
For the Raspberry Pi 5 there is future features that will need to be added to the loadrt command line:
- The RPi 5 has 5 SPI instances available on the header
- Each SPI instance has a choice of 2 - 4 chip select GPIO pins
- Different method to configure frequency
The following user(s) said Thank You: tommylight, pocovolvedor
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 784
- Thank you received: 229
26 Oct 2024 01:46 #313236
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
anyone looking to use the new thing with RPi5, keep in mind, you need to use the new firmware also. Right now Ive added a precompiled firmware for octopus446 and more will be added later but you can compile your own in the meantime
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
Less
More
- Posts: 881
- Thank you received: 462
26 Oct 2024 21:50 #313267
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Yes, good point cakeslob. The new component includes the spike filter and relies on the raw count feedback from the controller board, not the DDS accumulator value. A good opportunity to migrate to OS6 firmwares and legacy the OS5 versions.
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Time to create page: 0.155 seconds