Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
02 Oct 2023 14:36 #282067 by cakeslob
Hey iforce2d, I saw your machine on hackaday this weekend. Lookin good

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

More
11 Oct 2023 08:45 #282733 by virencq
Hello Cakeslob,
Will DMAstepgen work with your static branch, are you planning to implement it.
Will definitely boost performance I guess.

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

More
12 Oct 2023 18:24 #282825 by cakeslob
Hey Viren, 

yes, it would be nice, but Im under the impression that we are not able to do it.

www.forum.linuxcnc.org/18-computer/44828...rd?start=1210#282397

Unfortunately no, I had the original concept "working" on the STMF407 but it was just not fast enough to get the calculations done for all 6 axes within the servo thread period. The RT1052 is heaps faster.

The following user(s) said Thank You: virencq

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

More
24 Oct 2023 18:02 #283737 by virencq
Hello Dev,
In my running RPI Linuxcnc setup, I have Phase A and index only. I am not using full quadrature encoder mode.
So when I set in Remora config "setp encoder.0.counter-mode 1".(QEI encoder)
LinuxCNC throughs error pin setp encoder.0.counter-mode 1 not found.
How easy would it be to omit Phase B from the static branch 446

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

More
25 Oct 2023 02:42 #283763 by scotta
Hi,

This is not something that can be configured with the QEI driver. You would need to compile your own version.

In qeiDriver.cpp you would need to change the encoder mode configuration.

Line 55: Change to TIM_ENCODERMODE_TI1 or TIM_ENCODERMODE_TI2 to count only on one input.

See section 17.3.16 in the SMT32F4 manual.
The following user(s) said Thank You: virencq

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

More
27 Oct 2023 04:19 #283888 by Trihwangyudi1990
Maybe this dumb question, can we operate this with usb in bluepill?
I want to move from old bob with this... I still have an old pc with out db25 port..

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

More
27 Oct 2023 04:42 #283889 by cakeslob
Yes to bluepill, no to usb. You need to use a raspberry pi SPI

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

More
27 Oct 2023 05:05 - 27 Oct 2023 05:05 #283890 by Trihwangyudi1990
How about use w5500 to conect with spi??
Last edit: 27 Oct 2023 05:05 by Trihwangyudi1990.

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

More
27 Oct 2023 14:28 #283908 by cakeslob
In the future it is possible, but I have not been able to get it working yet with other boards
The following user(s) said Thank You: Trihwangyudi1990

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

More
28 Oct 2023 10:33 #283950 by Trihwangyudi1990

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

Time to create page: 0.189 seconds
Powered by Kunena Forum