Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
2 years 9 months ago #291758 by cakeslob

Also, with apologies for splitting the thread topic, is there anything like a pre-rolled config to use with RPI 4 -> STM NucleoF411RE -> arduino cnc shield, and if not where should I start?


I dont have a nucleo 411 to test with, but it works with the blackpill
github.com/cakeslob/Remora/tree/nucleo_s...areBin/NUCLEO_F411RE

here is the docs

github.com/cakeslob/Remora-docs/blob/nuc...rdware/nucleo446.rst

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

More
2 years 9 months ago #291807 by gittawat
first of all, thanks you for making remora

i am currently setting up remora on skr 1.4 (LPC1768) rpi4  and HBS86H( hardware-cnc.nl/images/PDF/ACT/HBS86H_English_Manuel.pdf ) as the step motor driver.
so far i manage to get the remora_xyz.hal running and the step pulse show up on oscilloscope.
 

but i have not yet test the setup with  HBS86H driver yet since the driver require 5v-24v input so i am waiting for a logic level shifter

currently my only concern right now is about the direction change and step pulse timing

as in the timing diagram from datasheet, it shown that direction state need to be toggle at least 6 uSec before the next active step pulsing.
so my question is
"with my current setup,will remora toggle the direction pin at least 6uSec before next step pulse?"

with the oscilloscope i can see that one step pulse took 25 uSecs but i am not sure about how much early direction pin will be toggled when changing direction. i cant really test it because i have only one probe. 
accoding to sccota's reply from a post in Jul 2021, base thread took at least 8us to execute therefore direction pins will definitely be toggled at least 8us before next step pulse right?

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

More
2 years 9 months ago #291826 by scotta
There is no configuration setting for step and direction timing in the original Remora. I've used it like this for many years without issue. Remember, that on a direction change the velocity will be zero or close to it. So the likelihood of a step pulse being generated is very low.
The following user(s) said Thank You: gittawat

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

More
2 years 9 months ago #291849 by Lewis
Hurray!!!! After 8 days I've managed to get a version of Raspberry Pi OS, the prempt-rt patch, and Linuxcnc and linuuxcnc-dev on my 3B......Was picking at it daily while trying to read and absorb the documentation on it and Remora.....

So I guess the next step is to install the Remora stuff on Linuxcnc?

How's those cheap as chips boards coming along that you've been working on? Are they ready for a thick headed pensioner to make a version yet ? And what do I order as far as one of these "pill" things?

Cheers from sunny Canada,
Lewis

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

More
2 years 9 months ago #291996 by cakeslob

How's those cheap as chips boards coming along that you've been working on? Are they ready for a thick headed pensioner to make a version yet ? And what do I order as far as one of these "pill" things?

so far so good. nothing blew up in my face. both boards send steps/io over ethernet/rpi. so far a success. Few small errors with the silkscreen, I labeled some pins wrong. Ill get your details in the discord

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

More
2 years 9 months ago #292003 by Lewis
Good to hear ! I've never labeled silkscreen pins wrong.....(insert muffled laughter here).

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

Time to create page: 0.367 seconds
Powered by Kunena Forum