Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
12 Feb 2024 00:32 #293119 by cakeslob
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.

More
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
Attachments:

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

More
03 Aug 2024 03:52 #306825 by scotta
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.

More
21 Aug 2024 14:55 #308298 by iforce2d
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.

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

More
21 Aug 2024 20:37 #308341 by scotta
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.

More
14 Oct 2024 15:36 #312069 by 3dtech_ks
SKR 1.4 uses LPC1768

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

More
14 Oct 2024 18:40 #312088 by cakeslob
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.

More
24 Oct 2024 21:32 #313156 by scotta
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:
  1. The RPi 5 has 5 SPI instances available on the header
  2. Each SPI instance has a choice of 2 - 4 chip select GPIO pins
  3. Different method to configure frequency
For those that wish to test, remember this is a Beta version. Bugs may still be present.
 
The following user(s) said Thank You: tommylight, pocovolvedor

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

More
26 Oct 2024 01:46 #313236 by cakeslob
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.

More
26 Oct 2024 21:50 #313267 by scotta
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.

Time to create page: 0.155 seconds
Powered by Kunena Forum