- Posts: 926
- Thank you received: 280
Remora - Rpi Software Stepping Using External Microcontroller via SPI
3 years 11 months ago #256141
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Ok, if you already have one, and your down to clown,
github.com/scottalford75/Remora/blob/dev...ra-OS5/main.cpp#L122
Observe the SD/comms for the different boards. you will probably need to make similar changes for your board and maybe make a new target file, then recompile in mbed
github.com/scottalford75/Remora/tree/dev...areSource/Remora-OS5
github.com/scottalford75/Remora/blob/dev...ra-OS5/main.cpp#L122
Observe the SD/comms for the different boards. you will probably need to make similar changes for your board and maybe make a new target file, then recompile in mbed
github.com/scottalford75/Remora/tree/dev...areSource/Remora-OS5
Please Log in or Create an account to join the conversation.
3 years 11 months ago #256253
by sinneD
Replied by sinneD on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
any idea if Remora with Raspi4 will be fast enough to read linear encoders for postion feedback, given enough I/O pins?
Please Log in or Create an account to join the conversation.
- drewnabobber
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 27
3 years 11 months ago #256255
by drewnabobber
Replied by drewnabobber on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Yes, this is no problem if you are using the dedicated quadrature/timer pins. We have tested this on the Flexi-HAL with the encoder input and it can read at quite high speeds. The issue is finding or building a board with enough encoders wired up (Flexi only has 1 for spindle sync)
Please Log in or Create an account to join the conversation.
3 years 11 months ago #256256
by Bari
Replied by Bari on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
These 3D printer boards don't include much IO for encoders since they don't typically use servos or closed loop steppers, or at least don't close the loop in the IO board. Making low cost IO boards is not a problem once stm32 availability returns or if we get RP2040 (Rpi Pico) or the i.MX RT1050 works out well.
www.raspberrypi.com/products/raspberry-pi-pico/
forum.linuxcnc.org/18-computer/44828-rem...-cnc-board?start=550
www.raspberrypi.com/products/raspberry-pi-pico/
forum.linuxcnc.org/18-computer/44828-rem...-cnc-board?start=550
Please Log in or Create an account to join the conversation.
- drewnabobber
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 27
3 years 11 months ago #257131
by drewnabobber
Replied by drewnabobber on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
For an example of modifying Remora to work with a static config, the modified fork for the Flexi-HAL board is now public:
github.com/Expatria-Technologies/remora-flexi-hal
github.com/Expatria-Technologies/remora-flexi-hal
The following user(s) said Thank You: tommylight, cakeslob
Please Log in or Create an account to join the conversation.
3 years 11 months ago #257188
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hey Drew, thats some pretty good stuff you got there.
Looking through some of the stuff, the config stuff looks pretty good. its easy to understand so I like it. I bet we can merge it into regular remora by making it a target compile flag based thing or maybe a target specific fallback for no sd config.
I am curious about the other stuff though and specifically 446. I have issues with my 446 boards, so I would find your insights valuable. The other changes, I see the enable thing in stepgen, and something with the pru, but if you could elaborate for me....
I did a thing to compare the 2
github.com/cakeslob/Remora/compare/devel...lob:Remora:flexi-hal
Looking through some of the stuff, the config stuff looks pretty good. its easy to understand so I like it. I bet we can merge it into regular remora by making it a target compile flag based thing or maybe a target specific fallback for no sd config.
I am curious about the other stuff though and specifically 446. I have issues with my 446 boards, so I would find your insights valuable. The other changes, I see the enable thing in stepgen, and something with the pru, but if you could elaborate for me....
I did a thing to compare the 2
github.com/cakeslob/Remora/compare/devel...lob:Remora:flexi-hal
Please Log in or Create an account to join the conversation.
Time to create page: 0.374 seconds