Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
5 years 2 months ago #216839 by mhel

well let's do it, what do you have so far and where can i add to it?
 
Do you have the hardware already?
I can't really do much with my setup yet.

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

More
5 years 2 months ago - 5 years 2 months ago #216858 by gtt38
  Most 3D printer board manufacturers don’t use the right pin mapping of the chip. The chip is using software pwm to generate steps if the pin is not hardware pwm. I’m trying to use P2.0 to P2.5 for step generation with good results.
The step generation limitation could come from the SPI communication too slow maybe.

 
Last edit: 5 years 2 months ago by gtt38.

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

More
5 years 2 months ago #216905 by mhel

well let's do it, what do you have so far and where can i add to it?
 
I've uploaded my non-PRU version.
github.com/mhelmarc/Jaqueza-NC
Same issue, I can't figure out yet.
When coming from e-stop on first run
it goes idle but it works the on the second press of e-stop.

My observation is:
On first run after pressing the e-stop button on Axis, only the header PRU_READ
is sent and no payload. The controller assumes that there's data so it set SPIdata to true.
So the main loop try to change the state to ST_RUNNING, but there's actually no data
and becomes a sequence of errors so it goes idle again.
Still trying to figure out how to fix it, but other than that it seems stable.

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

More
5 years 2 months ago #216909 by gtt38
Hi thanks I’m gonna try. But can you upload the modded lib too ?

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

More
More
5 years 2 months ago #216912 by gtt38
So I was using the good one image missing /media/kunena/emoticons/smile.png
let’s try

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

Time to create page: 0.366 seconds
Powered by Kunena Forum