Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
5 years 3 months ago #215814 by scotta

Thank you Scott for your thorough reply, and many thanks also for this project.
  • inversion: I still didnt update the firmware with the new content but tried to use 1 instead of "True" and indeed the inversion works correctly. 
  • Steprate: ok so the maximum theoretical steprate Is coeherent with my experience, that's ok since I understand that your main target is 3D printers, the ability to use your project with a mill also very interesting. I lowered the steps per mm in the drivers configuration and lowered the maximum speeds and now the system is behaving Better. I still have to tinker with linuxcnc settings as I still have some overshoot problems.
  • Feature request: it would be nice to be able to access board sd card trough USB as a generic disk storage. That would simplify initial configuration testings, for example for headless setups like mine, since I'm using vnc and the sd is not very accessible. The file would be accessibile directly trough os.
  • Doc typo?: Is the period parameter in pwm component written as "Period" ? Since in the documentation Is reported as "Perioid". Maybe its a typo.

    thanks!
    Fabio
I've been frustrated with the USB MSD issue for a while. USB descriptor fails but I have no clue why. In Mbed this is an out of the box function even using the bare metal settings apparently. It would definitely help with rapid config development but rarely needed once config is done.

BR
Scott

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

More
5 years 3 months ago #215881 by Cncninja
So i didn't realize the step limitation of remora I thought the LPC could do 100k+.
My setup uses 1204 ballscreaws and 1/16 micro steps = 800Steps Per MM, I have a 30k rpm spindle and can cut @ 2000mm/m. based on the above 20khz limitation it will only drive it at a max of 1500mm per, is this correct?

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

More
5 years 3 months ago - 5 years 3 months ago #216408 by scotta

So i didn't realize the step limitation of remora I thought the LPC could do 100k+.
My setup uses 1204 ballscreaws and 1/16 micro steps = 800Steps Per MM, I have a 30k rpm spindle and can cut @ 2000mm/m. based on the above 20khz limitation it will only drive it at a max of 1500mm per, is this correct?
 

Hi, your calculations are correct. To get your 2000mm/min you would need a base thread frequency >55khz. Worth a try but you would need to update the configs and compile the Remora component and firmware to test. As long as the base thread can execute and have some free time for other threads within the thread period it should work.

BR
Scott
Last edit: 5 years 3 months ago by scotta.

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

More
5 years 3 months ago - 5 years 3 months ago #216425 by Bari
Can't the LPC17xx handle higher real time thread rates? OH! Maybe not , only 100/120 MHZ ARM core.
www.nxp.com/products/processors-and-micr...ackage:LPC1768FBD100

We should be able to fix this using STM32.
Last edit: 5 years 3 months ago by Bari. Reason: more stuff to say

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

More
5 years 3 months ago #216453 by Cncninja
LPC17XX can do much faster step rates ??? where is the bottleneck. What's the point of 25khz the built-in I/O of the RPI can do that.

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

More
5 years 3 months ago #216456 by Cncninja
I have 2 Mach 3 boards with STM32f103 that can do 100khz X4. Has there been any thought on migrating a Teensy 4.1 over there is full GRBL32HAL boards CNC boards made already. I have one in my Laser insane step rates for raster. they have a 600mhz CPU. and full HAL configs based off of LinuxCNC. how hard would it be to make the HAL file work with Linuxcnc. ?

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

Time to create page: 0.418 seconds
Powered by Kunena Forum